Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkPointSetMappingHelper.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 
14 #ifndef mitkPointSetMappingHelper_h
15 #define mitkPointSetMappingHelper_h
16 
17 #include <mapRegistrationBase.h>
18 #include <mitkPointSet.h>
19 
21 
23 
24 namespace mitk
25 {
26 
32  namespace PointSetMappingHelper
33  {
35  typedef ::map::core::RegistrationBase RegistrationType;
37  typedef ::mitk::MAPRegistrationWrapper MITKRegistrationType;
38 
45  MITKMATCHPOINTREGISTRATION_EXPORT ::map::core::continuous::Elements<3>::InternalPointSetType::Pointer ConvertPointSetMITKtoMAP(const mitk::PointSet::DataType* mitkSet);
46 
62  MITKMATCHPOINTREGISTRATION_EXPORT ::mitk::PointSet::Pointer map(const ::mitk::PointSet* input, const RegistrationType* registration, int timeStep = -1,
63  bool throwOnMappingError = true, const ::mitk::PointSet::PointDataType& errorPointValue = ::mitk::PointSet::PointDataType());
64 
69  MITKMATCHPOINTREGISTRATION_EXPORT ::mitk::PointSet::Pointer map(const ::mitk::PointSet* input, const MITKRegistrationType* registration, int timeStep = -1,
70  bool throwOnMappingError = true, const ::mitk::PointSet::PointDataType& errorPointValue = ::mitk::PointSet::PointDataType());
71  }
72 
73 }
74 
75 #endif
Wrapper class that adapts MatchPoint registration objects to the MITK data model.
MeshType DataType
Definition: mitkPointSet.h:141
MITKMATCHPOINTREGISTRATION_EXPORT ::mitk::PointSet::Pointer map(const ::mitk::PointSet *input, const RegistrationType *registration, int timeStep=-1, bool throwOnMappingError=true, const ::mitk::PointSet::PointDataType &errorPointValue=::mitk::PointSet::PointDataType())
Maps a given input point set using a MatchPoint registration.
::map::core::RegistrationBase RegistrationType
MatchPoint registration base type.
::mitk::MAPRegistrationWrapper MITKRegistrationType
MITK wrapper type for MatchPoint registrations.
MITKMATCHPOINTREGISTRATION_EXPORT ::map::core::continuous::Elements< 3 >::InternalPointSetType::Pointer ConvertPointSetMITKtoMAP(const mitk::PointSet::DataType *mitkSet)
Converts an MITK point set to the MatchPoint internal point set type.
Find image slices visible on a given plane.
Data associated with each point in the PointSet.
Definition: mitkPointSet.h:98