Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::CenteredAffineTransform< TScalarType, NDimensions > Class Template Reference
[Transforms]

Affine transformation with a specified center of rotation. More...

#include <itkCenteredAffineTransform.h>

Inheritance diagram for itk::CenteredAffineTransform< TScalarType, NDimensions >:

Inheritance graph
[legend]
Collaboration diagram for itk::CenteredAffineTransform< TScalarType, NDimensions >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef CenteredAffineTransform Self
typedef AffineTransform< TScalarType,
NDimensions > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::ParametersType ParametersType
typedef Superclass::JacobianType JacobianType
typedef Superclass::ScalarType ScalarType
typedef Superclass::InputVectorType InputVectorType
typedef Superclass::OutputVectorType OutputVectorType
typedef Superclass::InputCovariantVectorType InputCovariantVectorType
typedef Superclass::OutputCovariantVectorType OutputCovariantVectorType
typedef Superclass::InputVnlVectorType InputVnlVectorType
typedef Superclass::OutputVnlVectorType OutputVnlVectorType
typedef Superclass::InputPointType InputPointType
typedef Superclass::OutputPointType OutputPointType
typedef Superclass::MatrixType MatrixType
typedef Superclass::OffsetType OffsetType

Public Member Functions

virtual const char * GetClassName () const
void SetIdentity (void)
CenteredAffineTransform::Pointer Inverse (void) const
void PrintSelf (std::ostream &s, Indent indent) const
const JacobianTypeGetJacobian (const InputPointType &point) const
virtual void ComputeOffset (void)
 itkStaticConstMacro (SpaceDimension, unsigned int, NDimensions)
 itkStaticConstMacro (ParametersDimension, unsigned int, NDimensions *(NDimensions+2))
void SetParameters (const ParametersType &parameters)
const ParametersTypeGetParameters (void) const
void SetCenter (const InputPointType &center)
virtual const InputPointTypeGetCenter ()
void SetTranslation (const OutputVectorType &translation)
virtual const OutputVectorTypeGetTranslation ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 CenteredAffineTransform ()
virtual ~CenteredAffineTransform ()

Detailed Description

template<class TScalarType = double, unsigned int NDimensions = 3>
class itk::CenteredAffineTransform< TScalarType, NDimensions >

Affine transformation with a specified center of rotation.

This class implements an Affine transform in which the rotation center can be explicitly selected. Note that the method "ComputeOffset()" must be called just before using the transform for mapping points, vectors or covariantvectors. This is necessary for updating the offset of the transform taking into account the center of rotation.

Definition at line 44 of file itkCenteredAffineTransform.h.


Member Typedef Documentation

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef SmartPointer<const Self> itk::CenteredAffineTransform< TScalarType, NDimensions >::ConstPointer
 

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 51 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::InputCovariantVectorType itk::CenteredAffineTransform< TScalarType, NDimensions >::InputCovariantVectorType
 

Standard covariant vector type for this class

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 72 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::InputPointType itk::CenteredAffineTransform< TScalarType, NDimensions >::InputPointType
 

Standard coordinate point type for this class

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 76 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::InputVectorType itk::CenteredAffineTransform< TScalarType, NDimensions >::InputVectorType
 

Standard vector type for this class

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 70 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::InputVnlVectorType itk::CenteredAffineTransform< TScalarType, NDimensions >::InputVnlVectorType
 

Standard vnl_vector type for this class

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 74 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::JacobianType itk::CenteredAffineTransform< TScalarType, NDimensions >::JacobianType
 

Jacobian Type

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 68 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::MatrixType itk::CenteredAffineTransform< TScalarType, NDimensions >::MatrixType
 

Standard matrix type for this class

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 78 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::OffsetType itk::CenteredAffineTransform< TScalarType, NDimensions >::OffsetType
 

Standard offset type for this class

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 79 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::OutputCovariantVectorType itk::CenteredAffineTransform< TScalarType, NDimensions >::OutputCovariantVectorType
 

Standard covariant vector type for this class

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 73 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::OutputPointType itk::CenteredAffineTransform< TScalarType, NDimensions >::OutputPointType
 

Standard coordinate point type for this class

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 77 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::OutputVectorType itk::CenteredAffineTransform< TScalarType, NDimensions >::OutputVectorType
 

Standard vector type for this class

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 71 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::OutputVnlVectorType itk::CenteredAffineTransform< TScalarType, NDimensions >::OutputVnlVectorType
 

Standard vnl_vector type for this class

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 75 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::ParametersType itk::CenteredAffineTransform< TScalarType, NDimensions >::ParametersType
 

Types taken from the Superclass

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 67 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef SmartPointer<Self> itk::CenteredAffineTransform< TScalarType, NDimensions >::Pointer
 

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 50 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::ScalarType itk::CenteredAffineTransform< TScalarType, NDimensions >::ScalarType
 

Standard scalar type for this class

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 69 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef CenteredAffineTransform itk::CenteredAffineTransform< TScalarType, NDimensions >::Self
 

Standard typedefs

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 48 of file itkCenteredAffineTransform.h.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef AffineTransform< TScalarType, NDimensions > itk::CenteredAffineTransform< TScalarType, NDimensions >::Superclass
 

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

Definition at line 49 of file itkCenteredAffineTransform.h.


Constructor & Destructor Documentation

template<class TScalarType = double, unsigned int NDimensions = 3>
itk::CenteredAffineTransform< TScalarType, NDimensions >::CenteredAffineTransform  )  [protected]
 

Construct an CenteredAffineTransform object *

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual itk::CenteredAffineTransform< TScalarType, NDimensions >::~CenteredAffineTransform  )  [protected, virtual]
 

Destroy an CenteredAffineTransform object *


Member Function Documentation

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::CenteredAffineTransform< TScalarType, NDimensions >::ComputeOffset void   )  [virtual]
 

Compute the offset using the rotation center, the matrix and the final translation. This method MUST be called before using the transform for any mapping.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual const InputPointType& itk::CenteredAffineTransform< TScalarType, NDimensions >::GetCenter  )  [virtual]
 

Set and Get the center of rotation

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual const char* itk::CenteredAffineTransform< TScalarType, NDimensions >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

template<class TScalarType = double, unsigned int NDimensions = 3>
const JacobianType& itk::CenteredAffineTransform< TScalarType, NDimensions >::GetJacobian const InputPointType point  )  const [virtual]
 

Compute the Jacobian of the transformation

This method computes the Jacobian matrix of the transformation. given point or vector, returning the transformed point or vector. The rank of the Jacobian will also indicate if the transform is invertible at this point.

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

template<class TScalarType = double, unsigned int NDimensions = 3>
const ParametersType& itk::CenteredAffineTransform< TScalarType, NDimensions >::GetParameters void   )  const [virtual]
 

Set/Get the transformation from a container of parameters. The first (NDimension x NDimension) parameters define the matrix, the next N parameters define the center of rotation and the last N parameters define the translation to be applied after the coordinate system has been restored to the rotation center. Note that the Offset of the superclass is no longer in the parameters array since it is fully dependent on the rotation center and the translation parameters.

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual const OutputVectorType& itk::CenteredAffineTransform< TScalarType, NDimensions >::GetTranslation  )  [virtual]
 

Set and Get the Translation to be applied after rotation

template<class TScalarType = double, unsigned int NDimensions = 3>
CenteredAffineTransform::Pointer itk::CenteredAffineTransform< TScalarType, NDimensions >::Inverse void   )  const
 

Find inverse of an affine transformation

This method creates and returns a new CenteredAffineTransform object which is the inverse of self. If self is not invertible, an exception is thrown. *

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

template<class TScalarType = double, unsigned int NDimensions = 3>
itk::CenteredAffineTransform< TScalarType, NDimensions >::itkStaticConstMacro ParametersDimension  ,
unsigned  int,
NDimensions *  (NDimensions+2)
 

Dimension of the domain space.

template<class TScalarType = double, unsigned int NDimensions = 3>
itk::CenteredAffineTransform< TScalarType, NDimensions >::itkStaticConstMacro SpaceDimension  ,
unsigned  int,
NDimensions 
 

Dimension of the domain space.

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

template<class TScalarType = double, unsigned int NDimensions = 3>
Pointer itk::CenteredAffineTransform< TScalarType, NDimensions >::New  )  [static]
 

New macro for creation of through a Smart Pointer

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

template<class TScalarType = double, unsigned int NDimensions = 3>
void itk::CenteredAffineTransform< TScalarType, NDimensions >::PrintSelf std::ostream &  s,
Indent  indent
const [virtual]
 

Print contents of an CenteredAffineTransform

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

template<class TScalarType = double, unsigned int NDimensions = 3>
void itk::CenteredAffineTransform< TScalarType, NDimensions >::SetCenter const InputPointType center  ) 
 

Set and Get the center of rotation

template<class TScalarType = double, unsigned int NDimensions = 3>
void itk::CenteredAffineTransform< TScalarType, NDimensions >::SetIdentity void   ) 
 

Set the transformation to an Identity

This sets the matrix to identity and the Offset to null.

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

template<class TScalarType = double, unsigned int NDimensions = 3>
void itk::CenteredAffineTransform< TScalarType, NDimensions >::SetParameters const ParametersType parameters  )  [virtual]
 

Set/Get the transformation from a container of parameters. The first (NDimension x NDimension) parameters define the matrix, the next N parameters define the center of rotation and the last N parameters define the translation to be applied after the coordinate system has been restored to the rotation center. Note that the Offset of the superclass is no longer in the parameters array since it is fully dependent on the rotation center and the translation parameters.

Reimplemented from itk::AffineTransform< TScalarType, NDimensions >.

template<class TScalarType = double, unsigned int NDimensions = 3>
void itk::CenteredAffineTransform< TScalarType, NDimensions >::SetTranslation const OutputVectorType translation  ) 
 

Set and Get the Translation to be applied after rotation


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 02:59:25 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000