Click or drag to resize
SoVolumeRenderNumSlicesControls Enumeration

Number of samples control mode.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public enum NumSlicesControls
Members
  Member nameValueDescription
ALL0

Use all samples The number of samples depends on the viewing direction.

MANUAL1

Use the number of samples specified by the OIV.VolumeViz.Nodes.SoVolumeRender.numSlices field.

The number of samples does not depend on the viewing direction.

AUTOMATIC2

(Recommended) Use a number of samples computed as follows: If numSlices is greater than zero, then n = complexity * 2 * numSlices where complexity comes from the value of field OIV.Inventor.Nodes.SoComplexity.value and numSlices comes from the OIV.VolumeViz.Nodes.SoVolumeRender.numSlices field.

The number of samples does not depend on the viewing direction.

If numSlices is any value less than or equal to 0, the dimension of the volume data is used instead of numSlices, so n = complexity * 2 * volumeDimension The number of samples depends on the viewing direction.

The factor 2 is used because by default complexity is equal to 0.5. So, by default, the behavior for numSlices greater than zero is the same as MANUAL and the default behavior for numSlices less than or equal to zero is the same as ALL. You can increase the complexity up to 1.0, which would double the number of samples used. You can decrease the complexity to reduce the number of samples used. The global alpha is corrected so that the brightness looks the same.

MAIN_AXIS3

Use a number of samples computed as follows: n = complexity * 2 * volumeDataDimension[mainVisibleAxis] where complexity comes from the value of field OIV.Inventor.Nodes.SoComplexity.value.

The number of samples depends on the viewing direction.

Note Note

Enum available since Open Inventor 8.1

Remarks
See Also