Base class for detail information about picking in a data volume. More...
#include <VolumeViz/details/SoSliceDetail.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoSliceDetail () | |
virtual | ~SoSliceDetail () |
virtual SoDetail * | copy () const |
const SbVec3f & | getValueObjectPos () const |
const SbVec3i32 & | getValueDataPos () const |
int64_t | getValue () const |
double | getValueD () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
A successful pick operation returns an SoPickedPoint object. If the picked geometry is an SoOrthoSliceDetail or SoObliqueSliceDetail, use the getDetail method and cast the result to the appropriate class (SoOrthoSliceDetail or SoObliqueSliceDetail) to get extra information about the location of the pick.
SoSliceDetail contains detail information about a picked voxel on an ortho or oblique slice. The information includes the position of the picked voxel in object coordinate space (X, Y, Z) and data coordinate space (I, J, K), as well as the value of the picked voxel.
Limitations:
SoDetail, SoOrthoSliceDetail, SoObliqueSliceDetail, SoObliqueSlice, SoOrthoSlice
SoSliceDetail::SoSliceDetail | ( | ) |
Constructor.
virtual SoSliceDetail::~SoSliceDetail | ( | ) | [virtual] |
Destructor.
virtual SoDetail* SoSliceDetail::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.
Implements SoDetail.
Reimplemented in SoObliqueSliceDetail, and SoOrthoSliceDetail.
static SoType SoSliceDetail::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoDetail.
Reimplemented in SoObliqueSliceDetail, and SoOrthoSliceDetail.
virtual SoType SoSliceDetail::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
Reimplemented in SoObliqueSliceDetail, and SoOrthoSliceDetail.
int64_t SoSliceDetail::getValue | ( | ) | const |
double SoSliceDetail::getValueD | ( | ) | const |
const SbVec3i32& SoSliceDetail::getValueDataPos | ( | ) | const |
const SbVec3f& SoSliceDetail::getValueObjectPos | ( | ) | const |