go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::AdvancedRigid2DTransform< TScalarType > Class Template Reference

#include <itkAdvancedRigid2DTransform.h>

Detailed Description

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

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

This transform applies a rigid transformation in 2D space. The transform is specified as a rotation around a arbitrary center and is followed by a translation.

The parameters for this transform can be set either using individual Set methods or in serialized form using SetParameters() and SetFixedParameters().

The serialization of the optimizable parameters is an array of 3 elements ordered as follows: p[0] = angle p[1] = x component of the translation p[2] = y component of the translation

The serialization of the fixed parameters is an array of 2 elements ordered as follows: p[0] = x coordinate of the center p[1] = y coordinate of the center

Access methods for the center, translation and underlying matrix offset vectors are documented in the superclass AdvancedMatrixOffsetTransformBase.

See also
Transform
AdvancedMatrixOffsetTransformBase

Definition at line 76 of file itkAdvancedRigid2DTransform.h.

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

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::InputCovariantVectorType InputCovariantVectorType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InputVectorType InputVectorType
 
typedef Superclass::InputVnlVectorType InputVnlVectorType
 
typedef Superclass::InternalMatrixType InternalMatrixType
 
typedef Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
 
typedef Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
 
typedef Superclass::JacobianType JacobianType
 
typedef Superclass::MatrixType MatrixType
 
typedef Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef Superclass::NumberOfParametersType NumberOfParametersType
 
typedef Superclass::OffsetType OffsetType
 
typedef Superclass::OutputCovariantVectorType OutputCovariantVectorType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::OutputVectorType OutputVectorType
 
typedef Superclass::OutputVnlVectorType OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::ScalarType ScalarType
 
typedef AdvancedRigid2DTransform Self
 
typedef Superclass::SpatialHessianType SpatialHessianType
 
typedef Superclass::SpatialJacobianType SpatialJacobianType
 
typedef AdvancedMatrixOffsetTransformBase< TScalarType, 2, 2 > Superclass
 
- Public Types inherited from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 2, 2 >
typedef InputPointType CenterType
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::InputCovariantVectorType InputCovariantVectorType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InputVectorType InputVectorType
 
typedef Superclass::InputVnlVectorType InputVnlVectorType
 
typedef Superclass::InternalMatrixType InternalMatrixType
 
typedef Matrix< TScalarType, itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(OutputSpaceDimension) > InverseMatrixType
 
typedef Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
 
typedef Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
 
typedef Superclass::JacobianType JacobianType
 
typedef Matrix< TScalarType, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension) > MatrixType
 
typedef Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef Superclass::NumberOfParametersType NumberOfParametersType
 
typedef OutputVectorType OffsetType
 
typedef Superclass::OutputCovariantVectorType OutputCovariantVectorType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::OutputVectorType OutputVectorType
 
typedef Superclass::OutputVnlVectorType OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::ScalarType ScalarType
 
typedef AdvancedMatrixOffsetTransformBase Self
 
typedef Superclass::SpatialHessianType SpatialHessianType
 
typedef Superclass::SpatialJacobianType SpatialJacobianType
 
typedef AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions > Superclass
 
typedef Superclass::TransformCategoryType TransformCategoryType
 
typedef OutputVectorType TranslationType
 
- Public Types inherited from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::InputCovariantVectorType InputCovariantVectorType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InputVectorType InputVectorType
 
typedef Superclass::InputVnlVectorType InputVnlVectorType
 
typedef SpatialJacobianType::InternalMatrixType InternalMatrixType
 
typedef Superclass::InverseTransformBasePointer InverseTransformBasePointer
 
typedef Superclass::InverseTransformBaseType InverseTransformBaseType
 
typedef std::vector< SpatialHessianTypeJacobianOfSpatialHessianType
 
typedef std::vector< SpatialJacobianTypeJacobianOfSpatialJacobianType
 
typedef Superclass::JacobianType JacobianType
 
typedef OutputCovariantVectorType MovingImageGradientType
 
typedef MovingImageGradientType::ValueType MovingImageGradientValueType
 
typedef std::vector< unsigned long > NonZeroJacobianIndicesType
 
typedef Superclass::NumberOfParametersType NumberOfParametersType
 
typedef Superclass::OutputCovariantVectorType OutputCovariantVectorType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::OutputVectorType OutputVectorType
 
typedef Superclass::OutputVnlVectorType OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef Superclass::ParametersValueType ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::ScalarType ScalarType
 
typedef AdvancedTransform Self
 
typedef FixedArray< Matrix< ScalarType, InputSpaceDimension, InputSpaceDimension >, OutputSpaceDimension > SpatialHessianType
 
typedef Matrix< ScalarType, OutputSpaceDimension, InputSpaceDimension > SpatialJacobianType
 
typedef Transform< TScalarType, NInputDimensions, NOutputDimensions > Superclass
 
typedef Transform< TScalarType, NInputDimensions, NOutputDimensions > TransformType
 
typedef TransformType::ConstPointer TransformTypeConstPointer
 
typedef TransformType::Pointer TransformTypePointer
 

Public Member Functions

InputPointType BackTransform (const OutputPointType &point) const
 
InputVectorType BackTransform (const OutputVectorType &vector) const
 
InputVnlVectorType BackTransform (const OutputVnlVectorType &vector) const
 
InputCovariantVectorType BackTransform (const OutputCovariantVectorType &vector) const
 
void CloneInverseTo (Pointer &newinverse) const
 
void CloneTo (Pointer &clone) const
 
virtual const TScalarType & GetAngle ()
 
virtual const char * GetClassName () const
 
virtual void GetJacobian (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const
 
const ParametersTypeGetParameters (void) const
 
virtual const TScalarType & GetRotation () const
 
const MatrixTypeGetRotationMatrix () const
 
 itkStaticConstMacro (InputSpaceDimension, unsigned int, 2)
 
 itkStaticConstMacro (OutputSpaceDimension, unsigned int, 2)
 
 itkStaticConstMacro (ParametersDimension, unsigned int, 3)
 
void SetAngle (TScalarType angle)
 
void SetAngleInDegrees (TScalarType angle)
 
virtual void SetIdentity (void)
 
virtual void SetMatrix (const MatrixType &matrix)
 
void SetParameters (const ParametersType &parameters)
 
void SetRotation (TScalarType angle)
 
virtual void SetRotationMatrix (const MatrixType &matrix)
 
void Translate (const OffsetType &offset, bool pre=false)
 
- Public Member Functions inherited from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 2, 2 >
void Compose (const Self *other, bool pre=0)
 
const InputPointTypeGetCenter (void) const
 
virtual const ParametersTypeGetFixedParameters (void) const
 
bool GetInverse (Self *inverse) const
 
const InverseMatrixTypeGetInverseMatrix (void) const
 
virtual void GetJacobian (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const
 
virtual void GetJacobianOfSpatialHessian (const InputPointType &, JacobianOfSpatialHessianType &, NonZeroJacobianIndicesType &) const
 
virtual void GetJacobianOfSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
virtual void GetJacobianOfSpatialJacobian (const InputPointType &, JacobianOfSpatialJacobianType &, NonZeroJacobianIndicesType &) const
 
virtual void GetJacobianOfSpatialJacobian (const InputPointType &, SpatialJacobianType &, JacobianOfSpatialJacobianType &, NonZeroJacobianIndicesType &) const
 
const MatrixTypeGetMatrix (void) const
 
const OutputVectorTypeGetOffset (void) const
 
const ParametersTypeGetParameters (void) const
 
virtual void GetSpatialHessian (const InputPointType &, SpatialHessianType &) const
 
virtual void GetSpatialJacobian (const InputPointType &, SpatialJacobianType &) const
 
virtual TransformCategoryType GetTransformCategory () const
 
const OutputVectorTypeGetTranslation (void) const
 
virtual bool IsLinear (void) const
 
 itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions)
 
 itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions)
 
 itkStaticConstMacro (ParametersDimension, unsigned int, NOutputDimensions *(NInputDimensions+1))
 
void SetCenter (const InputPointType &center)
 
virtual void SetFixedParameters (const ParametersType &)
 
void SetOffset (const OutputVectorType &offset)
 
void SetParameters (const ParametersType &parameters)
 
void SetTranslation (const OutputVectorType &translation)
 
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector) const
 
OutputPointType TransformPoint (const InputPointType &point) const
 
OutputVectorType TransformVector (const InputVectorType &vector) const
 
OutputVnlVectorType TransformVector (const InputVnlVectorType &vector) const
 
- Public Member Functions inherited from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &, JacobianType &) const
 
virtual void EvaluateJacobianWithImageGradientProduct (const InputPointType &ipp, const MovingImageGradientType &movingImageGradient, DerivativeType &imageJacobian, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
virtual bool GetHasNonZeroJacobianOfSpatialHessian () const
 
virtual bool GetHasNonZeroSpatialHessian () const
 
virtual NumberOfParametersType GetNumberOfNonZeroJacobianIndices (void) const
 
 itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions)
 
 itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 2, 2 >
static Pointer New ()
 

Protected Member Functions

 AdvancedRigid2DTransform ()
 
 AdvancedRigid2DTransform (unsigned int parametersDimension)
 
 AdvancedRigid2DTransform (unsigned int outputSpaceDimension, unsigned int parametersDimension)
 
virtual void ComputeMatrix (void)
 
virtual void ComputeMatrixParameters (void)
 
virtual void PrecomputeJacobianOfSpatialJacobian (void)
 
void PrintSelf (std::ostream &os, Indent indent) const
 
void SetVarAngle (TScalarType angle)
 
 ~AdvancedRigid2DTransform ()
 
- Protected Member Functions inherited from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 2, 2 >
 AdvancedMatrixOffsetTransformBase (const MatrixType &matrix, const OutputVectorType &offset)
 
 AdvancedMatrixOffsetTransformBase (unsigned int paramDims)
 
 AdvancedMatrixOffsetTransformBase ()
 
virtual void ComputeOffset (void)
 
virtual void ComputeTranslation (void)
 
const InverseMatrixTypeGetVarInverseMatrix (void) const
 
bool InverseMatrixIsOld (void) const
 
virtual void PrecomputeJacobians (unsigned int paramDims)
 
void PrintSelf (std::ostream &s, Indent indent) const
 
void SetVarCenter (const InputPointType &center)
 
void SetVarInverseMatrix (const InverseMatrixType &matrix) const
 
void SetVarMatrix (const MatrixType &matrix)
 
void SetVarOffset (const OutputVectorType &offset)
 
void SetVarTranslation (const OutputVectorType &translation)
 
virtual ~AdvancedMatrixOffsetTransformBase ()
 
- Protected Member Functions inherited from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >
 AdvancedTransform ()
 
 AdvancedTransform (NumberOfParametersType numberOfParameters)
 
virtual ~AdvancedTransform ()
 

Private Member Functions

 AdvancedRigid2DTransform (const Self &)
 
void operator= (const Self &)
 

Private Attributes

TScalarType m_Angle
 

Additional Inherited Members

- Protected Attributes inherited from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 2, 2 >
JacobianOfSpatialHessianType m_JacobianOfSpatialHessian
 
JacobianOfSpatialJacobianType m_JacobianOfSpatialJacobian
 
NonZeroJacobianIndicesType m_NonZeroJacobianIndices
 
SpatialHessianType m_SpatialHessian
 
- Protected Attributes inherited from itk::AdvancedTransform< TScalarType, NInputDimensions, NOutputDimensions >
bool m_HasNonZeroJacobianOfSpatialHessian
 
bool m_HasNonZeroSpatialHessian
 

Member Typedef Documentation

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

Definition at line 85 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::InputCovariantVectorType itk::AdvancedRigid2DTransform< TScalarType >::InputCovariantVectorType

Standard covariant vector type for this class.

Definition at line 119 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::InputPointType itk::AdvancedRigid2DTransform< TScalarType >::InputPointType

Standard coordinate point type for this class.

Definition at line 127 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::InputVectorType itk::AdvancedRigid2DTransform< TScalarType >::InputVectorType

Standard vector type for this class.

Definition at line 115 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::InputVnlVectorType itk::AdvancedRigid2DTransform< TScalarType >::InputVnlVectorType

Standard vnl_vector type for this class.

Definition at line 123 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::InternalMatrixType itk::AdvancedRigid2DTransform< TScalarType >::InternalMatrixType

Definition at line 138 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass ::JacobianOfSpatialHessianType itk::AdvancedRigid2DTransform< TScalarType >::JacobianOfSpatialHessianType

Definition at line 137 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass ::JacobianOfSpatialJacobianType itk::AdvancedRigid2DTransform< TScalarType >::JacobianOfSpatialJacobianType

Definition at line 134 of file itkAdvancedRigid2DTransform.h.

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

Jacobian type.

Definition at line 106 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::MatrixType itk::AdvancedRigid2DTransform< TScalarType >::MatrixType

Standard matrix type for this class.

Definition at line 109 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass ::NonZeroJacobianIndicesType itk::AdvancedRigid2DTransform< TScalarType >::NonZeroJacobianIndicesType

Definition at line 131 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::NumberOfParametersType itk::AdvancedRigid2DTransform< TScalarType >::NumberOfParametersType

Definition at line 103 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::OffsetType itk::AdvancedRigid2DTransform< TScalarType >::OffsetType

Standard vector type for this class.

Definition at line 112 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::OutputCovariantVectorType itk::AdvancedRigid2DTransform< TScalarType >::OutputCovariantVectorType

Definition at line 120 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::OutputPointType itk::AdvancedRigid2DTransform< TScalarType >::OutputPointType

Definition at line 128 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::OutputVectorType itk::AdvancedRigid2DTransform< TScalarType >::OutputVectorType

Definition at line 116 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::OutputVnlVectorType itk::AdvancedRigid2DTransform< TScalarType >::OutputVnlVectorType

Definition at line 124 of file itkAdvancedRigid2DTransform.h.

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

Parameters type.

Definition at line 102 of file itkAdvancedRigid2DTransform.h.

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

Definition at line 84 of file itkAdvancedRigid2DTransform.h.

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

Scalar type.

Definition at line 99 of file itkAdvancedRigid2DTransform.h.

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

Standard class typedefs.

Definition at line 82 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::SpatialHessianType itk::AdvancedRigid2DTransform< TScalarType >::SpatialHessianType

Definition at line 135 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::SpatialJacobianType itk::AdvancedRigid2DTransform< TScalarType >::SpatialJacobianType

Definition at line 132 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
typedef AdvancedMatrixOffsetTransformBase< TScalarType, 2, 2 > itk::AdvancedRigid2DTransform< TScalarType >::Superclass

Definition at line 83 of file itkAdvancedRigid2DTransform.h.

Constructor & Destructor Documentation

template<class TScalarType = double>
itk::AdvancedRigid2DTransform< TScalarType >::AdvancedRigid2DTransform ( )
protected
template<class TScalarType = double>
itk::AdvancedRigid2DTransform< TScalarType >::AdvancedRigid2DTransform ( unsigned int  parametersDimension)
protected
template<class TScalarType = double>
itk::AdvancedRigid2DTransform< TScalarType >::AdvancedRigid2DTransform ( unsigned int  outputSpaceDimension,
unsigned int  parametersDimension 
)
protected
template<class TScalarType = double>
itk::AdvancedRigid2DTransform< TScalarType >::~AdvancedRigid2DTransform ( )
protected
template<class TScalarType = double>
itk::AdvancedRigid2DTransform< TScalarType >::AdvancedRigid2DTransform ( const Self )
private

Member Function Documentation

template<class TScalarType >
AdvancedRigid2DTransform< TScalarType >::InputPointType itk::AdvancedRigid2DTransform< TScalarType >::BackTransform ( const OutputPointType point) const
inline

Back transform by an rigid transformation.

The BackTransform() methods are slated to be removed from ITK. Instead, please use GetInverse() or CloneInverseTo() to generate an inverse transform and then perform the transform using that inverted transform.

Definition at line 295 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType >
AdvancedRigid2DTransform< TScalarType >::InputVectorType itk::AdvancedRigid2DTransform< TScalarType >::BackTransform ( const OutputVectorType vector) const
inline

Definition at line 309 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType >
AdvancedRigid2DTransform< TScalarType >::InputVnlVectorType itk::AdvancedRigid2DTransform< TScalarType >::BackTransform ( const OutputVnlVectorType vector) const
inline

Definition at line 323 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType >
AdvancedRigid2DTransform< TScalarType >::InputCovariantVectorType itk::AdvancedRigid2DTransform< TScalarType >::BackTransform ( const OutputCovariantVectorType vector) const
inline

Definition at line 337 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
void itk::AdvancedRigid2DTransform< TScalarType >::CloneInverseTo ( Pointer newinverse) const

This method creates and returns a new AdvancedRigid2DTransform object which is the inverse of self.

template<class TScalarType = double>
void itk::AdvancedRigid2DTransform< TScalarType >::CloneTo ( Pointer clone) const

This method creates and returns a new AdvancedRigid2DTransform object which has the same parameters.

template<class TScalarType = double>
virtual void itk::AdvancedRigid2DTransform< TScalarType >::ComputeMatrix ( void  )
protectedvirtual

Compute the matrix from angle. This is used in Set methods to update the underlying matrix whenever a transform parameter is changed. Also update the m_JacobianOfSpatialJacobian.

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

Reimplemented in itk::AdvancedSimilarity2DTransform< TScalarType >.

template<class TScalarType = double>
virtual void itk::AdvancedRigid2DTransform< TScalarType >::ComputeMatrixParameters ( void  )
protectedvirtual

Compute the angle from the matrix. This is used to compute transform parameters from a given matrix. This is used in AdvancedMatrixOffsetTransformBase::Compose() and AdvancedMatrixOffsetTransformBase::GetInverse().

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

Reimplemented in itk::AdvancedSimilarity2DTransform< TScalarType >.

template<class TScalarType = double>
virtual const TScalarType& itk::AdvancedRigid2DTransform< TScalarType >::GetAngle ( )
virtual
template<class TScalarType = double>
virtual const char* itk::AdvancedRigid2DTransform< TScalarType >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

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

Reimplemented in itk::AdvancedSimilarity2DTransform< TScalarType >.

template<class TScalarType = double>
virtual void itk::AdvancedRigid2DTransform< TScalarType >::GetJacobian ( const InputPointType ,
JacobianType ,
NonZeroJacobianIndicesType  
) const
virtual

This method computes the Jacobian matrix of the transformation at a given input point.

See also
Transform::GetJacobian()

Reimplemented in itk::AdvancedSimilarity2DTransform< TScalarType >.

template<class TScalarType = double>
const ParametersType& itk::AdvancedRigid2DTransform< TScalarType >::GetParameters ( void  ) const

Get the parameters that uniquely define the transform This is typically used by optimizers. There are 3 parameters. The first one represents the angle or rotation in radians and the last two represents the translation. The center of rotation is fixed.

See also
Transform::GetParameters()
Transform::GetFixedParameters()
template<class TScalarType = double>
virtual const TScalarType& itk::AdvancedRigid2DTransform< TScalarType >::GetRotation ( ) const
inlinevirtual

Definition at line 203 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
const MatrixType& itk::AdvancedRigid2DTransform< TScalarType >::GetRotationMatrix ( ) const
inline

Definition at line 161 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
itk::AdvancedRigid2DTransform< TScalarType >::itkStaticConstMacro ( InputSpaceDimension  ,
unsigned  int,
 
)

Dimension of the space.

template<class TScalarType = double>
itk::AdvancedRigid2DTransform< TScalarType >::itkStaticConstMacro ( OutputSpaceDimension  ,
unsigned  int,
 
)
template<class TScalarType = double>
itk::AdvancedRigid2DTransform< TScalarType >::itkStaticConstMacro ( ParametersDimension  ,
unsigned  int,
 
)
template<class TScalarType = double>
static Pointer itk::AdvancedRigid2DTransform< TScalarType >::New ( )
static

New macro for creation of through a Smart Pointer

template<class TScalarType = double>
void itk::AdvancedRigid2DTransform< TScalarType >::operator= ( const Self )
private
template<class TScalarType = double>
virtual void itk::AdvancedRigid2DTransform< TScalarType >::PrecomputeJacobianOfSpatialJacobian ( void  )
protectedvirtual

Update the m_JacobianOfSpatialJacobian.

Reimplemented in itk::AdvancedSimilarity2DTransform< TScalarType >.

template<class TScalarType = double>
void itk::AdvancedRigid2DTransform< TScalarType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected

Print contents of an AdvancedRigid2DTransform

template<class TScalarType = double>
void itk::AdvancedRigid2DTransform< TScalarType >::SetAngle ( TScalarType  angle)

Set/Get the angle of rotation in radians

template<class TScalarType = double>
void itk::AdvancedRigid2DTransform< TScalarType >::SetAngleInDegrees ( TScalarType  angle)

Set the angle of rotation in degrees.

template<class TScalarType = double>
virtual void itk::AdvancedRigid2DTransform< TScalarType >::SetIdentity ( void  )
virtual

Reset the parameters to create and identity transform.

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

Reimplemented in itk::AdvancedSimilarity2DTransform< TScalarType >.

template<class TScalarType = double>
virtual void itk::AdvancedRigid2DTransform< TScalarType >::SetMatrix ( const MatrixType matrix)
virtual

Set the rotation Matrix of a Rigid2D Transform

This method sets the 2x2 matrix representing the 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.
See also
AdvancedMatrixOffsetTransformBase::SetMatrix()

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

Reimplemented in itk::AdvancedSimilarity2DTransform< TScalarType >.

template<class TScalarType = double>
void itk::AdvancedRigid2DTransform< TScalarType >::SetParameters ( const ParametersType parameters)

Set the transformation from a container of parameters This is typically used by optimizers. There are 3 parameters. The first one represents the angle of rotation in radians and the last two represents the translation. The center of rotation is fixed.

See also
Transform::SetParameters()
Transform::SetFixedParameters()
template<class TScalarType = double>
void itk::AdvancedRigid2DTransform< TScalarType >::SetRotation ( TScalarType  angle)
inline

Set/Get the angle of rotation in radians. These methods are old and are retained for backward compatibility. Instead, use SetAngle() and GetAngle().

Definition at line 201 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
virtual void itk::AdvancedRigid2DTransform< TScalarType >::SetRotationMatrix ( const MatrixType matrix)
inlinevirtual

Set/Get the rotation matrix. These methods are old and are retained for backward compatibility. Instead, use SetMatrix() GetMatrix().

Definition at line 159 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
void itk::AdvancedRigid2DTransform< TScalarType >::SetVarAngle ( TScalarType  angle)
inlineprotected

Update angle without recomputation of other internal variables.

Definition at line 276 of file itkAdvancedRigid2DTransform.h.

template<class TScalarType = double>
void itk::AdvancedRigid2DTransform< 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.

Field Documentation

template<class TScalarType = double>
TScalarType itk::AdvancedRigid2DTransform< TScalarType >::m_Angle
private

Definition at line 287 of file itkAdvancedRigid2DTransform.h.



Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo