Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef MITKNavigationDataReferenceTransformFilter_H_HEADER_INCLUDED_
18 #define MITKNavigationDataReferenceTransformFilter_H_HEADER_INCLUDED_
19 
21 
22 #include <itkQuaternionRigidTransform.h>
23 #include <mitkPointSet.h>
24 
25 
26 
27 namespace mitk {
28 
47  {
48  public:
50  itkFactorylessNewMacro(Self)
51  itkCloneMacro(Self)
52 
53  typedef itk::QuaternionRigidTransform<double> QuaternionTransformType;
54 
59  void SetSourceNavigationDatas(const std::vector<mitk::NavigationData::Pointer>& sourceNavigationDatas);
60 
65  void SetTargetNavigationDatas(const std::vector<mitk::NavigationData::Pointer>& sourceNavigationDatas);
66 
71  void ReinitFilter();
72 
76  const mitk::PointSet::Pointer GetSourceLandmarks();
80  const mitk::PointSet::Pointer GetTargetLandmarks();
81 
87  bool InitializeTransform();
88 
89 
90  protected:
91 
99  virtual ~NavigationDataReferenceTransformFilter();
100 
101  QuaternionTransformType::Pointer m_QuaternionTransform;
102 
103  mitk::PointSet::Pointer CreateLandmarkPointsForSingleNavigationData(mitk::PointSet::Pointer landmarkContainer, const std::vector<mitk::NavigationData::Pointer>& navigationDatas);
104 
105  mitk::PointSet::Pointer m_SourceLandmarksFromNavigationDatas;
106  mitk::PointSet::Pointer m_TargetLandmarksFromNavigationDatas;
107 
108 
109  };
110 } // namespace mitk
111 #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...
Data structure which stores a set of points. Superclass of mitk::Mesh.
Definition: mitkPointSet.h:79
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
NavigationDataReferenceTransformFilter applies a itk-landmark-transformation defined by source and ta...