Medical Imaging Interaction Toolkit  2021.02.99-e55a5d2f
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_HEADER_INCLUDED_
15 #define MITKNavigationDataHandEyeCalibrationFilter_H_HEADER_INCLUDED_
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 /* MITKNavigationDataHandEyeCalibrationFilter_H_HEADER_INCLUDED_ */
itk::QuaternionRigidTransform< ScalarType > QuaternionRigidTransformType
transformation type for itk::QuaternionRigidTransforms
Base of all data objects.
Definition: mitkBaseData.h:42
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
DataCollection - Class to facilitate loading/accessing structured data.
std::map< int, Transform::Pointer > m_HandEyeTransformations
Map of the hand-eye transformations that should be applied to the BaseDatas.
#define MITKCAMERACALIBRATION_EXPORT
IGT filter applying a Hand-Eye transformation to a given BaseData according to the current Navigation...
std::map< int, BaseData::Pointer > m_ObjectsToTransform
Map of the BaseDatas that should be transformed.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36