The VolRenderDrawStyle option changes the rendering method for the VolRender. The OptionValue is 0 or 1 for 2D Textures or 3D Textures.
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(“VolRenderDrawStyle”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the rendering method to 3D Textures.
CommandApi.Construct("ModifyModule")
CommandApi.Option ("Module", "VolRender")
CommandApi.Option ("VolRenderDrawStyle", "1")
CommandApi.Do()
Used by: VolRender module
See Also