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
public double GetProfileValueD( int index, out SbVec3i32 pos, out SbVec3f objPos, bool realValue )
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 |
---|
To use GPU picking, you must specify realValue = false. |