Click or drag to resize
SoOrthoSliceenableImage Property

Enables drawing the slice image.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public SoSFBool enableImage { get; }

Property Value

Type: SoSFBool
Remarks

Default is true. Note that setting this field to false makes the slice image invisible, but the slice is still detectable by picking if the border is enabled.

Example of a typical use case : The folling code shows how to use a boolean engine to disable the image rendering while dragging.

SoBoolOperation engine = new SoBoolOperation();
engine.a.ConnectFrom(dragger.isActive);
orthoslice.enableImage.ConnectFrom(engine.inverse);

Another typical usecase is if you want to display the slice image in a 2D view and also show only the slice position in a 3D view (without the slice image).

Note Note

Field available since Open Inventor 10.10

See Also