Click or drag to resize
SoVolumeRenderingSetWriteAlternateRep Method

Sets the writeAlternateRep flag.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.1.1.0 (2024.1.1)
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