Medical Imaging Interaction Toolkit  2018.4.99-b5518f0d
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 
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 /* MITKNavigationDataReferenceTransformFilter_H_HEADER_INCLUDED_ */
itk::QuaternionRigidTransform< double > QuaternionTransformType
Quaternion transform for calculating.
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
QuaternionTransformType::Pointer m_QuaternionTransform
itk Quaternion transform
DataCollection - Class to facilitate loading/accessing structured data.
NavigationDataLandmarkTransformFilter applies a itk-landmark-transformation defined by source and tar...
#define MITKIGT_EXPORT
mitk::PointSet::Pointer m_TargetLandmarksFromNavigationDatas
target points from NavigationDatas
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
mitk::PointSet::Pointer m_SourceLandmarksFromNavigationDatas
source points from NavigationDatas
NavigationDataReferenceTransformFilter applies a itk-landmark-transformation defined by source and ta...