Click or drag to resize
SoVolumeDetailGetProfileValueD Method (Int32, SbVec3i32, SbVec3f, Boolean)

Returns the index'th value (as a double) and its position in object and data space.

Namespace: OIV.VolumeViz.Details
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public double GetProfileValueD(
	int index,
	out SbVec3i32 pos,
	out SbVec3f objPos,
	bool realValue
)

Parameters

index
Type: SystemInt32
pos
Type: OIV.InventorSbVec3i32
objPos
Type: OIV.InventorSbVec3f
realValue
Type: SystemBoolean

Return Value

Type: Double
Remarks

The number of values along the profile can be queried using the OIV.VolumeViz.Details.SoVolumeDetail.GetProfileDataPos(OIV.Inventor.SbVec3i32[]) method. However index is automatically clamped to the valid range of values.

If realValue 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