Medical Imaging Interaction Toolkit  2018.4.99-c0f884b2
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)
static NodePredicateBase::ConstPointer RegNodePredicate ()
static NodePredicateBase::ConstPointer ImageNodePredicate ()
static NodePredicateBase::ConstPointer PointSetNodePredicate ()

Detailed Description


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

Definition at line 39 of file mitkRegistrationHelper.h.

Member Typedef Documentation

◆ Affine3DTransformType

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

Definition at line 43 of file mitkRegistrationHelper.h.

◆ Registration3DType

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

Definition at line 44 of file mitkRegistrationHelper.h.

◆ RegistrationBaseType

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

Definition at line 45 of file mitkRegistrationHelper.h.

Member Function Documentation

◆ getAffineMatrix() [1/2]

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

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

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.
Pointer to the extracted transform. If it is not possible to convert the kernel into an affine transform a null pointer is returned.
wrapper must point to a valid instance.
wrapper must be a 3D-3D registration.

Definition at line 30 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 

Definition at line 43 of file mitkRegistrationHelper.cpp.

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

Referenced by getAffineMatrix().

◆ ImageNodePredicate()

NodePredicateBase::ConstPointer mitk::MITKRegistrationHelper::ImageNodePredicate ( )

Returns a node predicate that identifies image nodes.

Definition at line 139 of file mitkRegistrationHelper.cpp.

◆ is3D() [1/2]

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

◆ is3D() [2/2]

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

Definition at line 116 of file mitkRegistrationHelper.cpp.

◆ IsRegNode()

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

Checks if the passed Node contains a MatchPoint registration

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

Definition at line 127 of file mitkRegistrationHelper.cpp.

◆ PointSetNodePredicate()

NodePredicateBase::ConstPointer mitk::MITKRegistrationHelper::PointSetNodePredicate ( )

Returns a node predicate that identifies point set nodes.

Definition at line 144 of file mitkRegistrationHelper.cpp.

◆ RegNodePredicate()

NodePredicateBase::ConstPointer mitk::MITKRegistrationHelper::RegNodePredicate ( )

Returns a node predicate that identifies registration nodes.

Definition at line 134 of file mitkRegistrationHelper.cpp.

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