Click or drag to resize
SoVolumeDetailGetFirstNonTransparentValue Method (Double, SbVec3i32, SbVec3f, Boolean)

Returns the floating point value of the first non-transparent voxel along the pick ray (if any) and its position in object and data space.

Namespace: OIV.VolumeViz.Details
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public virtual bool GetFirstNonTransparentValue(
	out double value,
	out SbVec3i32 pos,
	out SbVec3f objPos,
	bool realValue
)

Parameters

value
Type: SystemDouble
pos
Type: OIV.InventorSbVec3i32
objPos
Type: OIV.InventorSbVec3f
realValue
Type: SystemBoolean

Return Value

Type: Boolean
Remarks

Returns false if not found.

If the realValue parameter is true, VolumeViz will return the actual voxel 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 voxel value from the (possibly subsampled) data currently in memory.

Caution note Caution

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

See Also