14 #ifndef mitkRegistrationHelper_h
15 #define mitkRegistrationHelper_h
18 #include <itkScalableAffineTransform.h>
21 #include <mapRegistrationAlgorithmBase.h>
22 #include <mapRegistration.h>
124 typedef ::map::core::Registration<3,3>::DirectMappingType RegistrationKernel3DBase;
125 static Affine3DTransformType::Pointer getAffineMatrix(
const RegistrationKernel3DBase& kernel);
#define MITKMATCHPOINTREGISTRATION_EXPORT
Central node class of the MITK data tree, associating a data object with properties and mappers.
Wrapper class that adapts MatchPoint registration objects to the MITK data model.
Static utility class providing helper methods for working with MatchPoint registrations in MITK.
static NodePredicateBase::ConstPointer RegNodePredicate()
Returns a node predicate that identifies nodes containing MatchPoint registrations.
::map::core::Registration< 3, 3 > Registration3DType
3D-to-3D MatchPoint registration type.
static Affine3DTransformType::Pointer getAffineMatrix(const mitk::MAPRegistrationWrapper *wrapper, bool inverseKernel)
Extracts the affine transformation matrix from a registration wrapper's kernel.
::itk::ScalableAffineTransform< ::mitk::ScalarType, 3 > Affine3DTransformType
3D scalable affine transform type used for matrix extraction.
::map::core::RegistrationBase RegistrationBaseType
Base type of all MatchPoint registrations.
static NodePredicateBase::ConstPointer PointSetNodePredicate()
Returns a node predicate that identifies nodes containing point sets.
static bool is3D(const mitk::MAPRegistrationWrapper *wrapper)
Checks whether the given registration wrapper represents a 3D-to-3D registration.
static bool is3D(const RegistrationBaseType *regBase)
Checks whether the given MatchPoint registration is a 3D-to-3D registration.
static bool IsRegNode(const mitk::DataNode *node)
Checks whether the given DataNode contains a MatchPoint registration.
static NodePredicateBase::ConstPointer ImageNodePredicate()
Returns a node predicate that identifies nodes containing images.
static Affine3DTransformType::Pointer getAffineMatrix(const RegistrationBaseType *registration, bool inverseKernel)
Extracts the affine transformation matrix from a MatchPoint registration's kernel.
Find image slices visible on a given plane.