Base class for detail information about picking in a data volume. More...
#include <VolumeViz/details/SoSliceDetail.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
Returns the type identifier for this specific instance. | |
SoSliceDetail () | |
Constructor. | |
virtual | ~SoSliceDetail () |
Destructor. | |
virtual SoDetail * | copy () const |
Returns an instance that is a copy of this instance. | |
const SbVec3f & | getValueObjectPos () const |
const SbVec3i32 & | getValueDataPos () const |
int64_t | getValue () const |
double | getValueD () const |
Public Member Functions inherited from SoTypedObject | |
SbBool | isOfType (const SoType &type) const |
Returns TRUE if this object is of the type specified in type or is derived from that type. | |
template<typename TypedObjectClass > | |
SbBool | isOfType () const |
Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class. | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
Static Public Member Functions inherited from SoDetail | |
static SoType | getClassTypeId () |
Returns type identifier for this class. | |
Static Public Member Functions inherited from SoTypedObject | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
Base class for detail information about picking in a data volume.
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
Definition at line 71 of file SoSliceDetail.h.
SoSliceDetail::SoSliceDetail | ( | ) |
Constructor.
|
virtual |
Destructor.
|
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 |
Returns the type identifier for this class.
|
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 |