Class to encapsulate volume objects. More...
#include <cmtkVolumeWrapper.h>
Public Member Functions | |
UniformVolume::SmartPtr & | GetVolume () |
Get pointer to the actual current volume. | |
const UniformVolume * | GetVolume () const |
void | SetVolume (UniformVolume::SmartPtr &volume) |
Set new volume to encapsulate. | |
void | SetAffineXform (AffineXform::SmartPtr &affineXform) |
Set new affine transformation. | |
void | SetWarpXform (WarpXform::SmartPtr &warpXform) |
Set new deformation. | |
AffineXform::SmartPtr & | GetAffineXform () |
Get pointer to the affine transformation. | |
const AffineXform * | GetAffineXform () const |
WarpXform::SmartPtr & | GetWarpXform () |
Get pointer to the deformation. | |
Static Public Member Functions | |
static VolumeWrapper * | New () |
Create new wrapper object. | |
Protected Member Functions | |
VolumeWrapper () | |
Default constructor. | |
virtual | ~VolumeWrapper () |
Destructor. | |
Private Attributes | |
UniformVolume::SmartPtr | Volume |
Pointer to the encapsulated volume object. | |
AffineXform::SmartPtr | m_AffineXform |
The associated affine transformation. | |
WarpXform::SmartPtr | m_WarpXform |
The associated deformation. |
Class to encapsulate volume objects.
Depending on the particular geometry, volume data read from image files, for example, can be either uniform or non-uniform. In order to provide a single object to access data with varying structures, this class holds a pointer to a volume object that can be replaced by another object of potentially different structure. The instance of the wrapper class, however, remains the same so that client objects need not update their pointers.
Definition at line 61 of file cmtkVolumeWrapper.h.
AffineXform::SmartPtr& cmtk::VolumeWrapper::GetAffineXform | ( | ) | [inline] |
Get pointer to the affine transformation.
Definition at line 83 of file cmtkVolumeWrapper.h.
Referenced by cmtk::Slicer::Execute().
const AffineXform* cmtk::VolumeWrapper::GetAffineXform | ( | ) | const [inline] |
Definition at line 87 of file cmtkVolumeWrapper.h.
UniformVolume::SmartPtr& cmtk::VolumeWrapper::GetVolume | ( | ) | [inline] |
Get pointer to the actual current volume.
Definition at line 70 of file cmtkVolumeWrapper.h.
Referenced by cmtk::Slicer::Execute().
const UniformVolume* cmtk::VolumeWrapper::GetVolume | ( | ) | const [inline] |
Definition at line 71 of file cmtkVolumeWrapper.h.
WarpXform::SmartPtr& cmtk::VolumeWrapper::GetWarpXform | ( | ) | [inline] |
Get pointer to the deformation.
Definition at line 93 of file cmtkVolumeWrapper.h.
Referenced by cmtk::Slicer::Execute().
The associated affine transformation.
Definition at line 110 of file cmtkVolumeWrapper.h.
The associated deformation.
Definition at line 113 of file cmtkVolumeWrapper.h.
Pointer to the encapsulated volume object.
Definition at line 107 of file cmtkVolumeWrapper.h.