Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoSliceDetail Class Reference

VolumeViz Base class for detail information about picking in a data volume. More...

#include <VolumeViz/details/SoSliceDetail.h>

+ Inheritance diagram for SoSliceDetail:

Public Member Functions

virtual SoType getTypeId () const
 Returns the type identifier for this specific instance.
 
 SoSliceDetail ()
 Constructor.
 
virtual ~SoSliceDetail ()
 Destructor.
 
virtual SoDetailcopy () const
 Returns an instance that is a copy of this instance.
 
const SbVec3fgetValueObjectPos () const
 
const SbVec3i32getValueDataPos () 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.
 

Detailed Description

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

  • 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, SoOrthoSliceDetail, SoObliqueSliceDetail, SoObliqueSlice, SoOrthoSlice

Definition at line 71 of file SoSliceDetail.h.

Constructor & Destructor Documentation

◆ SoSliceDetail()

SoSliceDetail::SoSliceDetail ( )

Constructor.

◆ ~SoSliceDetail()

virtual SoSliceDetail::~SoSliceDetail ( )
virtual

Destructor.

Member Function Documentation

◆ copy()

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.

◆ getClassTypeId()

static SoType SoSliceDetail::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getTypeId()

virtual SoType SoSliceDetail::getTypeId ( ) const
virtual

Returns the type identifier for this specific instance.

Implements SoTypedObject.

Reimplemented in SoObliqueSliceDetail, and SoOrthoSliceDetail.

◆ getValue()

int64_t SoSliceDetail::getValue ( ) const
Returns
the value of the picked voxel as an integer.

◆ getValueD()

double SoSliceDetail::getValueD ( ) const
Returns
the value of the picked voxel as a floating point value.

◆ getValueDataPos()

const SbVec3i32 & SoSliceDetail::getValueDataPos ( ) const
Returns
the position of the picked voxel in data coordinate space (I, J, K).

◆ getValueObjectPos()

const SbVec3f & SoSliceDetail::getValueObjectPos ( ) const
Returns
the position of the picked voxel in object coordinate space (X, Y, Z).

The documentation for this class was generated from the following file: