Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes

cmtk::VolumeWrapper Class Reference
[cmtkPipeline Library]

Class to encapsulate volume objects. More...

#include <cmtkVolumeWrapper.h>

Inheritance diagram for cmtk::VolumeWrapper:
Inheritance graph
[legend]
Collaboration diagram for cmtk::VolumeWrapper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

UniformVolume::SmartPtrGetVolume ()
 Get pointer to the actual current volume.
const UniformVolumeGetVolume () 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::SmartPtrGetAffineXform ()
 Get pointer to the affine transformation.
const AffineXformGetAffineXform () const
WarpXform::SmartPtrGetWarpXform ()
 Get pointer to the deformation.

Static Public Member Functions

static VolumeWrapperNew ()
 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.

Detailed Description

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.


Member Function Documentation

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().


Member Data Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines