ITK  4.6.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::TranslationTransform< TScalar, NDimensions > Class Template Reference

#include <itkTranslationTransform.h>

+ Inheritance diagram for itk::TranslationTransform< TScalar, NDimensions >:
+ Collaboration diagram for itk::TranslationTransform< TScalar, NDimensions >:

Detailed Description

template<typename TScalar = double, unsigned int NDimensions = 3>
class itk::TranslationTransform< TScalar, NDimensions >

Translation transformation of a vector space (e.g. space coordinates)

The same functionality could be obtained by using the Affine transform, but with a large difference in performace.

Wiki Examples:
Examples:
RegistrationITKv3/ImageRegistration1.cxx, RegistrationITKv3/ImageRegistration10.cxx, RegistrationITKv3/ImageRegistration11.cxx, RegistrationITKv3/ImageRegistration15.cxx, RegistrationITKv3/ImageRegistration16.cxx, RegistrationITKv3/ImageRegistration17.cxx, RegistrationITKv3/ImageRegistration18.cxx, RegistrationITKv3/ImageRegistration2.cxx, RegistrationITKv3/ImageRegistration3.cxx, RegistrationITKv3/ImageRegistration4.cxx, RegistrationITKv3/ImageRegistrationHistogramPlotter.cxx, RegistrationITKv3/IterativeClosestPoint1.cxx, RegistrationITKv3/IterativeClosestPoint3.cxx, RegistrationITKv3/MeanSquaresImageMetric1.cxx, RegistrationITKv3/MultiResImageRegistration1.cxx, RegistrationITKv3/MultiResImageRegistration3.cxx, RegistrationITKv4/ImageRegistration1.cxx, RegistrationITKv4/ImageRegistration10.cxx, RegistrationITKv4/ImageRegistration11.cxx, RegistrationITKv4/ImageRegistration15.cxx, RegistrationITKv4/ImageRegistration16.cxx, RegistrationITKv4/ImageRegistration17.cxx, RegistrationITKv4/ImageRegistration18.cxx, RegistrationITKv4/ImageRegistration2.cxx, RegistrationITKv4/ImageRegistration3.cxx, RegistrationITKv4/ImageRegistration4.cxx, RegistrationITKv4/ImageRegistrationHistogramPlotter.cxx, RegistrationITKv4/MultiResImageRegistration1.cxx, and RegistrationITKv4/MultiResImageRegistration3.cxx.

Definition at line 48 of file itkTranslationTransform.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef CovariantVector
< TScalar, NDimensions > 
InputCovariantVectorType
 
typedef Point< TScalar,
NDimensions > 
InputPointType
 
typedef Vector< TScalar,
NDimensions > 
InputVectorType
 
typedef vnl_vector_fixed
< TScalar, NDimensions > 
InputVnlVectorType
 
typedef
InverseTransformBaseType::Pointer 
InverseTransformBasePointer
 
typedef
Superclass::InverseTransformBaseType 
InverseTransformBaseType
 
typedef Superclass::JacobianType JacobianType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef CovariantVector
< TScalar, NDimensions > 
OutputCovariantVectorType
 
typedef Point< TScalar,
NDimensions > 
OutputPointType
 
typedef Vector< TScalar,
NDimensions > 
OutputVectorType
 
typedef vnl_vector_fixed
< TScalar, NDimensions > 
OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::ScalarType ScalarType
 
typedef TranslationTransform Self
 
typedef Transform< TScalar,
NDimensions, NDimensions > 
Superclass
 
typedef
Superclass::TransformCategoryType 
TransformCategoryType
 
- Public Types inherited from itk::Transform< TScalar, NDimensions, NDimensions >
typedef SmartPointer< const SelfConstPointer
 
typedef Array
< ParametersValueType
DerivativeType
 
typedef Matrix< double,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
DirectionChangeMatrix
 
typedef CovariantVector
< TScalar, NInputDimensions > 
InputCovariantVectorType
 
typedef DiffusionTensor3D
< TScalar > 
InputDiffusionTensor3DType
 
typedef Matrix< double,
itkGetStaticConstMacro(InputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
InputDirectionMatrix
 
typedef Point< TScalar,
NInputDimensions > 
InputPointType
 
typedef
SymmetricSecondRankTensor
< TScalar, NInputDimensions > 
InputSymmetricSecondRankTensorType
 
typedef VariableLengthVector
< TScalar > 
InputVectorPixelType
 
typedef Vector< TScalar,
NInputDimensions > 
InputVectorType
 
typedef vnl_vector_fixed
< TScalar, NInputDimensions > 
InputVnlVectorType
 
typedef
InverseTransformBaseType::Pointer 
InverseTransformBasePointer
 
typedef Transform< TScalar,
NOutputDimensions,
NInputDimensions > 
InverseTransformBaseType
 
typedef Array2D
< ParametersValueType
JacobianType
 
typedef Matrix< TScalar,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
MatrixType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef CovariantVector
< TScalar, NOutputDimensions > 
OutputCovariantVectorType
 
typedef DiffusionTensor3D
< TScalar > 
OutputDiffusionTensor3DType
 
typedef Matrix< double,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(OutputSpaceDimension)> 
OutputDirectionMatrix
 
typedef Point< TScalar,
NOutputDimensions > 
OutputPointType
 
typedef
SymmetricSecondRankTensor
< TScalar, NOutputDimensions > 
OutputSymmetricSecondRankTensorType
 
typedef VariableLengthVector
< TScalar > 
OutputVectorPixelType
 
typedef Vector< TScalar,
NOutputDimensions > 
OutputVectorType
 
typedef vnl_vector_fixed
< TScalar, NOutputDimensions > 
OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef TScalar ScalarType
 
typedef Transform Self
 
typedef TransformBaseTemplate
< TScalar > 
Superclass
 
typedef
Superclass::TransformCategoryType 
TransformCategoryType
 
- Public Types inherited from itk::TransformBaseTemplate< TScalar >
typedef SmartPointer< const SelfConstPointer
 
typedef IdentifierType NumberOfParametersType
 
typedef OptimizerParameters
< ParametersValueType
ParametersType
 
typedef TScalar ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef TransformBaseTemplate Self
 
typedef Object Superclass
 
enum  TransformCategoryType {
  UnknownTransformCategory =0,
  Linear =1,
  BSpline =2,
  Spline =3,
  DisplacementField =4,
  VelocityField =5
}
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

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 Compose (const Self *other, bool pre=0)
 
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &point, JacobianType &j) const
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &x, JacobianType &jac) const
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
bool GetInverse (Self *inverse) const
 
virtual InverseTransformBasePointer GetInverseTransform () const
 
virtual const char * GetNameOfClass () const
 
virtual NumberOfParametersType GetNumberOfParameters (void) const
 
const OutputVectorTypeGetOffset (void) const
 
virtual const ParametersTypeGetParameters (void) const
 
virtual TransformCategoryType GetTransformCategory () const
 
virtual bool IsLinear () const
 
virtual void SetFixedParameters (const ParametersType &)
 
void SetIdentity (void)
 
void SetOffset (const OutputVectorType &offset)
 
void SetParameters (const ParametersType &parameters)
 
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector) const
 
OutputPointType TransformPoint (const InputPointType &point) const
 
OutputVectorType TransformVector (const InputVectorType &vector) const
 
OutputVnlVectorType TransformVector (const InputVnlVectorType &vector) const
 
void Translate (const OutputVectorType &offset, bool pre=0)
 
virtual const ParametersTypeGetFixedParameters (void) const
 
- Public Member Functions inherited from itk::Transform< TScalar, NDimensions, NDimensions >
virtual void ComputeInverseJacobianWithRespectToPosition (const InputPointType &x, JacobianType &jacobian) const
 
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const =0
 
virtual void ComputeJacobianWithRespectToParametersCachedTemporaries (const InputPointType &p, JacobianType &jacobian, JacobianType &) const
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &, JacobianType &) const
 
unsigned int GetInputSpaceDimension (void) const
 
bool GetInverse (Self *) const
 
virtual NumberOfParametersType GetNumberOfLocalParameters (void) const
 
unsigned int GetOutputSpaceDimension (void) const
 
virtual std::string GetTransformTypeAsString () const
 
 itkCloneMacro (Self)
 
virtual void SetParametersByValue (const ParametersType &p)
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &) const
 
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &tensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &tensor, const InputPointType &point) const
 
virtual OutputPointType TransformPoint (const InputPointType &) const =0
 
virtual
OutputSymmetricSecondRankTensorType 
TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &tensor, const InputPointType &point) const
 
virtual
OutputSymmetricSecondRankTensorType 
TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &) const
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &tensor, const InputPointType &point) const
 
virtual OutputVectorType TransformVector (const InputVectorType &) const
 
virtual OutputVectorType TransformVector (const InputVectorType &vector, const InputPointType &point) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &vector, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual void UpdateTransformParameters (const DerivativeType &update, TScalar factor=1.0)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int SpaceDimension = NDimensions
 
static const unsigned int ParametersDimension = NDimensions
 
- Static Public Attributes inherited from itk::Transform< TScalar, NDimensions, NDimensions >
static const unsigned int InputSpaceDimension
 
static const unsigned int OutputSpaceDimension
 

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const
 
 TranslationTransform ()
 
 ~TranslationTransform ()
 
- Protected Member Functions inherited from itk::Transform< TScalar, NDimensions, NDimensions >
virtual LightObject::Pointer InternalClone () const
 
OutputDiffusionTensor3DType PreservationOfPrincipalDirectionDiffusionTensor3DReorientation (const InputDiffusionTensor3DType, const JacobianType) const
 
 Transform ()
 
 Transform (NumberOfParametersType NumberOfParameters)
 
virtual ~Transform ()
 
- Protected Member Functions inherited from itk::TransformBaseTemplate< TScalar >
 TransformBaseTemplate ()
 
virtual ~TransformBaseTemplate ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

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

Private Attributes

JacobianType m_IdentityJacobian
 
OutputVectorType m_Offset
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::Transform< TScalar, NDimensions, NDimensions >
DirectionChangeMatrix m_DirectionChange
 
ParametersType m_FixedParameters
 
ParametersType m_Parameters
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Member Typedef Documentation

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef SmartPointer< const Self > itk::TranslationTransform< TScalar, NDimensions >::ConstPointer

Definition at line 56 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef CovariantVector<TScalar, NDimensions> itk::TranslationTransform< TScalar, NDimensions >::InputCovariantVectorType

Standard covariant vector type for this class.

Definition at line 86 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef Point<TScalar, NDimensions> itk::TranslationTransform< TScalar, NDimensions >::InputPointType

Standard coordinate point type for this class.

Definition at line 94 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef Vector<TScalar, NDimensions> itk::TranslationTransform< TScalar, NDimensions >::InputVectorType

Standard vector type for this class.

Definition at line 82 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef vnl_vector_fixed<TScalar, NDimensions> itk::TranslationTransform< TScalar, NDimensions >::InputVnlVectorType

Standard vnl_vector type for this class.

Definition at line 90 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef InverseTransformBaseType::Pointer itk::TranslationTransform< TScalar, NDimensions >::InverseTransformBasePointer

Definition at line 100 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef Superclass::InverseTransformBaseType itk::TranslationTransform< TScalar, NDimensions >::InverseTransformBaseType

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

Definition at line 99 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef Superclass::JacobianType itk::TranslationTransform< TScalar, NDimensions >::JacobianType

Standard Jacobian container.

Definition at line 76 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef Superclass::NumberOfParametersType itk::TranslationTransform< TScalar, NDimensions >::NumberOfParametersType

The number of parameters defininig this transform.

Definition at line 79 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef CovariantVector<TScalar, NDimensions> itk::TranslationTransform< TScalar, NDimensions >::OutputCovariantVectorType

Definition at line 87 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef Point<TScalar, NDimensions> itk::TranslationTransform< TScalar, NDimensions >::OutputPointType

Definition at line 95 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef Vector<TScalar, NDimensions> itk::TranslationTransform< TScalar, NDimensions >::OutputVectorType

Definition at line 83 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef vnl_vector_fixed<TScalar, NDimensions> itk::TranslationTransform< TScalar, NDimensions >::OutputVnlVectorType

Definition at line 91 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef Superclass::ParametersType itk::TranslationTransform< TScalar, NDimensions >::ParametersType

Standard parameters container.

Definition at line 73 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef SmartPointer< Self > itk::TranslationTransform< TScalar, NDimensions >::Pointer

Definition at line 55 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef Superclass::ScalarType itk::TranslationTransform< TScalar, NDimensions >::ScalarType

Standard scalar type for this class.

Definition at line 70 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef TranslationTransform itk::TranslationTransform< TScalar, NDimensions >::Self

Standard class typedefs.

Definition at line 53 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef Transform< TScalar, NDimensions, NDimensions > itk::TranslationTransform< TScalar, NDimensions >::Superclass

Definition at line 54 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
typedef Superclass::TransformCategoryType itk::TranslationTransform< TScalar, NDimensions >::TransformCategoryType

Transform category type.

Definition at line 103 of file itkTranslationTransform.h.

Constructor & Destructor Documentation

template<typename TScalar = double, unsigned int NDimensions = 3>
itk::TranslationTransform< TScalar, NDimensions >::TranslationTransform ( )
protected
template<typename TScalar = double, unsigned int NDimensions = 3>
itk::TranslationTransform< TScalar, NDimensions >::~TranslationTransform ( )
protected
template<typename TScalar = double, unsigned int NDimensions = 3>
itk::TranslationTransform< TScalar, NDimensions >::TranslationTransform ( const Self )
private

Member Function Documentation

template<typename TScalar , unsigned int NDimensions>
TranslationTransform< TScalar, NDimensions >::InputPointType itk::TranslationTransform< TScalar, NDimensions >::BackTransform ( const OutputPointType point) const
inline

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.

Definition at line 241 of file itkTranslationTransform.h.

template<typename TScalar , unsigned int NDimensions>
TranslationTransform< TScalar, NDimensions >::InputVectorType itk::TranslationTransform< TScalar, NDimensions >::BackTransform ( const OutputVectorType vector) const
inline

Definition at line 250 of file itkTranslationTransform.h.

template<typename TScalar , unsigned int NDimensions>
TranslationTransform< TScalar, NDimensions >::InputVnlVectorType itk::TranslationTransform< TScalar, NDimensions >::BackTransform ( const OutputVnlVectorType vector) const
inline

Definition at line 259 of file itkTranslationTransform.h.

template<typename TScalar , unsigned int NDimensions>
TranslationTransform< TScalar, NDimensions >::InputCovariantVectorType itk::TranslationTransform< TScalar, NDimensions >::BackTransform ( const OutputCovariantVectorType vector) const
inline

Definition at line 268 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
void itk::TranslationTransform< TScalar, NDimensions >::Compose ( const Self other,
bool  pre = 0 
)

Compose with another TranslationTransform.

template<typename TScalar = double, unsigned int NDimensions = 3>
virtual void itk::TranslationTransform< TScalar, NDimensions >::ComputeJacobianWithRespectToParameters ( const InputPointType point,
JacobianType j 
) const
virtual

Compute the Jacobian Matrix of the transformation at one point

template<typename TScalar = double, unsigned int NDimensions = 3>
virtual void itk::TranslationTransform< TScalar, NDimensions >::ComputeJacobianWithRespectToPosition ( const InputPointType x,
JacobianType jac 
) const
virtual

Get the jacobian with respect to position, which simply is an identity jacobian because the transform is position-invariant. jac will be resized as needed, but it will be more efficient if it is already properly sized.

template<typename TScalar = double, unsigned int NDimensions = 3>
virtual::itk::LightObject::Pointer itk::TranslationTransform< TScalar, NDimensions >::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::Object.

template<typename TScalar = double, unsigned int NDimensions = 3>
virtual const ParametersType& itk::TranslationTransform< TScalar, NDimensions >::GetFixedParameters ( void  ) const
inlinevirtual

Get the Fixed Parameters. The TranslationTransform does not require Fixed parameters, therefore this method returns an parameters array of size zero.

Reimplemented from itk::Transform< TScalar, NDimensions, NDimensions >.

Definition at line 216 of file itkTranslationTransform.h.

References itk::Transform< TScalar, NDimensions, NDimensions >::m_FixedParameters, and itk::Array< TValue >::SetSize().

template<typename TScalar = double, unsigned int NDimensions = 3>
bool itk::TranslationTransform< TScalar, NDimensions >::GetInverse ( Self inverse) const

Find inverse of an affine transformation. This method creates and returns a new TranslationTransform object which is the inverse of self. If self is not invertible, false is returned.

template<typename TScalar = double, unsigned int NDimensions = 3>
virtual InverseTransformBasePointer itk::TranslationTransform< TScalar, NDimensions >::GetInverseTransform ( ) const
virtual

Return an inverse of this transform.

Reimplemented from itk::Transform< TScalar, NDimensions, NDimensions >.

template<typename TScalar = double, unsigned int NDimensions = 3>
virtual const char* itk::TranslationTransform< TScalar, NDimensions >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::Transform< TScalar, NDimensions, NDimensions >.

template<typename TScalar = double, unsigned int NDimensions = 3>
virtual NumberOfParametersType itk::TranslationTransform< TScalar, NDimensions >::GetNumberOfParameters ( void  ) const
inlinevirtual

Return the number of parameters that completely define the Transfom

Reimplemented from itk::Transform< TScalar, NDimensions, NDimensions >.

Definition at line 183 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
const OutputVectorType& itk::TranslationTransform< TScalar, NDimensions >::GetOffset ( void  ) const
inline

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

Definition at line 107 of file itkTranslationTransform.h.

References itk::TranslationTransform< TScalar, NDimensions >::m_Offset.

template<typename TScalar = double, unsigned int NDimensions = 3>
virtual const ParametersType& itk::TranslationTransform< TScalar, NDimensions >::GetParameters ( void  ) const
virtual

Get the Transformation Parameters.

Reimplemented from itk::Transform< TScalar, NDimensions, NDimensions >.

template<typename TScalar = double, unsigned int NDimensions = 3>
virtual TransformCategoryType itk::TranslationTransform< TScalar, NDimensions >::GetTransformCategory ( ) const
inlinevirtual

Indicates the category transform. e.g. an affine transform, or a local one, e.g. a deformation field.

Reimplemented from itk::Transform< TScalar, NDimensions, NDimensions >.

Definition at line 201 of file itkTranslationTransform.h.

References itk::TransformBaseTemplate< TScalar >::Linear.

template<typename TScalar = double, unsigned int NDimensions = 3>
virtual bool itk::TranslationTransform< TScalar, NDimensions >::IsLinear ( ) const
inlinevirtual

Indicates that this transform is linear. That is, given two points P and Q, and scalar coefficients a and b, then

\[ T( a*P + b*Q ) = a * T(P) + b * T(Q) \]

Reimplemented from itk::Transform< TScalar, NDimensions, NDimensions >.

Definition at line 193 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
static Pointer itk::TranslationTransform< TScalar, NDimensions >::New ( )
static

New macro for creation of through the object factory.

template<typename TScalar = double, unsigned int NDimensions = 3>
void itk::TranslationTransform< TScalar, NDimensions >::operator= ( const Self )
private
template<typename TScalar = double, unsigned int NDimensions = 3>
void itk::TranslationTransform< TScalar, NDimensions >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

Print contents of an TranslationTransform.

Reimplemented from itk::Object.

template<typename TScalar = double, unsigned int NDimensions = 3>
virtual void itk::TranslationTransform< TScalar, NDimensions >::SetFixedParameters ( const ParametersType )
inlinevirtual

Set the fixed parameters and update internal transformation. The Translation Transform does not require fixed parameters, therefore the implementation of this method is a null operation.

Implements itk::Transform< TScalar, NDimensions, NDimensions >.

Definition at line 209 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
void itk::TranslationTransform< TScalar, NDimensions >::SetIdentity ( void  )

Set the parameters to the IdentityTransform

template<typename TScalar = double, unsigned int NDimensions = 3>
void itk::TranslationTransform< TScalar, NDimensions >::SetOffset ( const OutputVectorType offset)
inline

Set offset of an Translation Transform. This method sets the offset of an TranslationTransform to a value specified by the user.

Definition at line 122 of file itkTranslationTransform.h.

References itk::TranslationTransform< TScalar, NDimensions >::m_Offset.

template<typename TScalar = double, unsigned int NDimensions = 3>
void itk::TranslationTransform< TScalar, NDimensions >::SetParameters ( const ParametersType parameters)
virtual

This method sets the parameters for the transform value specified by the user.

Implements itk::Transform< TScalar, NDimensions, NDimensions >.

template<typename TScalar = double, unsigned int NDimensions = 3>
OutputCovariantVectorType itk::TranslationTransform< TScalar, NDimensions >::TransformCovariantVector ( const InputCovariantVectorType vector) const
template<typename TScalar = double, unsigned int NDimensions = 3>
OutputPointType itk::TranslationTransform< TScalar, NDimensions >::TransformPoint ( const InputPointType point) const

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.

template<typename TScalar = double, unsigned int NDimensions = 3>
OutputVectorType itk::TranslationTransform< TScalar, NDimensions >::TransformVector ( const InputVectorType vector) const
template<typename TScalar = double, unsigned int NDimensions = 3>
OutputVnlVectorType itk::TranslationTransform< TScalar, NDimensions >::TransformVector ( const InputVnlVectorType vector) const
template<typename TScalar = double, unsigned int NDimensions = 3>
void itk::TranslationTransform< TScalar, NDimensions >::Translate ( const OutputVectorType offset,
bool  pre = 0 
)

Compose affine 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<typename TScalar = double, unsigned int NDimensions = 3>
JacobianType itk::TranslationTransform< TScalar, NDimensions >::m_IdentityJacobian
private

Definition at line 233 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
OutputVectorType itk::TranslationTransform< TScalar, NDimensions >::m_Offset
private
template<typename TScalar = double, unsigned int NDimensions = 3>
const unsigned int itk::TranslationTransform< TScalar, NDimensions >::ParametersDimension = NDimensions
static

Dimension of the domain space.

Definition at line 66 of file itkTranslationTransform.h.

template<typename TScalar = double, unsigned int NDimensions = 3>
const unsigned int itk::TranslationTransform< TScalar, NDimensions >::SpaceDimension = NDimensions
static

Dimension of the domain space.

Definition at line 65 of file itkTranslationTransform.h.


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