Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkNavigationDataReferenceTransformFilter.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 #ifndef mitkNavigationDataReferenceTransformFilter_h
14 #define mitkNavigationDataReferenceTransformFilter_h
15 
17 
18 #include <itkQuaternionRigidTransform.h>
19 #include <mitkPointSet.h>
20 
21 
22 
23 namespace mitk {
24 
43  {
44  public:
46  itkFactorylessNewMacro(Self);
47  itkCloneMacro(Self);
48 
49  typedef itk::QuaternionRigidTransform<double> QuaternionTransformType;
50 
55  void SetSourceNavigationDatas(const std::vector<mitk::NavigationData::Pointer>& sourceNavigationDatas);
56 
61  void SetTargetNavigationDatas(const std::vector<mitk::NavigationData::Pointer>& sourceNavigationDatas);
62 
67  void ReinitFilter();
68 
72  const mitk::PointSet::Pointer GetSourceLandmarks();
76  const mitk::PointSet::Pointer GetTargetLandmarks();
77 
83  bool InitializeTransform();
84 
85 
86  protected:
87 
96 
97  QuaternionTransformType::Pointer m_QuaternionTransform;
98 
99  mitk::PointSet::Pointer CreateLandmarkPointsForSingleNavigationData(mitk::PointSet::Pointer landmarkContainer, const std::vector<mitk::NavigationData::Pointer>& navigationDatas);
100 
103 
104 
105  };
106 } // namespace mitk
107 #endif
mitk::NavigationDataReferenceTransformFilter::m_TargetLandmarksFromNavigationDatas
mitk::PointSet::Pointer m_TargetLandmarksFromNavigationDatas
target points from NavigationDatas
Definition: mitkNavigationDataReferenceTransformFilter.h:102
mitk::NavigationDataReferenceTransformFilter::m_SourceLandmarksFromNavigationDatas
mitk::PointSet::Pointer m_SourceLandmarksFromNavigationDatas
source points from NavigationDatas
Definition: mitkNavigationDataReferenceTransformFilter.h:101
itk::SmartPointer< Self >
mitk::NavigationDataToNavigationDataFilter
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
Definition: mitkNavigationDataToNavigationDataFilter.h:32
mitk::NavigationDataLandmarkTransformFilter
NavigationDataLandmarkTransformFilter applies a itk-landmark-transformation defined by source and tar...
Definition: mitkNavigationDataLandmarkTransformFilter.h:42
mitkPointSet.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::NavigationDataReferenceTransformFilter::QuaternionTransformType
itk::QuaternionRigidTransform< double > QuaternionTransformType
Quaternion transform for calculating.
Definition: mitkNavigationDataReferenceTransformFilter.h:47
mitk::NavigationDataReferenceTransformFilter
NavigationDataReferenceTransformFilter applies a itk-landmark-transformation defined by source and ta...
Definition: mitkNavigationDataReferenceTransformFilter.h:42
mitkNavigationDataLandmarkTransformFilter.h
mitk::NavigationDataReferenceTransformFilter::m_QuaternionTransform
QuaternionTransformType::Pointer m_QuaternionTransform
itk Quaternion transform
Definition: mitkNavigationDataReferenceTransformFilter.h:97
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36