SoSliceDetail Class Reference
[Details]

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

#include <VolumeViz/details/SoSliceDetail.h>

Inheritance diagram for SoSliceDetail:
SoDetail SoTypedObject SoObliqueSliceDetail SoOrthoSliceDetail

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoSliceDetail ()
virtual ~SoSliceDetail ()
virtual SoDetailcopy () const
const SbVec3fgetValueObjectPos () const
const SbVec3i32getValueDataPos () const
int64_t getValue () const
double getValueD () const

Static Public Member Functions

static SoType getClassTypeId ()

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:

SEE ALSO

SoDetail, SoOrthoSliceDetail, SoObliqueSliceDetail, SoObliqueSlice, SoOrthoSlice


Constructor & Destructor Documentation

SoSliceDetail::SoSliceDetail (  ) 

Constructor.

virtual SoSliceDetail::~SoSliceDetail (  )  [virtual]

Destructor.


Member Function Documentation

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
Returns:
the value of the picked voxel as an integer.
double SoSliceDetail::getValueD (  )  const
Returns:
the value of the picked voxel as a floating point value.
const SbVec3i32& SoSliceDetail::getValueDataPos (  )  const
Returns:
the position of the picked voxel in data coordinate space (I, J, K).
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:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/