Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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 38 of file mitkRegistrationHelper.h.

Member Typedef Documentation

◆ Affine3DTransformType

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

Definition at line 42 of file mitkRegistrationHelper.h.

◆ Registration3DType

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

Definition at line 43 of file mitkRegistrationHelper.h.

◆ RegistrationBaseType

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

Definition at line 44 of file mitkRegistrationHelper.h.

Member Function Documentation

◆ getAffineMatrix() [1/2]

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 24 of file mitkRegistrationHelper.cpp.

References mitk::MAPRegistrationWrapper::GetRegistration().

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

◆ getAffineMatrix() [2/2]

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

Definition at line 37 of file mitkRegistrationHelper.cpp.

References getAffineMatrix(), is3D(), and offset.

◆ is3D() [1/2]

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

◆ is3D() [2/2]

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

Definition at line 110 of file mitkRegistrationHelper.cpp.

◆ IsRegNode()

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 121 of file mitkRegistrationHelper.cpp.

References mitk::DataNode::GetData().


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