ITK  4.8.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< TParametersValueType, NDimensions > Class Template Reference

#include <itkTranslationTransform.h>

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

Detailed Description

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
class itk::TranslationTransform< TParametersValueType, 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:
Examples/RegistrationITKv3/ImageRegistration1.cxx, Examples/RegistrationITKv3/ImageRegistration10.cxx, Examples/RegistrationITKv3/ImageRegistration11.cxx, Examples/RegistrationITKv3/ImageRegistration15.cxx, Examples/RegistrationITKv3/ImageRegistration16.cxx, Examples/RegistrationITKv3/ImageRegistration17.cxx, Examples/RegistrationITKv3/ImageRegistration18.cxx, Examples/RegistrationITKv3/ImageRegistration2.cxx, Examples/RegistrationITKv3/ImageRegistration3.cxx, Examples/RegistrationITKv3/ImageRegistration4.cxx, Examples/RegistrationITKv3/ImageRegistrationHistogramPlotter.cxx, Examples/RegistrationITKv3/IterativeClosestPoint1.cxx, Examples/RegistrationITKv3/IterativeClosestPoint2.cxx, Examples/RegistrationITKv3/IterativeClosestPoint3.cxx, Examples/RegistrationITKv3/MeanSquaresImageMetric1.cxx, Examples/RegistrationITKv3/MultiResImageRegistration1.cxx, Examples/RegistrationITKv3/MultiResImageRegistration3.cxx, Examples/RegistrationITKv4/ImageRegistration1.cxx, Examples/RegistrationITKv4/ImageRegistration10.cxx, Examples/RegistrationITKv4/ImageRegistration11.cxx, Examples/RegistrationITKv4/ImageRegistration15.cxx, Examples/RegistrationITKv4/ImageRegistration16.cxx, Examples/RegistrationITKv4/ImageRegistration17.cxx, Examples/RegistrationITKv4/ImageRegistration18.cxx, Examples/RegistrationITKv4/ImageRegistration2.cxx, Examples/RegistrationITKv4/ImageRegistration3.cxx, Examples/RegistrationITKv4/ImageRegistration4.cxx, Examples/RegistrationITKv4/ImageRegistrationHistogramPlotter.cxx, Examples/RegistrationITKv4/IterativeClosestPoint1.cxx, Examples/RegistrationITKv4/IterativeClosestPoint3.cxx, Examples/RegistrationITKv4/MeanSquaresImageMetric1.cxx, Examples/RegistrationITKv4/MultiResImageRegistration1.cxx, Examples/RegistrationITKv4/MultiResImageRegistration3.cxx, Examples/RegistrationITKv4/MultiStageImageRegistration1.cxx, Examples/RegistrationITKv4/MultiStageImageRegistration2.cxx, SphinxExamples/src/Core/Mesh/TranslateOneMesh/Code.cxx, SphinxExamples/src/Core/Transform/TranslateImage/Code.cxx, SphinxExamples/src/Registration/Common/PerformMultiModalityRegistrationWithMutualInformation/Code.cxx, WikiExamples/Metrics/MeanSquaresImageToImageMetric.cxx, WikiExamples/Registration/ImageRegistrationMethod.cxx, WikiExamples/Registration/MutualInformation.cxx, and WikiExamples/SimpleOperations/TranslationTransform.cxx.

Definition at line 45 of file itkTranslationTransform.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::FixedParametersType 
FixedParametersType
 
typedef CovariantVector
< TParametersValueType,
NDimensions > 
InputCovariantVectorType
 
typedef Point
< TParametersValueType,
NDimensions > 
InputPointType
 
typedef Vector
< TParametersValueType,
NDimensions > 
InputVectorType
 
typedef vnl_vector_fixed
< TParametersValueType,
NDimensions > 
InputVnlVectorType
 
typedef
InverseTransformBaseType::Pointer 
InverseTransformBasePointer
 
typedef
Superclass::InverseTransformBaseType 
InverseTransformBaseType
 
typedef Superclass::JacobianType JacobianType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef CovariantVector
< TParametersValueType,
NDimensions > 
OutputCovariantVectorType
 
typedef Point
< TParametersValueType,
NDimensions > 
OutputPointType
 
typedef Vector
< TParametersValueType,
NDimensions > 
OutputVectorType
 
typedef vnl_vector_fixed
< TParametersValueType,
NDimensions > 
OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::ScalarType ScalarType
 
typedef TranslationTransform Self
 
typedef Transform
< TParametersValueType,
NDimensions, NDimensions > 
Superclass
 
typedef
Superclass::TransformCategoryType 
TransformCategoryType
 
- Public Types inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions >
typedef SmartPointer< const SelfConstPointer
 
typedef Array
< ParametersValueType
DerivativeType
 
typedef Matrix< double,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
DirectionChangeMatrix
 
typedef
Superclass::FixedParametersType 
FixedParametersType
 
typedef
Superclass::FixedParametersValueType 
FixedParametersValueType
 
typedef CovariantVector
< TParametersValueType,
NInputDimensions > 
InputCovariantVectorType
 
typedef DiffusionTensor3D
< TParametersValueType > 
InputDiffusionTensor3DType
 
typedef Matrix< double,
itkGetStaticConstMacro(InputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
InputDirectionMatrix
 
typedef Point
< TParametersValueType,
NInputDimensions > 
InputPointType
 
typedef
SymmetricSecondRankTensor
< TParametersValueType,
NInputDimensions > 
InputSymmetricSecondRankTensorType
 
typedef VariableLengthVector
< TParametersValueType > 
InputVectorPixelType
 
typedef Vector
< TParametersValueType,
NInputDimensions > 
InputVectorType
 
typedef vnl_vector_fixed
< TParametersValueType,
NInputDimensions > 
InputVnlVectorType
 
typedef
InverseTransformBaseType::Pointer 
InverseTransformBasePointer
 
typedef Transform
< TParametersValueType,
NOutputDimensions,
NInputDimensions > 
InverseTransformBaseType
 
typedef Array2D
< ParametersValueType
JacobianType
 
typedef Matrix
< TParametersValueType,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
MatrixType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef CovariantVector
< TParametersValueType,
NOutputDimensions > 
OutputCovariantVectorType
 
typedef DiffusionTensor3D
< TParametersValueType > 
OutputDiffusionTensor3DType
 
typedef Matrix< double,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(OutputSpaceDimension)> 
OutputDirectionMatrix
 
typedef Point
< TParametersValueType,
NOutputDimensions > 
OutputPointType
 
typedef
SymmetricSecondRankTensor
< TParametersValueType,
NOutputDimensions > 
OutputSymmetricSecondRankTensorType
 
typedef VariableLengthVector
< TParametersValueType > 
OutputVectorPixelType
 
typedef Vector
< TParametersValueType,
NOutputDimensions > 
OutputVectorType
 
typedef vnl_vector_fixed
< TParametersValueType,
NOutputDimensions > 
OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef ParametersValueType ScalarType
 
typedef Transform Self
 
typedef TransformBaseTemplate
< TParametersValueType > 
Superclass
 
typedef
Superclass::TransformCategoryType 
TransformCategoryType
 
- Public Types inherited from itk::TransformBaseTemplate< TParametersValueType >
typedef SmartPointer< const SelfConstPointer
 
typedef OptimizerParameters
< FixedParametersValueType
FixedParametersType
 
typedef ParametersValueType FixedParametersValueType
 
typedef IdentifierType NumberOfParametersType
 
typedef OptimizerParameters
< ParametersValueType
ParametersType
 
typedef TParametersValueType 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 override
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &x, JacobianType &jac) const override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
bool GetInverse (Self *inverse) const
 
virtual InverseTransformBasePointer GetInverseTransform () const override
 
virtual const char * GetNameOfClass () const
 
virtual NumberOfParametersType GetNumberOfParameters () const override
 
const OutputVectorTypeGetOffset (void) const
 
virtual const ParametersTypeGetParameters () const override
 
virtual TransformCategoryType GetTransformCategory () const override
 
virtual bool IsLinear () const override
 
virtual void SetFixedParameters (const FixedParametersType &) override
 
void SetIdentity ()
 
void SetOffset (const OutputVectorType &offset)
 
virtual void SetParameters (const ParametersType &parameters) override
 
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector) const override
 
OutputPointType TransformPoint (const InputPointType &point) const override
 
OutputVectorType TransformVector (const InputVectorType &vector) const override
 
OutputVnlVectorType TransformVector (const InputVnlVectorType &vector) const override
 
void Translate (const OutputVectorType &offset, bool pre=0)
 
virtual const FixedParametersTypeGetFixedParameters () const override
 
- Public Member Functions inherited from itk::Transform< TParametersValueType, 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
 
virtual void CopyInFixedParameters (const FixedParametersValueType *const begin, const FixedParametersValueType *const end) override
 
virtual void CopyInParameters (const ParametersValueType *const begin, const ParametersValueType *const end) override
 
unsigned int GetInputSpaceDimension (void) const override
 
bool GetInverse (Self *) const
 
virtual NumberOfParametersType GetNumberOfFixedParameters () const
 
virtual NumberOfParametersType GetNumberOfLocalParameters (void) const
 
unsigned int GetOutputSpaceDimension (void) const override
 
virtual std::string GetTransformTypeAsString () const override
 
 itkCloneMacro (Self)
 
virtual void SetParametersByValue (const ParametersType &p) override
 
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, ParametersValueType 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 ()
 
const MetaDataDictionaryGetMetaDataDictionary () 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 override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
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< TParametersValueType, NDimensions, NDimensions >
static const unsigned int InputSpaceDimension
 
static const unsigned int OutputSpaceDimension
 

Protected Member Functions

virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
 TranslationTransform ()
 
 ~TranslationTransform ()
 
- Protected Member Functions inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions >
virtual LightObject::Pointer InternalClone () const override
 
OutputDiffusionTensor3DType PreservationOfPrincipalDirectionDiffusionTensor3DReorientation (const InputDiffusionTensor3DType, const JacobianType) const
 
 Transform ()
 
 Transform (NumberOfParametersType NumberOfParameters)
 
virtual ~Transform ()
 
- Protected Member Functions inherited from itk::TransformBaseTemplate< TParametersValueType >
 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 Attributes inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions >
DirectionChangeMatrix m_DirectionChange
 
FixedParametersType m_FixedParameters
 
ParametersType m_Parameters
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

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

Definition at line 53 of file itkTranslationTransform.h.

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

Standard parameters container.

Definition at line 70 of file itkTranslationTransform.h.

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

Standard covariant vector type for this class.

Definition at line 84 of file itkTranslationTransform.h.

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

Standard coordinate point type for this class.

Definition at line 92 of file itkTranslationTransform.h.

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

Standard vector type for this class.

Definition at line 80 of file itkTranslationTransform.h.

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

Standard vnl_vector type for this class.

Definition at line 88 of file itkTranslationTransform.h.

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

Definition at line 98 of file itkTranslationTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
typedef Superclass::InverseTransformBaseType itk::TranslationTransform< TParametersValueType, 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 97 of file itkTranslationTransform.h.

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

Standard Jacobian container.

Definition at line 74 of file itkTranslationTransform.h.

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

The number of parameters defininig this transform.

Definition at line 77 of file itkTranslationTransform.h.

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

Definition at line 85 of file itkTranslationTransform.h.

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

Definition at line 93 of file itkTranslationTransform.h.

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

Definition at line 81 of file itkTranslationTransform.h.

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

Definition at line 89 of file itkTranslationTransform.h.

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

Definition at line 71 of file itkTranslationTransform.h.

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

Definition at line 52 of file itkTranslationTransform.h.

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

Standard scalar type for this class.

Definition at line 67 of file itkTranslationTransform.h.

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

Standard class typedefs.

Definition at line 50 of file itkTranslationTransform.h.

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

Definition at line 51 of file itkTranslationTransform.h.

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

Transform category type.

Definition at line 101 of file itkTranslationTransform.h.

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename TParametersValueType , unsigned int NDimensions>
TranslationTransform< TParametersValueType, NDimensions >::InputPointType itk::TranslationTransform< TParametersValueType, 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 239 of file itkTranslationTransform.h.

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

Definition at line 248 of file itkTranslationTransform.h.

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

Definition at line 257 of file itkTranslationTransform.h.

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

Definition at line 266 of file itkTranslationTransform.h.

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

Compose with another TranslationTransform.

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

Compute the Jacobian Matrix of the transformation at one point

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

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 TParametersValueType = double, unsigned int NDimensions = 3>
virtual::itk::LightObject::Pointer itk::TranslationTransform< TParametersValueType, NDimensions >::CreateAnother ( ) 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 TParametersValueType = double, unsigned int NDimensions = 3>
virtual const FixedParametersType& itk::TranslationTransform< TParametersValueType, NDimensions >::GetFixedParameters ( void  ) const
inlineoverridevirtual

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< TParametersValueType, NDimensions, NDimensions >.

Definition at line 214 of file itkTranslationTransform.h.

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

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
bool itk::TranslationTransform< TParametersValueType, 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 TParametersValueType = double, unsigned int NDimensions = 3>
virtual InverseTransformBasePointer itk::TranslationTransform< TParametersValueType, NDimensions >::GetInverseTransform ( ) const
overridevirtual

Return an inverse of this transform.

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

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

Run-time type information (and related methods).

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

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

Return the number of parameters that completely define the Transfom

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

Definition at line 181 of file itkTranslationTransform.h.

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

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

Definition at line 105 of file itkTranslationTransform.h.

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

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

Get the Transformation Parameters.

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

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

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

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

Definition at line 199 of file itkTranslationTransform.h.

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

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

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< TParametersValueType, NDimensions, NDimensions >.

Definition at line 191 of file itkTranslationTransform.h.

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

New macro for creation of through the object factory.

Examples:
WikiExamples/VectorImages/VectorResampleImageFilter.cxx.
template<typename TParametersValueType = double, unsigned int NDimensions = 3>
void itk::TranslationTransform< TParametersValueType, NDimensions >::operator= ( const Self )
private
template<typename TParametersValueType = double, unsigned int NDimensions = 3>
virtual void itk::TranslationTransform< TParametersValueType, NDimensions >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Print contents of an TranslationTransform.

Reimplemented from itk::Object.

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
virtual void itk::TranslationTransform< TParametersValueType, NDimensions >::SetFixedParameters ( const FixedParametersType )
inlineoverridevirtual

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< TParametersValueType, NDimensions, NDimensions >.

Definition at line 207 of file itkTranslationTransform.h.

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

Set the parameters to the IdentityTransform

template<typename TParametersValueType = double, unsigned int NDimensions = 3>
void itk::TranslationTransform< TParametersValueType, 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 120 of file itkTranslationTransform.h.

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

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

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

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

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

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 TParametersValueType = double, unsigned int NDimensions = 3>
OutputVectorType itk::TranslationTransform< TParametersValueType, NDimensions >::TransformVector ( const InputVectorType vector) const
override
template<typename TParametersValueType = double, unsigned int NDimensions = 3>
OutputVnlVectorType itk::TranslationTransform< TParametersValueType, NDimensions >::TransformVector ( const InputVnlVectorType vector) const
override
template<typename TParametersValueType = double, unsigned int NDimensions = 3>
void itk::TranslationTransform< TParametersValueType, 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 TParametersValueType = double, unsigned int NDimensions = 3>
JacobianType itk::TranslationTransform< TParametersValueType, NDimensions >::m_IdentityJacobian
private

Definition at line 231 of file itkTranslationTransform.h.

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

Dimension of the domain space.

Definition at line 63 of file itkTranslationTransform.h.

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

Dimension of the domain space.

Definition at line 62 of file itkTranslationTransform.h.


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