public class SoVolumeRenderDetail extends SoVolumeDetail
SoPickedPoint
object. If the picked geometry is an SoVolumeRender
node, use the getDetail method and cast the result to this class to get extra information about the the pick.
SoVolumeRenderDetail
returns information about the first (closest) non-transparent voxel along the pick ray and/or information about all the voxels intersected by the pick ray (called a profile). For the first non-transparent voxel (if any) on the pick ray, it returns XYZ position, IJK location, and data value. For the profile defined by all the intersected voxels, it returns:
Use the methods in SoVolumeDetail
to get information about the data values of the picked voxels. Use the getRgba... methods in this class to get information about the mapped RGBA colors of the picked voxels. Because these methods return colors, they always return information based on the (possibly subsampled) tiles currently in memory.
GPU picking: Please see the discussion of GPU picking in SoVolumeDetail
.
Limitations:
SoMultiDataSeparator
, the detail class only returns values for the first volume in the scene graph.
See also:
SoVolumeDetail.ProfileValue, SoVolumeDetail.ProfileValueD, SoVolumeDetail.TransparentDoubleValue, SoVolumeDetail.TransparentLongValue
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoVolumeRenderDetail()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SoDetail |
copy()
Returns an instance that is a copy of this instance.
|
long |
getMaskCount()
Calls getMaskCount(false).
|
long |
getMaskCount(boolean realValue)
Returns the number of volume masks applied to the first non-transparent voxel.
|
java.util.ArrayList<SoLDMTileID> |
getRgbaValuesTileIds()
Returns the tileID of each voxel intersected by the pick ray.
|
getFirstNonTransparentDoubleValue, getFirstNonTransparentDoubleValue, getFirstNonTransparentValue, getFirstNonTransparentValue, getProfileDataPos, getProfileNumValues, getProfileObjectPos, getProfileValue, getProfileValue, getProfileValueD, getProfileValueD, setDetails
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public long getMaskCount()
public SoDetail copy()
copy
in class SoVolumeDetail
public java.util.ArrayList<SoLDMTileID> getRgbaValuesTileIds()
public long getMaskCount(boolean realValue)
Warning To use GPU picking, you must specify realValue = false.
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com