Click or drag to resize
SoVolumeRenderingSetWriteAlternateRep Method

Sets the writeAlternateRep flag.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public static void SetWriteAlternateRep(
	bool flag
)

Parameters

flag
Type: SystemBoolean
Remarks

When this flag is true during an OIV.Inventor.Actions.SoWriteAction traversal, some VolumeViz nodes will write an alternateRep subgraph containing only standard Open Inventor nodes that can be rendered even without VolumeViz. For example, OIV.VolumeViz.Nodes.SoOrthoSlice will write an OIV.Inventor.Nodes.SoTexture2 node and an OIV.Inventor.Nodes.SoFaceSet node. The default is false.

See Also