Medical Imaging Interaction Toolkit  2016.11.0
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,
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 
18 #ifndef MITKNavigationDataHandEyeCalibrationFilter_H_HEADER_INCLUDED_
19 #define MITKNavigationDataHandEyeCalibrationFilter_H_HEADER_INCLUDED_
20 
22 #include "mitkNavigationData.h"
23 #include "mitkBaseData.h"
24 #include "mitkTransform.h"
25 #include "itkQuaternionRigidTransform.h"
26 
27 namespace mitk {
28 
40  {
41  public:
43 
44  itkFactorylessNewMacro(Self)
45  itkCloneMacro(Self)
46 
47 
50  typedef itk::QuaternionRigidTransform<ScalarType> QuaternionRigidTransformType;
58  void SetObjectToTransform(unsigned int index, BaseData* data);
59 
68  void SetHandEyeTransformation(unsigned int index, Transform::Pointer handEyeTransform);
69  /*
70  * \brief Transfer the information from the input to the associated BaseData
71  */
72  virtual void GenerateData() override;
73 
74 
75  protected:
80 
84  ~NavigationDataHandEyeCalibrationFilter();
85 
89  std::map<int,BaseData::Pointer> m_ObjectsToTransform;
93  std::map<int,Transform::Pointer> m_HandEyeTransformations;
94  };
95 } // namespace mitk
96 #endif /* MITKNavigationDataHandEyeCalibrationFilter_H_HEADER_INCLUDED_ */
itk::QuaternionRigidTransform< ScalarType > QuaternionRigidTransformType
transformation type for itk::QuaternionRigidTransforms
Base of all data objects.
Definition: mitkBaseData.h:39
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
double ScalarType
STL namespace.
DataCollection - Class to facilitate loading/accessing structured data.
IGT filter applying a Hand-Eye transformation to a given BaseData according to the current Navigation...
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
class representing a transfrom in 3D
Definition: mitkTransform.h:40