VolRenderComposition Option

 

The VolRenderComposition option changes the method used to combine voxels along the viewing rays for VolRender. The OptionValue is 0, 1, or 2 for Maximum Intensity, Sum Intensity, or Alpha Blending.

 

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(“VolRenderComposition”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example changes the composition for volrender to Alpha Blending.

 

  CommandApi.Construct("ModifyModule")

  CommandApi.Option ("Module", "VolRender")

  CommandApi.Option ("VolRenderComposition", "2")

  CommandApi.Do()

 

Used by: VolRender module

 

 

See Also

Automation Model