Click or drag to resize
SoVolumeRenderDetailGetVoxelStyleAndIsoValue Method (SoVolumeDataDrawStyleDrawStyles, Double, Boolean)

Returns the style applied to the first non-transparent voxel (and its isovalue if the style is OIV.VolumeViz.Nodes.SoVolumeDataDrawStyle.DrawStyles.ISOSURFACE).

Namespace: OIV.VolumeViz.Details
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void GetVoxelStyleAndIsoValue(
	out SoVolumeDataDrawStyleDrawStyles style,
	out double iso,
	bool realValue
)

Parameters

style
Type: OIV.VolumeViz.NodesSoVolumeDataDrawStyleDrawStyles
iso
Type: SystemDouble
realValue
Type: SystemBoolean
Remarks

If realValue is true, VolumeViz will return the actual value from the full resolution data. Note that this may require a read from disk if full resolution data is not currently in memory. If false, VolumeViz will return the value from the (possibly subsampled) data currently in memory.

Caution note Caution

To use GPU picking, you must specify realValue = false.

See Also