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

mitkRigidTransform Class Reference

mitkRigidTransform - a concrete transform to perform rigid transform More...

#include <mitkRigidTransform.h>

Inherits mitkTransform.

Inheritance diagram for mitkRigidTransform:

Inheritance graph
[legend]
Collaboration diagram for mitkRigidTransform:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
 mitkRigidTransform ()
 mitkRigidTransform (unsigned int dim)
const MatrixType & GetJacobian (const VectorParameterType &inPoint)
void GetAngles (ScalarParameterType &angle)
void GetAngles (ScalarParameterType &alpha, ScalarParameterType &beta, ScalarParameterType &gamma)
void GetTranslations (ScalarParameterType &tx, ScalarParameterType &ty)
void GetTranslations (ScalarParameterType &tx, ScalarParameterType &ty, ScalarParameterType &tz)
virtual void ConvertTransformMaxtrixToVector ()

Protected Member Functions

virtual void ComputeTransformMatrix ()

Detailed Description

mitkRigidTransform - a concrete transform to perform rigid transform

This transform applies a rotation and translation to the 2D and 3D image space. User should use the constructor to specify the image dimensions, e.g. mitkRigidTransform(2) (default) for 2d image, mitkRigidTransform(3) for 3d image.

Transform Mode Number of parameters p[0] p[1] p[2] p[3] p[4] p[5] p[6] p[7] p[8]

MITK_TRANSFORM_RIGID (2D) 3 angle tx ty - - - - - -

MITK_TRANSFORM_RIGID_CENTERED (2D) 5 angle tx ty cx cy - - - -

MITK_TRANSFORM_RIGID (3D) 6 angle_x angle_y angle_z tx ty tz - - -

MITK_TRANSFORM_RIGID_CENTERED (3D) 9 angle_x angle_y angle_z tx ty tz cx cy cz


Constructor & Destructor Documentation

mitkRigidTransform::mitkRigidTransform  ) 
 

Default Constructor.

mitkRigidTransform::mitkRigidTransform unsigned int  dim  ) 
 

Constructor with specific image dimensions setting.


Member Function Documentation

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

Calculate the transform matrix.

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

Reimplemented from mitkTransform.

virtual void mitkRigidTransform::ConvertTransformMaxtrixToVector  )  [virtual]
 

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

Reimplemented from mitkTransform.

void mitkRigidTransform::GetAngles ScalarParameterType &  alpha,
ScalarParameterType &  beta,
ScalarParameterType &  gamma
 

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

Parameters:
alpha The returned angle value. (rotate around x-axis)
beta The returned angle value. (rotate around y-axis)
gamma The returned angle value. (rotate around z-axis)

void mitkRigidTransform::GetAngles ScalarParameterType &  angle  ) 
 

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

Parameters:
angle The returned angle value.

const MatrixType& mitkRigidTransform::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 mitkRigidTransform::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 mitkRigidTransform::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 mitkRigidTransform::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:05:44 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3