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

mitkVersorSimilarity3DTransform Class Reference

mitkVersorSimilarity3DTransform - a concrete transform to perform 3d similarity transform More...

#include <mitkVersorSimilarity3DTransform.h>

Inherits mitkTransform.

Inheritance diagram for mitkVersorSimilarity3DTransform:

Inheritance graph
[legend]
Collaboration diagram for mitkVersorSimilarity3DTransform:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
 mitkVersorSimilarity3DTransform ()
const MatrixType & GetJacobian (const VectorParameterType &inPoint)
virtual void ConvertTransformMaxtrixToVector ()
void GetVersor (ScalarParameterType &x, ScalarParameterType &y, ScalarParameterType &z, ScalarParameterType &w)
void GetAngles (ScalarParameterType &alpha, ScalarParameterType &beta, ScalarParameterType &gamma)
void GetTranslations (ScalarParameterType &tx, ScalarParameterType &ty, ScalarParameterType &tz)
void GetScales (ScalarParameterType &scale)

Protected Member Functions

virtual void ComputeTransformMatrix ()

Detailed Description

mitkVersorSimilarity3DTransform - a concrete transform to perform 3d similarity transform

This transform applies a similarity transform to the 3D image space. There are 7 elements in transform parameter vector, the first 3 elements are the components of the versor representation of 3D rotation, the next 3 parameters defines the translation in each dimension, the last 1 parameter defines the isotropic scaling.

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

MITK_TRANSFORM_VERSOR_SIMILARITY_3D 7 angle_x angle_y angle_z tx ty tz scale


Constructor & Destructor Documentation

mitkVersorSimilarity3DTransform::mitkVersorSimilarity3DTransform  ) 
 

Constructor.


Member Function Documentation

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

Calculate the transform matrix.

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

Reimplemented from mitkTransform.

virtual void mitkVersorSimilarity3DTransform::ConvertTransformMaxtrixToVector  )  [virtual]
 

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

Reimplemented from mitkTransform.

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

Get the rotation parameters from the transform parameter vector.

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)

const MatrixType& mitkVersorSimilarity3DTransform::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 mitkVersorSimilarity3DTransform::GetScales ScalarParameterType &  scale  ) 
 

Get the scaling parameters from the transform parameter vector.

Parameters:
scale The returned isotropic scale value.

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

Get the translation parameters from the transform parameter vector.

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

void mitkVersorSimilarity3DTransform::GetVersor ScalarParameterType &  x,
ScalarParameterType &  y,
ScalarParameterType &  z,
ScalarParameterType &  w
 

Get the rotation parameters from the transform parameter vector.

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)

virtual void mitkVersorSimilarity3DTransform::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:07:05 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3