Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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_HEADER_INCLUDED_
14 #define MITKNavigationDataReferenceTransformFilter_H_HEADER_INCLUDED_
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 
95  ~NavigationDataReferenceTransformFilter() override;
96 
97  QuaternionTransformType::Pointer m_QuaternionTransform;
98 
99  mitk::PointSet::Pointer CreateLandmarkPointsForSingleNavigationData(mitk::PointSet::Pointer landmarkContainer, const std::vector<mitk::NavigationData::Pointer>& navigationDatas);
100 
101  mitk::PointSet::Pointer m_SourceLandmarksFromNavigationDatas;
102  mitk::PointSet::Pointer m_TargetLandmarksFromNavigationDatas;
103 
104 
105  };
106 } // namespace mitk
107 #endif /* MITKNavigationDataReferenceTransformFilter_H_HEADER_INCLUDED_ */
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
Navigation Data.
STL namespace.
DataCollection - Class to facilitate loading/accessing structured data.
NavigationDataLandmarkTransformFilter applies a itk-landmark-transformation defined by source and tar...
#define MITKIGT_EXPORT
Data structure which stores a set of points. Superclass of mitk::Mesh.
Definition: mitkPointSet.h:75
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
NavigationDataReferenceTransformFilter applies a itk-landmark-transformation defined by source and ta...