Class SoVolumeSkinDetail


  • public class SoVolumeSkinDetail
    extends SoVolumeDetail
    Stores detail information about a picked voxel or pick ray in a data volume. A successful pick operation returns an SoPickedPoint object. If the picked geometry is an SoVolumeSkin node, use the getDetail method and cast the result to this class to get extra information about the the pick.

    SoVolumeSkinDetail 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:

    • Profile position in object space (two XYZ points)
    • Profile location in the data volume (two IJK indices)
    • Number of values along the profile
    • Each voxel value and corresponding IJK location

    Limitations:

    • If multiple volumes are being combined under an SoMultiDataSeparator, the detail class only returns values for the first volume in the scene graph.

    See Also:
    SoDetail, SoVolumeDetail, SoVolumeSkin
    • Constructor Detail

      • SoVolumeSkinDetail

        public SoVolumeSkinDetail()
        Constructor.
    • Method Detail

      • copy

        public SoDetail copy()
        Returns an instance that is a copy of this instance. The caller is responsible for deleting the copy when it is no longer needed.
        Overrides:
        copy in class SoVolumeDetail