Public Types | Public Member Functions | Private Member Functions | Private Attributes

cmtk::TransformedVolumeAxes Class Reference
[cmtkBase Library]

Class that represents pre-transformed axes samples for 3D volumes. More...

#include <cmtkTransformedVolumeAxes.h>

Collaboration diagram for cmtk::TransformedVolumeAxes:
Collaboration graph
[legend]

List of all members.

Public Types

typedef TransformedVolumeAxes Self
 This class.
typedef SmartPointer< SelfSmartPtr
 Smart pointer to this class.

Public Member Functions

 TransformedVolumeAxes (const UniformVolume &volume, const AffineXform *xform=NULL, const Types::Coordinate *deltas=NULL, const Types::Coordinate *otherOrigin=NULL)
 Constructor using affine transformation.
 TransformedVolumeAxes (const UniformVolume &volume, const ParametricPlane &mirrorPlane, const Types::Coordinate *deltas=NULL)
 Constructor using mirror plane.
 ~TransformedVolumeAxes ()
 Free all storage.
const Vector3Doperator[] (const size_t index) const
 Access operator.
const FixedVector< 3, int > & Dims () const
 Get dimensions.

Private Member Functions

void MakeHash (const UniformVolume &volume, const UniformVolume::SpaceVectorType &offset, const UniformVolume::SpaceVectorType &dX, const UniformVolume::SpaceVectorType &dY, const UniformVolume::SpaceVectorType &dZ)
 Create the actual hash: allocate and fill according to given offset and delta vectors.

Private Attributes

FixedVector
< 3, UniformVolume::SpaceVectorType * > 
m_Hash
 Array of pointers to transformed axes points.
FixedVector< 3, int > m_Dims
 Dimensions of the transformed grid: numbers of samples per axis.

Detailed Description

Class that represents pre-transformed axes samples for 3D volumes.

This class generates an array of 3D coordinate vectors for each of the three coordinate axes X, Y, and Z. These arrays contain direction vectors that directly point to the coordinate of every sample on the respective axis. These vectors are computed with respect to the object's coordinate transformation as well as a second Volume's transformation and coordinate offset. The Z-axis array contains this Volume's coordinate offset as defined by the transformation translation component as well. The vectors from the arrays can therefore directly be used for probing the other Volume using the ProbeNoXform member function.

Definition at line 61 of file cmtkTransformedVolumeAxes.h.


Member Typedef Documentation

This class.

Definition at line 65 of file cmtkTransformedVolumeAxes.h.

Smart pointer to this class.

Definition at line 68 of file cmtkTransformedVolumeAxes.h.


Member Function Documentation

const FixedVector<3,int>& cmtk::TransformedVolumeAxes::Dims (  ) const [inline]

Get dimensions.

Definition at line 112 of file cmtkTransformedVolumeAxes.h.

const Vector3D* cmtk::TransformedVolumeAxes::operator[] ( const size_t  index ) const [inline]

Access operator.

Definition at line 106 of file cmtkTransformedVolumeAxes.h.


Member Data Documentation

Dimensions of the transformed grid: numbers of samples per axis.

Definition at line 122 of file cmtkTransformedVolumeAxes.h.

Array of pointers to transformed axes points.

Definition at line 119 of file cmtkTransformedVolumeAxes.h.


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