Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkTranslationTransform Class Reference

mitkTranslationTransform - a concrete transform to perform translation transform More...

#include <mitkTranslationTransform.h>

Inherits mitkTransform.

Inheritance diagram for mitkTranslationTransform:

Inheritance graph
[legend]
Collaboration diagram for mitkTranslationTransform:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
 mitkTranslationTransform ()
 mitkTranslationTransform (unsigned int dim)
const MatrixType & GetJacobian (const VectorParameterType &inPoint)
virtual void ConvertTransformMaxtrixToVector ()
void GetTranslations (ScalarParameterType &tx, ScalarParameterType &ty)
void GetTranslations (ScalarParameterType &tx, ScalarParameterType &ty, ScalarParameterType &tz)

Protected Member Functions

virtual void ComputeTransformMatrix ()

Detailed Description

mitkTranslationTransform - a concrete transform to perform translation transform

mitkTranslationTransform is a concrete transform to perform translation transformation. This transform applies a translation to the 2d and 3d space.User should use the constructor to specify the image dimensions, e.g. mitkTranslationTransform(2) (default) for 2d image, mitkTranslationTransform(3) for 3d image.

Transform Mode Number of parameters p[0] p[1] p[2]

MITK_TRANSFORM_TRANSLATION (2D) 2 tx ty -

MITK_TRANSFORM_TRANSLATION (3D) 3 tx ty tz


Constructor & Destructor Documentation

mitkTranslationTransform::mitkTranslationTransform  ) 
 

Constructor.

mitkTranslationTransform::mitkTranslationTransform unsigned int  dim  ) 
 

Constructor with specific transform mode setting.


Member Function Documentation

virtual void mitkTranslationTransform::ComputeTransformMatrix  )  [protected, virtual]
 

Calculate the transform matrix.

Returns:
Return true if the computation is performed without error.

Reimplemented from mitkTransform.

virtual void mitkTranslationTransform::ConvertTransformMaxtrixToVector  )  [virtual]
 

Convert transform matrix to transform parameter vector. This function operates on build-in data.

Reimplemented from mitkTransform.

const MatrixType& mitkTranslationTransform::GetJacobian const VectorParameterType &  inPoint  )  [virtual]
 

Get the Jacobian matrix.

Parameters:
inPoint The index of the point in image.
Returns:
Return the pointer to the Jacobian matrix.

Reimplemented from mitkTransform.

void mitkTranslationTransform::GetTranslations ScalarParameterType &  tx,
ScalarParameterType &  ty,
ScalarParameterType &  tz
 

Get the translation parameters from the transform parameter vector. (for 3d translation)

Parameters:
tx The returned x-translation value.
ty The returned y-translation value.
tz The returned z-translation value.

void mitkTranslationTransform::GetTranslations ScalarParameterType &  tx,
ScalarParameterType &  ty
 

Get the translation parameters from the transform parameter vector. (for 2d translation)

Parameters:
tx The returned x-translation value.
ty The returned y-translation value.

virtual void mitkTranslationTransform::PrintSelf ostream &  os  )  [virtual]
 

Print the necessary information about this object for the debugging purpose.

Parameters:
os The specified ostream to output information.

Reimplemented from mitkTransform.


The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:06:59 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3