Pre-compute transformation for grid locations in a uniform volume. More...
#include <cmtkAffineXformUniformVolume.h>
Public Types | |
typedef AffineXformUniformVolume | Self |
This class. | |
typedef XformUniformVolume | Superclass |
Parent class. | |
typedef SmartPointer< Self > | SmartPtr |
Smart pointer to this class. | |
typedef SmartConstPointer< Self > | SmartConstPtr |
Smart pointer-to-const to this class. | |
Public Member Functions | |
AffineXformUniformVolume (const UniformVolume &volume, const AffineXform &xform) | |
Constructor. | |
virtual | ~AffineXformUniformVolume () |
Virtual destructor. | |
virtual void | GetTransformedGrid (Vector3D &v, const int idxX, const int idxY, const int idxZ) const |
Get transformed location of linked grid pixel. | |
virtual void | GetTransformedGridRow (Vector3D *const v, const size_t numPoints, const int idxX, const int idxY, const int idxZ) const |
Get transformed locations of a series (scanline) of linked grid pixels. | |
Private Attributes | |
std::vector< Vector3D > | m_VolumeAxesX |
Axes hash for the points of a registered Volume. | |
std::vector< Vector3D > | m_VolumeAxesY |
std::vector< Vector3D > | m_VolumeAxesZ |
Pre-compute transformation for grid locations in a uniform volume.
Definition at line 50 of file cmtkAffineXformUniformVolume.h.
This class.
Reimplemented from cmtk::XformUniformVolume.
Definition at line 56 of file cmtkAffineXformUniformVolume.h.
Smart pointer-to-const to this class.
Reimplemented from cmtk::XformUniformVolume.
Definition at line 65 of file cmtkAffineXformUniformVolume.h.
Smart pointer to this class.
Reimplemented from cmtk::XformUniformVolume.
Definition at line 62 of file cmtkAffineXformUniformVolume.h.
Parent class.
Definition at line 59 of file cmtkAffineXformUniformVolume.h.
cmtk::AffineXformUniformVolume::AffineXformUniformVolume | ( | const UniformVolume & | volume, |
const AffineXform & | xform | ||
) |
Constructor.
Definition at line 35 of file cmtkAffineXformUniformVolume.cxx.
References cmtk::AffineXform::ApplyInPlace(), cmtk::UniformVolume::m_Delta, cmtk::DataGrid::m_Dims, m_VolumeAxesX, m_VolumeAxesY, and m_VolumeAxesZ.
virtual cmtk::AffineXformUniformVolume::~AffineXformUniformVolume | ( | ) | [inline, virtual] |
Virtual destructor.
Definition at line 71 of file cmtkAffineXformUniformVolume.h.
virtual void cmtk::AffineXformUniformVolume::GetTransformedGrid | ( | Vector3D & | v, |
const int | idxX, | ||
const int | idxY, | ||
const int | idxZ | ||
) | const [inline, virtual] |
Get transformed location of linked grid pixel.
Implements cmtk::XformUniformVolume.
Definition at line 75 of file cmtkAffineXformUniformVolume.h.
virtual void cmtk::AffineXformUniformVolume::GetTransformedGridRow | ( | Vector3D *const | v, |
const size_t | numPoints, | ||
const int | idxX, | ||
const int | idxY, | ||
const int | idxZ | ||
) | const [inline, virtual] |
Get transformed locations of a series (scanline) of linked grid pixels.
Implements cmtk::XformUniformVolume.
Definition at line 84 of file cmtkAffineXformUniformVolume.h.
std::vector<Vector3D> cmtk::AffineXformUniformVolume::m_VolumeAxesX [private] |
Axes hash for the points of a registered Volume.
Definition at line 98 of file cmtkAffineXformUniformVolume.h.
Referenced by AffineXformUniformVolume().
std::vector<Vector3D> cmtk::AffineXformUniformVolume::m_VolumeAxesY [private] |
Definition at line 100 of file cmtkAffineXformUniformVolume.h.
Referenced by AffineXformUniformVolume().
std::vector<Vector3D> cmtk::AffineXformUniformVolume::m_VolumeAxesZ [private] |
Definition at line 102 of file cmtkAffineXformUniformVolume.h.
Referenced by AffineXformUniformVolume().