The VolRenderNumSlices option changes the number of slices being drawn through the VolRender. The OptionValue is an integer number, between 0 and 512. This option is only available if VolRenderDrawStyle is set to 1.
Syntax
object.Construct(“CreateModule”)
object.Option(“SourceModule”, “data file name”)
object.Option(“Type”, “VolRender”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “VolRender”)
object.Option(“VolRenderNumSlices”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the number of slices drawn using 3D Textures.
CommandApi.Construct("ModifyModule")
CommandApi.Option ("Module", "VolRender")
CommandApi.Option ("VolRenderNumSlices","200")
CommandApi.Do()
Used by: VolRender module
See Also