The VolRenderColormap option changes the color map for VolRender. The OptionValue is a colormap name.
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(“VolRenderColormap”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the color map to Rainbow.
CommandApi.Construct("ModifyModule")
CommandApi.Option ("Module", "VolRender")
CommandApi.Option ("VolRenderColormap", "Rainbow")
CommandApi.Do()
Used by: VolRender module
See Also