Stores detail information about a picked voxel or pick ray in a data volume. More...
#include <VolumeViz/details/SoFenceSliceDetail.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoFenceSliceDetail () | |
virtual | ~SoFenceSliceDetail () |
virtual SoDetail * | copy () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
A successful pick operation returns an SoPickedPoint object. If the picked geometry is an SoFenceSlice node, use the getDetail method and cast the result to this class to get extra information about the pick.
SoFenceSliceDetail 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 the XYZ position in 3D space, IJK location in voxels and the data value. See method getFirstNonTransparentValue().
For the profile defined by all the intersected voxels, it returns:
Notes:
Limitations:
SoDetail, SoVolumeDetail, SoFenceSlice
SoFenceSliceDetail::SoFenceSliceDetail | ( | ) |
Constructor.
virtual SoFenceSliceDetail::~SoFenceSliceDetail | ( | ) | [virtual] |
Destructor.
virtual SoDetail* SoFenceSliceDetail::copy | ( | ) | const [virtual] |
Returns an instance that is a copy of this instance. The caller is responsible for deleting the copy when it is no longer needed.
Reimplemented from SoVolumeDetail.
static SoType SoFenceSliceDetail::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVolumeDetail.
virtual SoType SoFenceSliceDetail::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVolumeDetail.