Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkNavigationDataHandEyeCalibrationFilter.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 mitkNavigationDataHandEyeCalibrationFilter_h
15 #define mitkNavigationDataHandEyeCalibrationFilter_h
16 
18 #include "mitkNavigationData.h"
19 #include "mitkBaseData.h"
20 #include "mitkTransform.h"
21 #include "itkQuaternionRigidTransform.h"
22 
23 namespace mitk {
24 
36  {
37  public:
39 
40  itkFactorylessNewMacro(Self);
41 
42  itkCloneMacro(Self);
43 
47  typedef itk::QuaternionRigidTransform<ScalarType> QuaternionRigidTransformType;
55  void SetObjectToTransform(unsigned int index, BaseData* data);
56 
65  void SetHandEyeTransformation(unsigned int index, Transform::Pointer handEyeTransform);
66  /*
67  * \brief Transfer the information from the input to the associated BaseData
68  */
69  void GenerateData() override;
70 
71 
72  protected:
77 
82 
86  std::map<int,BaseData::Pointer> m_ObjectsToTransform;
90  std::map<int,Transform::Pointer> m_HandEyeTransformations;
91  };
92 } // namespace mitk
93 #endif
mitkNavigationData.h
mitk::NavigationDataToNavigationDataFilter
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
Definition: mitkNavigationDataToNavigationDataFilter.h:32
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::BaseData
Base of all data objects.
Definition: mitkBaseData.h:42
mitk::NavigationDataHandEyeCalibrationFilter::QuaternionRigidTransformType
itk::QuaternionRigidTransform< ScalarType > QuaternionRigidTransformType
transformation type for itk::QuaternionRigidTransforms
Definition: mitkNavigationDataHandEyeCalibrationFilter.h:42
mitkNavigationDataToNavigationDataFilter.h
mitkBaseData.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::NavigationDataHandEyeCalibrationFilter
IGT filter applying a Hand-Eye transformation to a given BaseData according to the current Navigation...
Definition: mitkNavigationDataHandEyeCalibrationFilter.h:35
mitk::NavigationDataHandEyeCalibrationFilter::m_HandEyeTransformations
std::map< int, Transform::Pointer > m_HandEyeTransformations
Map of the hand-eye transformations that should be applied to the BaseDatas.
Definition: mitkNavigationDataHandEyeCalibrationFilter.h:90
mitkTransform.h
mitk::NavigationDataHandEyeCalibrationFilter::m_ObjectsToTransform
std::map< int, BaseData::Pointer > m_ObjectsToTransform
Map of the BaseDatas that should be transformed.
Definition: mitkNavigationDataHandEyeCalibrationFilter.h:86