ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
itk::CenteredRigid2DTransform< TScalarType > Class Template Reference

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

#include <itkCenteredRigid2DTransform.h>

Inheritance diagram for itk::CenteredRigid2DTransform< TScalarType >:
Collaboration diagram for itk::CenteredRigid2DTransform< TScalarType >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Superclass::InputCovariantVectorType 
InputCovariantVectorType
typedef Superclass::InputPointType InputPointType
typedef
Superclass::InputPointValueType 
InputPointValueType
typedef Superclass::InputVectorType InputVectorType
typedef
Superclass::InputVnlVectorType 
InputVnlVectorType
typedef
InverseTransformBaseType::Pointer 
InverseTransformBasePointer
typedef
Superclass::InverseTransformBaseType 
InverseTransformBaseType
typedef Superclass::JacobianType JacobianType
typedef Superclass::OffsetType OffsetType
typedef
Superclass::OutputCovariantVectorType 
OutputCovariantVectorType
typedef Superclass::OutputPointType OutputPointType
typedef
Superclass::OutputVectorType 
OutputVectorType
typedef
Superclass::OutputVectorValueType 
OutputVectorValueType
typedef
Superclass::OutputVnlVectorType 
OutputVnlVectorType
typedef Superclass::ParametersType ParametersType
typedef
Superclass::ParametersValueType 
ParametersValueType
typedef SmartPointer< SelfPointer
typedef Superclass::ScalarType ScalarType
typedef CenteredRigid2DTransform Self
typedef Rigid2DTransform
< TScalarType > 
Superclass

Public Member Functions

void CloneInverseTo (Pointer &newinverse) const
void CloneTo (Pointer &clone) const
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &p, JacobianType &jacobian) const
virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const ParametersTypeGetFixedParameters (void) const
bool GetInverse (Self *inverse) const
virtual InverseTransformBasePointer GetInverseTransform () const
virtual const char * GetNameOfClass () const
const ParametersTypeGetParameters (void) const
virtual void SetFixedParameters (const ParametersType &)
void SetParameters (const ParametersType &parameters)

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int SpaceDimension = 2
static const unsigned int OutputSpaceDimension = 2
static const unsigned int ParametersDimension = 5

Protected Member Functions

 CenteredRigid2DTransform ()
 CenteredRigid2DTransform (unsigned int outputSpaceDimension, unsigned int parametersDimension)
void PrintSelf (std::ostream &os, Indent indent) const
 ~CenteredRigid2DTransform ()

Private Member Functions

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

Detailed Description

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

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

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

The main difference between this class and its superclass Rigid2DTransform is that the center of rotation is exposed for optimization.

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

There are no fixed parameters.

See also:
Rigid2DTransform

Definition at line 53 of file itkCenteredRigid2DTransform.h.


Member Typedef Documentation

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

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 61 of file itkCenteredRigid2DTransform.h.

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

CovariantVector type.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 100 of file itkCenteredRigid2DTransform.h.

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

Point type.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 89 of file itkCenteredRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::InputPointValueType itk::CenteredRigid2DTransform< TScalarType >::InputPointValueType

Standard coordinate point type for this class

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

Definition at line 91 of file itkCenteredRigid2DTransform.h.

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

Vector type.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 94 of file itkCenteredRigid2DTransform.h.

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

VnlVector type.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 105 of file itkCenteredRigid2DTransform.h.

template<class TScalarType = double>
typedef InverseTransformBaseType::Pointer itk::CenteredRigid2DTransform< TScalarType >::InverseTransformBasePointer

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 111 of file itkCenteredRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::InverseTransformBaseType itk::CenteredRigid2DTransform< TScalarType >::InverseTransformBaseType

Base inverse transform type. This type should not be changed to the concrete inverse transform type or inheritance would be lost.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 110 of file itkCenteredRigid2DTransform.h.

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

Jacobian type.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 83 of file itkCenteredRigid2DTransform.h.

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

Offset type.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 86 of file itkCenteredRigid2DTransform.h.

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

Standard covariant vector type for this class

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 102 of file itkCenteredRigid2DTransform.h.

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

Standard coordinate point type for this class

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 90 of file itkCenteredRigid2DTransform.h.

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

Standard vector type for this class

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 95 of file itkCenteredRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::OutputVectorValueType itk::CenteredRigid2DTransform< TScalarType >::OutputVectorValueType

Standard vector type for this class

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 96 of file itkCenteredRigid2DTransform.h.

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

Standard vnl_vector type for this class

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 106 of file itkCenteredRigid2DTransform.h.

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

Parameters type.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 79 of file itkCenteredRigid2DTransform.h.

template<class TScalarType = double>
typedef Superclass::ParametersValueType itk::CenteredRigid2DTransform< TScalarType >::ParametersValueType

Type of the input parameters.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 80 of file itkCenteredRigid2DTransform.h.

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

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 60 of file itkCenteredRigid2DTransform.h.

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

Scalar type.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 76 of file itkCenteredRigid2DTransform.h.

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

Standard class typedefs.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 58 of file itkCenteredRigid2DTransform.h.

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

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 59 of file itkCenteredRigid2DTransform.h.


Constructor & Destructor Documentation

template<class TScalarType = double>
itk::CenteredRigid2DTransform< TScalarType >::CenteredRigid2DTransform ( ) [protected]
template<class TScalarType = double>
itk::CenteredRigid2DTransform< TScalarType >::~CenteredRigid2DTransform ( ) [inline, protected]

Definition at line 164 of file itkCenteredRigid2DTransform.h.

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

Member Function Documentation

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

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

Reimplemented from itk::Rigid2DTransform< TScalarType >.

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

This method creates and returns a new CenteredRigid2DTransform object which has the same parameters as self.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

template<class TScalarType = double>
virtual void itk::CenteredRigid2DTransform< TScalarType >::ComputeJacobianWithRespectToParameters ( const InputPointType p,
JacobianType jacobian 
) const [virtual]

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

Reimplemented from itk::Rigid2DTransform< TScalarType >.

template<class TScalarType = double>
virtual::itk::LightObject::Pointer itk::CenteredRigid2DTransform< TScalarType >::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

template<class TScalarType = double>
virtual const ParametersType& itk::CenteredRigid2DTransform< TScalarType >::GetFixedParameters ( void  ) const [virtual]

Get the Fixed Parameters. An empty array is returned as there are no fixed parameters.

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

template<class TScalarType = double>
bool itk::CenteredRigid2DTransform< TScalarType >::GetInverse ( Self inverse) const

Get an inverse of this transform.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

template<class TScalarType = double>
virtual InverseTransformBasePointer itk::CenteredRigid2DTransform< TScalarType >::GetInverseTransform ( ) const [virtual]

Return an inverse of this transform.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

template<class TScalarType = double>
virtual const char* itk::CenteredRigid2DTransform< TScalarType >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::Rigid2DTransform< TScalarType >.

template<class TScalarType = double>
const ParametersType& itk::CenteredRigid2DTransform< TScalarType >::GetParameters ( void  ) const [virtual]

Get the parameters that uniquely define the transform This is typically used by optimizers. There are 3 parameters. The first one represents the rotation, the next two the center of rotation and the last two represents the offset.

See also:
Transform::GetParameters()
Transform::GetFixedParameters()

Reimplemented from itk::Rigid2DTransform< TScalarType >.

template<class TScalarType = double>
static Pointer itk::CenteredRigid2DTransform< TScalarType >::New ( ) [static]

New macro for creation of through a Smart Pointer.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

template<class TScalarType = double>
void itk::CenteredRigid2DTransform< TScalarType >::operator= ( const Self ) [private]

Update angle without recomputation of other internal variables.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

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

Print contents of an Rigid2DTransform

Reimplemented from itk::Rigid2DTransform< TScalarType >.

template<class TScalarType = double>
virtual void itk::CenteredRigid2DTransform< TScalarType >::SetFixedParameters ( const ParametersType ) [virtual]

Set the fixed parameters and update internal transformation. This is a null function as there are no fixed parameters.

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

template<class TScalarType = double>
void itk::CenteredRigid2DTransform< TScalarType >::SetParameters ( const ParametersType parameters) [virtual]

Set the transformation from a container of parameters This is typically used by optimizers. There are 5 parameters. The first one represents the rotation, the next two the center of rotation and the last two represents the offset.

See also:
Transform::SetParameters()
Transform::SetFixedParameters()

Reimplemented from itk::Rigid2DTransform< TScalarType >.


Member Data Documentation

template<class TScalarType = double>
const unsigned int itk::CenteredRigid2DTransform< TScalarType >::OutputSpaceDimension = 2 [static]

Dimension of parameters.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 71 of file itkCenteredRigid2DTransform.h.

template<class TScalarType = double>
const unsigned int itk::CenteredRigid2DTransform< TScalarType >::ParametersDimension = 5 [static]

Dimension of parameters.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 72 of file itkCenteredRigid2DTransform.h.

template<class TScalarType = double>
const unsigned int itk::CenteredRigid2DTransform< TScalarType >::SpaceDimension = 2 [static]

Dimension of parameters.

Definition at line 70 of file itkCenteredRigid2DTransform.h.


The documentation for this class was generated from the following file: