ObliqueSlice

 

The ObliqueImage module is created with the CreateModule command by setting the Type to ObliqueImage. The properties of the ObliqueImage are altered with the ModifyModule command. This is similar to the Network | Graphics Output | ObliqueImage command.

 

Module Type

ObliqueImage

 

Syntax

object.Construct(“CreateModule”)

object.Option(“Type”, “ObliqueImage”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “ObliqueImage”)

object.Option(“Option_Name”, “OptionValue”)

object.Do() or object.DoOnce()

 

Option Name

ObliqueSliceComponent

ObliqueSliceResolution

ObliqueSliceInterp

ObliqueSliceLighting

ObliqueSliceOpacity

ObliqueSliceMapping

ObliqueSliceMapWidth

ObliqueSliceMapCenter

ObliqueSliceColormap

ObliqueSliceLabelFormatType

ObliqueSliceLabelFormatNumDigits

ObliqueSliceLabelFormatPrefix

ObliqueSliceLabelFormatPostfix

ObliqueSliceLegendEnable

ObliqueSliceLegendOrientation

ObliqueSliceLegendXPos

ObliqueSliceLegendYPos

ObliqueSliceLegendWidth

ObliqueSliceLegendLength

ObliqueSliceLegendTitle

ObliqueSliceLegendTitleHeight

ObliqueSliceLegendNumLabels

ObliqueSliceLegendUseCustomLabels

ObliqueSliceLegendCustomLabels

ObliqueSliceLegendLabelHeight

ObliqueSliceLegendFont

ObliqueSliceLegendAntialias

ObliqueSliceLegendFGColor

ObliqueSliceLegendBGColor

ObliqueSliceLegendShowBackground

ObliqueSlicePlaneOrientation

ObliqueSlicePlaneXNormal

ObliqueSlicePlaneYNormal

ObliqueSlicePlaneZNormal

ObliqueSlicePlaneOffset

ObliqueSlicePlaneShowDragger

 

Example

This example shows how to import a file and create an oblique image from it.  

 

Sub Main

 'Declares VoxlerApp as an object

  Dim VoxlerApp As Object

 

 'Creates an instance of the Voxler application object

 'and assigns it to the variable named "VoxlerApp"

  Set VoxlerApp = CreateObject("Voxler.Application")

 

 'Make Voxler visible

  VoxlerApp.Visible = True

 

 'Access CommandApi

  Set CommandApi = VoxlerApp.CommandApi

 

 'Create a new Voxler document

  CommandApi.Construct ("New")

  CommandApi.DoOnce()

 

 'Import an image file

  CommandApi.Construct ("Import")

  CommandApi.Option ("Path", "c:\Program Files\Golden Software\Voxler 4\Samples\Jaw.vdat")

  CommandApi.Option ("Filter", "vdat")

  CommandApi.Do()

 

 'Create a oblique image and attach it to the data

  CommandApi.Construct ("CreateModule")

  CommandApi.Option ("Type", "ObliqueImage")

  CommandApi.Option ("AutoConnect", "True")

  CommandApi.Option ("SourceModule", "Jaw.vdat")

  CommandApi.Do()

 

End Sub

 

Used by:  CommandApi object, CreateModule, ModifyModule

 

 

See Also

Automation Model

Automation Example - ObliqueImage