Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::MITKRegistrationHelper Class Reference

MITKRegistrationHelper. More...

#include <mitkRegistrationHelper.h>

Public Types

typedef ::itk::ScalableAffineTransform< ::mitk::ScalarType, 3 > Affine3DTransformType
 
typedef ::map::core::Registration< 3, 3 > Registration3DType
 
typedef ::map::core::RegistrationBase RegistrationBaseType
 

Static Public Member Functions

static Affine3DTransformType::Pointer getAffineMatrix (const mitk::MAPRegistrationWrapper *wrapper, bool inverseKernel)
 
static Affine3DTransformType::Pointer getAffineMatrix (const RegistrationBaseType *registration, bool inverseKernel)
 
static bool is3D (const mitk::MAPRegistrationWrapper *wrapper)
 
static bool is3D (const RegistrationBaseType *regBase)
 
static bool IsRegNode (const mitk::DataNode *node)
 

Detailed Description

MITKRegistrationHelper.

Warning
This class is not yet documented. Use "git blame" and ask the author to provide basic documentation.

Definition at line 42 of file mitkRegistrationHelper.h.

Member Typedef Documentation

typedef ::itk::ScalableAffineTransform< ::mitk::ScalarType,3 > mitk::MITKRegistrationHelper::Affine3DTransformType

Definition at line 46 of file mitkRegistrationHelper.h.

typedef ::map::core::Registration<3,3> mitk::MITKRegistrationHelper::Registration3DType

Definition at line 47 of file mitkRegistrationHelper.h.

typedef ::map::core::RegistrationBase mitk::MITKRegistrationHelper::RegistrationBaseType

Definition at line 48 of file mitkRegistrationHelper.h.

Member Function Documentation

MITKRegistrationHelper::Affine3DTransformType::Pointer mitk::MITKRegistrationHelper::getAffineMatrix ( const mitk::MAPRegistrationWrapper wrapper,
bool  inverseKernel 
)
static

Extracts the affine transformation, if possible, of the selected kernel.

Parameters
wrapperPointer to the registration that is target of the extraction
inverseKernelIndicates from which kernel the matrix should be extract. True: inverse kernel, False: direct kernel.
Returns
Pointer to the extracted transform. If it is not possible to convert the kernel into an affine transform a null pointer is returned.
Precondition
wrapper must point to a valid instance.
wrapper must be a 3D-3D registration.

Definition at line 28 of file mitkRegistrationHelper.cpp.

References mitk::MAPRegistrationWrapper::GetRegistration().

Referenced by mitk::ImageMappingHelper::canRefineGeometry(), getAffineMatrix(), and mitk::ImageMappingHelper::refineGeometry().

MITKRegistrationHelper::Affine3DTransformType::Pointer mitk::MITKRegistrationHelper::getAffineMatrix ( const RegistrationBaseType registration,
bool  inverseKernel 
)
static

Definition at line 41 of file mitkRegistrationHelper.cpp.

References getAffineMatrix(), and is3D().

bool mitk::MITKRegistrationHelper::is3D ( const mitk::MAPRegistrationWrapper wrapper)
static
bool mitk::MITKRegistrationHelper::is3D ( const RegistrationBaseType regBase)
static

Definition at line 114 of file mitkRegistrationHelper.cpp.

bool mitk::MITKRegistrationHelper::IsRegNode ( const mitk::DataNode node)
static

Checks if the passed Node contains a MatchPoint registration

Parameters
Pointerto the node to be checked.*
Returns
true: node contains a MAPRegistrationWrapper. false: "node" does not point to a valid instance or does not contain a registration wrapper.

Definition at line 125 of file mitkRegistrationHelper.cpp.

References mitk::DataNode::GetData().


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