Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::ItkMatrixHack< TTransformType > Class Template Reference

Internal hack to set m_MatrixMTime of itk::MatrixOffsetTransformBase correctly after changing the matrix. For internal use only. More...

#include <mitkItkMatrixHack.h>

Inheritance diagram for mitk::ItkMatrixHack< TTransformType >:
Collaboration diagram for mitk::ItkMatrixHack< TTransformType >:

Public Member Functions

void MatrixChanged ()
 

Detailed Description

template<class TTransformType>
class mitk::ItkMatrixHack< TTransformType >

Internal hack to set m_MatrixMTime of itk::MatrixOffsetTransformBase correctly after changing the matrix. For internal use only.

Usage: static_cast object of type itk::MatrixOffsetTransformBase (or derived from this) to this and call MatrixChanged(). itk::MatrixOffsetTransformBase::SetParameters does not set m_MatrixMTime thus m_InverseMatrixMTime is the same as m_MatrixMTime and the inverse is not recalculated.

Warning
Use with care!

Definition at line 35 of file mitkItkMatrixHack.h.

Member Function Documentation

template<class TTransformType >
void mitk::ItkMatrixHack< TTransformType >::MatrixChanged ( )
inline

Definition at line 38 of file mitkItkMatrixHack.h.


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