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

itk::Rigid2DTransform< TScalarType > Class Template Reference
[Transforms]

Rigid2DTransform of a vector space (e.g. space coordinates). More...

#include <itkRigid2DTransform.h>

Inheritance diagram for itk::Rigid2DTransform:

Inheritance graph
[legend]
Collaboration diagram for itk::Rigid2DTransform< TScalarType >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Rigid2DTransform Self
typedef Transform< TScalarType, 2, 2 > Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::ScalarType ScalarType
typedef Superclass::ParametersType ParametersType
typedef Superclass::JacobianType JacobianType
typedef Matrix< ScalarType,
itkGetStaticConstMacro(InputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension) 
MatrixType )
typedef Vector< TScalarType,
itkGetStaticConstMacro(InputSpaceDimension) 
OffsetType )
typedef Vector< TScalarType,
itkGetStaticConstMacro(InputSpaceDimension) 
InputVectorType )
typedef Vector< TScalarType,
itkGetStaticConstMacro(OutputSpaceDimension) 
OutputVectorType )
typedef CovariantVector< TScalarType,
itkGetStaticConstMacro(InputSpaceDimension) 
InputCovariantVectorType )
typedef CovariantVector< TScalarType,
itkGetStaticConstMacro(OutputSpaceDimension) 
OutputCovariantVectorType )
typedef vnl_vector_fixed<
TScalarType, itkGetStaticConstMacro(InputSpaceDimension) 
InputVnlVectorType )
typedef vnl_vector_fixed<
TScalarType, itkGetStaticConstMacro(OutputSpaceDimension) 
OutputVnlVectorType )
typedef Point< TScalarType,
itkGetStaticConstMacro(InputSpaceDimension) 
InputPointType )
typedef Point< TScalarType,
itkGetStaticConstMacro(OutputSpaceDimension) 
OutputPointType )

Public Methods

virtual const char * GetClassName () const
virtual OffsetType GetOffset () const
virtual MatrixType GetRotationMatrix () const
virtual void SetOffset (OffsetType _arg)
void SetRotationMatrix (const MatrixType &matrix)
void Compose (const Self *other, bool pre=false)
void Translate (const OffsetType &offset, bool pre=false)
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector) const
InputCovariantVectorType BackTransform (const OutputCovariantVectorType &vector) const
void PrintSelf (std::ostream &os, Indent indent) const
Pointer Inverse (void) const
virtual void SetIdentity (void)
virtual const JacobianTypeGetJacobian (const InputPointType &point) const
 itkStaticConstMacro (InputSpaceDimension, unsigned int, 2)
 itkStaticConstMacro (OutputSpaceDimension, unsigned int, 2)
 itkStaticConstMacro (ParametersDimension, unsigned int, 4)
OutputPointType TransformPoint (const InputPointType &point) const
OutputVectorType TransformVector (const InputVectorType &vector) const
OutputVnlVectorType TransformVector (const InputVnlVectorType &vector) const
InputPointType BackTransform (const OutputPointType &point) const
InputVectorType BackTransform (const OutputVectorType &vector) const
InputVnlVectorType BackTransform (const OutputVnlVectorType &vector) const

Static Public Methods

Pointer New ()

Protected Methods

 Rigid2DTransform ()
 ~Rigid2DTransform ()

Protected Attributes

MatrixType m_RotationMatrix
MatrixType m_InverseMatrix

Detailed Description

template<class TScalarType = double>
class itk::Rigid2DTransform< TScalarType >

Rigid2DTransform of a vector space (e.g. space coordinates).

This transform applies a rotation and translation to the space

Definition at line 36 of file itkRigid2DTransform.h.


Member Typedef Documentation

template<class TScalarType = double>
typedef SmartPointer<const Self> itk::Rigid2DTransform< TScalarType >::ConstPointer
 

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 44 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef CovariantVector<TScalarType, itkGetStaticConstMacro(InputSpaceDimension) itk::Rigid2DTransform< TScalarType >::InputCovariantVectorType)
 

Standard covariant vector type for this class.

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 78 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef Point<TScalarType, itkGetStaticConstMacro(InputSpaceDimension) itk::Rigid2DTransform< TScalarType >::InputPointType)
 

Standard coordinate point type for this class.

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 86 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef Vector<TScalarType, itkGetStaticConstMacro(InputSpaceDimension) itk::Rigid2DTransform< TScalarType >::InputVectorType)
 

Standard vector type for this class.

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 74 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef vnl_vector_fixed<TScalarType, itkGetStaticConstMacro(InputSpaceDimension) itk::Rigid2DTransform< TScalarType >::InputVnlVectorType)
 

Standard vnl_vector type for this class.

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 82 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::JacobianType itk::Rigid2DTransform< TScalarType >::JacobianType
 

Jacobian type.

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 65 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef Matrix<ScalarType, itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension) itk::Rigid2DTransform< TScalarType >::MatrixType)
 

Standard matrix type for this class.

Definition at line 68 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef Vector<TScalarType, itkGetStaticConstMacro(InputSpaceDimension) itk::Rigid2DTransform< TScalarType >::OffsetType)
 

Standard vector type for this class.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 71 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef CovariantVector<TScalarType, itkGetStaticConstMacro(OutputSpaceDimension) itk::Rigid2DTransform< TScalarType >::OutputCovariantVectorType)
 

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 79 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef Point<TScalarType, itkGetStaticConstMacro(OutputSpaceDimension) itk::Rigid2DTransform< TScalarType >::OutputPointType)
 

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 87 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef Vector<TScalarType, itkGetStaticConstMacro(OutputSpaceDimension) itk::Rigid2DTransform< TScalarType >::OutputVectorType)
 

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 75 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef vnl_vector_fixed<TScalarType, itkGetStaticConstMacro(OutputSpaceDimension) itk::Rigid2DTransform< TScalarType >::OutputVnlVectorType)
 

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 83 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::ParametersType itk::Rigid2DTransform< TScalarType >::ParametersType
 

Parameters type.

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 62 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef SmartPointer<Self> itk::Rigid2DTransform< TScalarType >::Pointer
 

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 43 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::ScalarType itk::Rigid2DTransform< TScalarType >::ScalarType
 

Scalar type.

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 59 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef Rigid2DTransform itk::Rigid2DTransform< TScalarType >::Self
 

Standard class typedefs.

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 41 of file itkRigid2DTransform.h.

template<class TScalarType = double>
typedef Transform< TScalarType, 2, 2 > itk::Rigid2DTransform< TScalarType >::Superclass
 

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

Definition at line 42 of file itkRigid2DTransform.h.


Constructor & Destructor Documentation

template<class TScalarType = double>
itk::Rigid2DTransform< TScalarType >::Rigid2DTransform   [protected]
 

template<class TScalarType = double>
itk::Rigid2DTransform< TScalarType >::~Rigid2DTransform   [protected]
 


Member Function Documentation

template<class TScalarType = double>
InputCovariantVectorType itk::Rigid2DTransform< TScalarType >::BackTransform const OutputCovariantVectorType   vector const [inline]
 

template<class TScalarType = double>
InputVnlVectorType itk::Rigid2DTransform< TScalarType >::BackTransform const OutputVnlVectorType   vector const [inline]
 

Back transform by an affine transformation

This method finds the point or vector that maps to a given point or vector under the affine transformation defined by self. If no such point exists, an exception is thrown.

template<class TScalarType = double>
InputVectorType itk::Rigid2DTransform< TScalarType >::BackTransform const OutputVectorType   vector const [inline]
 

Back transform by an affine transformation

This method finds the point or vector that maps to a given point or vector under the affine transformation defined by self. If no such point exists, an exception is thrown.

template<class TScalarType = double>
InputPointType itk::Rigid2DTransform< TScalarType >::BackTransform const OutputPointType   point const [inline]
 

Back transform by an affine transformation

This method finds the point or vector that maps to a given point or vector under the affine transformation defined by self. If no such point exists, an exception is thrown.

template<class TScalarType = double>
void itk::Rigid2DTransform< TScalarType >::Compose const Self   other,
bool    pre = false
 

Compose with another Rigid2DTransform

template<class TScalarType = double>
virtual const char* itk::Rigid2DTransform< TScalarType >::GetClassName   const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

template<class TScalarType = double>
virtual const JacobianType& itk::Rigid2DTransform< TScalarType >::GetJacobian const InputPointType   point const [virtual]
 

Compute the Jacobian Matrix of the transformation at one point

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

template<class TScalarType = double>
virtual OffsetType itk::Rigid2DTransform< TScalarType >::GetOffset   const [virtual]
 

Get offset of an Rigid2DTransform

This method returns the value of the offset of the Rigid2DTransform.

template<class TScalarType = double>
virtual MatrixType itk::Rigid2DTransform< TScalarType >::GetRotationMatrix   const [virtual]
 

Get rotation Matrix from an Rigid2DTransform

This method returns the value of the rotation of the Rigid2DTransform.

template<class TScalarType = double>
Pointer itk::Rigid2DTransform< TScalarType >::Inverse void    const
 

Find inverse of an affine transformation

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

template<class TScalarType = double>
itk::Rigid2DTransform< TScalarType >::itkStaticConstMacro ParametersDimension   ,
unsigned    int,
 
 

Dimension of the space.

Reimplemented in itk::Similarity2DTransform< TScalarType >.

template<class TScalarType = double>
itk::Rigid2DTransform< TScalarType >::itkStaticConstMacro OutputSpaceDimension   ,
unsigned    int,
 
 

Dimension of the space.

template<class TScalarType = double>
itk::Rigid2DTransform< TScalarType >::itkStaticConstMacro InputSpaceDimension   ,
unsigned    int,
 
 

Dimension of the space.

template<class TScalarType = double>
Pointer itk::Rigid2DTransform< TScalarType >::New   [static]
 

New macro for creation of through a Smart Pointer

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

template<class TScalarType = double>
void itk::Rigid2DTransform< TScalarType >::PrintSelf std::ostream &    os,
Indent    indent
const [virtual]
 

Print contents of an Rigid2DTransform

Reimplemented from itk::Object.

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

template<class TScalarType = double>
virtual void itk::Rigid2DTransform< TScalarType >::SetIdentity void    [virtual]
 

Set the parameters to the IdentityTransform

Reimplemented in itk::Euler2DTransform< TScalarType >, and itk::Similarity2DTransform< TScalarType >.

template<class TScalarType = double>
virtual void itk::Rigid2DTransform< TScalarType >::SetOffset OffsetType    _arg [virtual]
 

Set offset of a Rigid2D Transform

This method sets the offset of an Rigid2DTransform to a value specified by the user.

template<class TScalarType = double>
void itk::Rigid2DTransform< TScalarType >::SetRotationMatrix const MatrixType   matrix
 

Set the rotation Matrix of a Rigid2D Transform

This method sets the 2x2 matrix representing a rotation in the transform. The Matrix is expected to be orthogonal with a certain tolerance.

Warning:
This method will throw an exception is the matrix provided as argument is not orthogonal.

template<class TScalarType = double>
OutputCovariantVectorType itk::Rigid2DTransform< TScalarType >::TransformCovariantVector const InputCovariantVectorType   vector const [virtual]
 

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

template<class TScalarType = double>
OutputPointType itk::Rigid2DTransform< TScalarType >::TransformPoint const InputPointType   point const [virtual]
 

Transform by an affine transformation

This method applies the affine transform given by self to a given point or vector, returning the transformed point or vector.

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

template<class TScalarType = double>
OutputVnlVectorType itk::Rigid2DTransform< TScalarType >::TransformVector const InputVnlVectorType   vector const [virtual]
 

Transform by an affine transformation

This method applies the affine transform given by self to a given point or vector, returning the transformed point or vector.

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

template<class TScalarType = double>
OutputVectorType itk::Rigid2DTransform< TScalarType >::TransformVector const InputVectorType   vector const [virtual]
 

Transform by an affine transformation

This method applies the affine transform given by self to a given point or vector, returning the transformed point or vector.

Reimplemented from itk::Transform< TScalarType, 2, 2 >.

template<class TScalarType = double>
void itk::Rigid2DTransform< TScalarType >::Translate const OffsetType   offset,
bool    pre = false
 

Compose the transformation with a translation

This method modifies self to include a translation of the origin. The translation is precomposed with self if pre is true, and postcomposed otherwise.


Member Data Documentation

template<class TScalarType = double>
MatrixType itk::Rigid2DTransform< TScalarType >::m_InverseMatrix [protected]
 

Definition at line 205 of file itkRigid2DTransform.h.

template<class TScalarType = double>
MatrixType itk::Rigid2DTransform< TScalarType >::m_RotationMatrix [protected]
 

Definition at line 202 of file itkRigid2DTransform.h.


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:20:36 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000