#include <itkTranslationTransform.h>
Inheritance diagram for itk::TranslationTransform< TScalarType, NDimensions >:


The same functionality could be obtained by using the Affine tranform, but with a large difference in performace.
Definition at line 42 of file itkTranslationTransform.h.
Public Types | |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef Superclass::JacobianType | JacobianType |
| typedef CovariantVector< TScalarType, itkGetStaticConstMacro(SpaceDimension) | OutputCovariantVectorType ) |
| typedef Point< TScalarType, itkGetStaticConstMacro(SpaceDimension) | OutputPointType ) |
| typedef Vector< TScalarType, itkGetStaticConstMacro(SpaceDimension) | OutputVectorType ) |
| typedef vnl_vector_fixed< TScalarType, itkGetStaticConstMacro(SpaceDimension) | OutputVnlVectorType ) |
| typedef Superclass::ParametersType | ParametersType |
| typedef SmartPointer< Self > | Pointer |
| typedef Superclass::ScalarType | ScalarType |
| typedef TranslationTransform | Self |
| typedef Transform< TScalarType, NDimensions, NDimensions > | Superclass |
Public Member Functions | |
| InputCovariantVectorType | BackTransform (const OutputCovariantVectorType &vector) const |
| InputVnlVectorType | BackTransform (const OutputVnlVectorType &vector) const |
| InputVectorType | BackTransform (const OutputVectorType &vector) const |
| 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 an exception is thrown *InputPointType | BackTransform (const OutputPointType &point) const |
| void | Compose (const Self *other, bool pre=0) |
| virtual LightObject::Pointer | CreateAnother () const |
| virtual void | DebugOff () const |
| virtual void | DebugOn () const |
| virtual void | Delete () |
| Command * | GetCommand (unsigned long tag) |
| bool | GetDebug () const |
| Get the Fixed Parameters *virtual const ParametersType & | GetFixedParameters (void) const |
| unsigned int | GetInputSpaceDimension (void) const |
| bool | GetInverse (Self *inverse) const |
| virtual const JacobianType & | GetJacobian (const InputPointType &point) const |
| const MetaDataDictionary & | GetMetaDataDictionary (void) const |
| MetaDataDictionary & | GetMetaDataDictionary (void) |
| virtual unsigned long | GetMTime () const |
| virtual const char * | GetNameOfClass () const |
| virtual unsigned int | GetNumberOfParameters (void) const |
| const OutputVectorType & | GetOffset (void) const |
| unsigned int | GetOutputSpaceDimension (void) const |
| virtual const ParametersType & | GetParameters (void) const |
| virtual int | GetReferenceCount () const |
| virtual std::string | GetTransformTypeAsString () const |
| bool | HasObserver (const EventObject &event) const |
| void | InvokeEvent (const EventObject &) const |
| void | InvokeEvent (const EventObject &) |
| itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions) | |
| Dimension of the domain space * | itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions) |
| itkStaticConstMacro (ParametersDimension, unsigned int, NDimensions) | |
| Dimension of the domain space * | itkStaticConstMacro (SpaceDimension, unsigned int, NDimensions) |
| virtual void | Modified () const |
| void | Print (std::ostream &os, Indent indent=0) const |
| virtual void | Register () const |
| void | RemoveAllObservers () |
| void | RemoveObserver (unsigned long tag) |
| void | SetDebug (bool debugFlag) const |
| virtual void | SetFixedParameters (const ParametersType &) |
| void | SetIdentity (void) |
| void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
| void | SetOffset (const OutputVectorType &offset) |
| void | SetParameters (const ParametersType ¶meters) |
| virtual void | SetParametersByValue (const ParametersType &p) |
| virtual void | SetReferenceCount (int) |
| OutputCovariantVectorType | TransformCovariantVector (const InputCovariantVectorType &vector) const |
| Transform by an affine transformation *This method applies the affine transform given by self to a *given point or returning the transformed point or *vector *OutputPointType | TransformPoint (const InputPointType &point) const |
| OutputVnlVectorType | TransformVector (const InputVnlVectorType &vector) const |
| OutputVectorType | TransformVector (const InputVectorType &vector) const |
| void | Translate (const OutputVectorType &offset, bool pre=0) |
| virtual void | UnRegister () const |
Static Public Member Functions | |
| static void | BreakOnError () |
| static bool | GetGlobalWarningDisplay () |
| static void | GlobalWarningDisplayOff () |
| static void | GlobalWarningDisplayOn () |
| static Pointer | New () |
| This is a global flag that controls whether any warning *or error messages are displayed *static void | SetGlobalWarningDisplay (bool flag) |
Public Attributes | |
| Allow people to add remove invoke observers(callbacks) to any ITK *object.This is an implementation of the subject/observer design *pattern.An observer is added by specifying an event to respond to *and an itk unsigned lon | AddObserver )(const EventObject &event, Command *) const |
| This is a global flag that controls whether any | debug |
| 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 |
| Standard covariant vector type for this class *typedef CovariantVector< TScalarType, itkGetStaticConstMacro(SpaceDimension) | InputCovariantVectorType ) |
| Standard coordinate point type for this class *typedef Point< TScalarType, itkGetStaticConstMacro(SpaceDimension) | InputPointType ) |
| Standard vector type for this class *typedef Vector< TScalarType, itkGetStaticConstMacro(SpaceDimension) | InputVectorType ) |
| Standard vnl_vector type for this class *typedef vnl_vector_fixed< TScalarType, itkGetStaticConstMacro(SpaceDimension) | InputVnlVectorType ) |
| return | m_Jacobian |
| Compute the Jacobian of the transformation **This method computes the Jacobian matrix of the transformation *at a given input point The rank of the Jacobian will also indicate *if the transform is invertible at this point **The Jacobian is be expressed as a matrix of partial derivatives of the *output point components with respect to the parameters that defined *the | transform |
| Transform by an affine transformation *This method applies the affine transform given by self to a *given point or | vector |
Protected Member Functions | |
| bool | PrintObservers (std::ostream &os, Indent indent) const |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| Transform (unsigned int Dimension, unsigned int NumberOfParameters) | |
| Transform () | |
| TranslationTransform () | |
| ~TranslationTransform () | |
Protected Attributes | |
| ParametersType | m_FixedParameters |
| JacobianType | m_Jacobian |
| ParametersType | m_Parameters |
| int | m_ReferenceCount |
| SimpleFastMutexLock | m_ReferenceCountLock |
| Methods invoked by virtual Print() to print information about the object *including superclasses.Typically not called by the user(use Print()*instead) but used in the hierarchical print process to combine the *output of several classes.*/virtual void PrintSelf(std voi | PrintHeader )(std::ostream &os, Indent indent) const |
|
|||||
|
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 50 of file itkTranslationTransform.h. |
|
|||||
|
Standard Jacobian container. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 70 of file itkTranslationTransform.h. |
|
|||||
|
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 79 of file itkTranslationTransform.h. |
|
|||||
|
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 89 of file itkTranslationTransform.h. |
|
|||||
|
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 74 of file itkTranslationTransform.h. |
|
|||||
|
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 84 of file itkTranslationTransform.h. |
|
|||||
|
Standard parameters container. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 67 of file itkTranslationTransform.h. |
|
|||||
|
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 49 of file itkTranslationTransform.h. |
|
|||||
|
Standard scalar type for this class. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 64 of file itkTranslationTransform.h. |
|
|||||
|
Standard class typedefs. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 47 of file itkTranslationTransform.h. |
|
|||||
|
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 48 of file itkTranslationTransform.h. |
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|
This method is called when itkExceptionMacro executes. It allows the debugger to break on error. |
|
||||||||||||||||
|
Compose with another TranslationTransform. |
|
|
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::LightObject. |
|
|
Turn debugging output off. |
|
|
Turn debugging output on. |
|
|
Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting. |
|
|
Get the command associated with the given tag. NOTE: This returns a pointer to a Command, but it is safe to asign this to a Command::Pointer. Since Command inherits from LightObject, at this point in the code, only a pointer or a reference to the Command can be used. |
|
|
Get the value of the debug flag. |
|
|
Get the fixed parameters. Implements itk::TransformBase. Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::KernelTransform< TScalarType, NDimensions >. Definition at line 165 of file itkTransform.h. |
|
|
|
|
|
Get the size of the input space Implements itk::TransformBase. Definition at line 87 of file itkTransform.h. |
|
||||||||||
|
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. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. |
|
||||||||||
|
Compute the Jacobian Matrix of the transformation at one point |
|
|
|
|
|
|
|
|
|||||||||
|
Run-time type information (and related methods). Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. |
|
||||||||||
|
Return the number of parameters that completely define the Transfom Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 153 of file itkTranslationTransform.h. |
|
||||||||||
|
This method returns the value of the offset of the TranslationTransform. Definition at line 94 of file itkTranslationTransform.h. |
|
|
Get the size of the output space Implements itk::TransformBase. Definition at line 90 of file itkTransform.h. |
|
||||||||||
|
Get the Transformation Parameters. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. |
|
|
Gets the reference count on this object. Definition at line 98 of file itkLightObject.h. |
|
|
Generate a platform independant name Implements itk::TransformBase. |
|
|
Definition at line 100 of file itkObject.h. References itk::Object::SetGlobalWarningDisplay(). |
|
|
Definition at line 98 of file itkObject.h. References itk::Object::SetGlobalWarningDisplay(). |
|
|
Return true if an observer is registered for this event. |
|
|
Call Execute on all the Commands observing this event id. The actions triggered by this call doesn't modify this object. |
|
|
Call Execute on all the Commands observing this event id. |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
|||||||||
|
New macro for creation of through the object factory. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. |
|
||||||||||||
|
Cause the object to print itself out. |
|
||||||||||||
|
|
|
||||||||||||||||
|
Print contents of an TranslationTransform. Reimplemented from itk::Object. |
|
||||||||||||
|
|
|
|
Increase the reference count (mark as used by another object). Reimplemented from itk::LightObject. |
|
|
Remove all observers . |
|
|
Remove the observer with this tag value. |
|
|
Set the value of the debug flag. A non-zero value turns debugging on. |
|
|
Set the fixed parameters and update internal transformation. Implements itk::TransformBase. Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::KernelTransform< TScalarType, NDimensions >. Definition at line 161 of file itkTransform.h. |
|
|
Referenced by itk::Object::GlobalWarningDisplayOff(), and itk::Object::GlobalWarningDisplayOn(). |
|
||||||||||
|
Set the parameters to the IdentityTransform |
|
|
|
|
||||||||||
|
Set offset of an Translation Transform. This method sets the offset of an TranslationTransform to a value specified by the user. Definition at line 107 of file itkTranslationTransform.h. |
|
||||||||||
|
This method sets the parameters for the transform value specified by the user. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. |
|
|
Set the transformation parameters and update internal transformation. This method forces the transform to copy the parameters. The default implementation is to call SetParameters. This call must be overridden if the transform normally implements SetParameters by keeping a reference to the parameters.
Implements itk::TransformBase. Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >. Definition at line 151 of file itkTransform.h. |
|
|
Sets the reference count (use with care) Reimplemented from itk::LightObject. |
|
||||||||||||
|
|
|
|
|
|
||||||||||
|
Method to transform a CovariantVector. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. |
|
||||||||||
|
Method to transform a point. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. |
|
||||||||||
|
Method to transform a vnl_vector. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. |
|
||||||||||
|
Method to transform a vector. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. |
|
||||||||||||||||
|
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. |
|
|
Decrease the reference count (release by another object). Reimplemented from itk::LightObject. |
|
|
|
|
|
Definition at line 94 of file itkObject.h. |
|
|||||
|
Definition at line 132 of file itkTranslationTransform.h. |
|
|||||
|
Standard covariant vector type for this class Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 78 of file itkTranslationTransform.h. |
|
|||||
|
Standard coordinate point type for this class Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 88 of file itkTranslationTransform.h. |
|
|||||
|
Standard vector type for this class. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 73 of file itkTranslationTransform.h. |
|
|||||
|
Standard vnl_vector type for this class. Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >. Definition at line 83 of file itkTranslationTransform.h. |
|
|
Definition at line 221 of file itkTransform.h. |
|
|
Reimplemented in itk::IdentityTransform< TScalarType, NDimensions >. Definition at line 222 of file itkTransform.h. |
|
|
Reimplemented in itk::IdentityTransform< TScalarType, NDimensions >. Definition at line 199 of file itkTransform.h. |
|
|
Definition at line 217 of file itkTransform.h. |
|
|
Number of uses of this object by other objects. Definition at line 119 of file itkLightObject.h. |
|
|
Mutex lock to protect modification to the reference count Definition at line 122 of file itkLightObject.h. |
|
|
|
|
|
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::IdentityTransform< TScalarType, NDimensions >. Definition at line 167 of file itkTransform.h. |
|
|||||
|
Definition at line 121 of file itkTranslationTransform.h. |
1.4.2 written by Dimitri van Heesch,
© 1997-2000