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

Returns the integer 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: 10.12.3.0 (10.12.3.0)
Syntax
public virtual bool GetFirstNonTransparentValue(
	out long value,
	out SbVec3i32 pos,
	out SbVec3f objPos,
	bool realValue
)

Parameters

value
Type: SystemInt64
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