Medical Imaging Interaction Toolkit  2021.02.99-e55a5d2f
Medical Imaging Interaction Toolkit
mitkNavigationDataToMessageFilter.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 MITKNAVIGATIONDATATOMESSAGEFILTER_H_HEADER_INCLUDED_
15 #define MITKNAVIGATIONDATATOMESSAGEFILTER_H_HEADER_INCLUDED_
16 
18 #include "mitkMessage.h"
19 
20 namespace mitk
21 {
38  {
39  public:
41  itkFactorylessNewMacro(Self);
42  itkCloneMacro(Self);
43  mitkNewMessage2Macro(PositionChanged, mitk::NavigationData::PositionType, unsigned int);
44  mitkNewMessage2Macro(OrientationChanged, mitk::NavigationData::OrientationType, unsigned int);
46  mitkNewMessage2Macro(TimeStampChanged, mitk::NavigationData::TimeStampType, unsigned int);
47  mitkNewMessage2Macro(DataValidChanged, bool, unsigned int);
48 
55  //virtual void SetInput(unsigned int idx, const NavigationData* nd);
56 
62  //virtual void SetInput(const NavigationData* nd);
63 
64  itkSetMacro(PositionEpsilon, double);
65  itkSetMacro(OrientationEpsilon, double);
66  itkSetMacro(CovErrorEpsilon, double);
67  itkSetMacro(TimeStampEpsilon, double);
68 
69  itkGetMacro(PositionEpsilon, double);
70  itkGetMacro(OrientationEpsilon, double);
71  itkGetMacro(CovErrorEpsilon, double);
72  itkGetMacro(TimeStampEpsilon, double);
73  protected:
74  double m_PositionEpsilon;
78 
81 
87  void GenerateData() override;
88  };
89 } // namespace mitk
90 #endif /* MITKNAVIGATIONDATATOMESSAGEFILTER_H_HEADER_INCLUDED_ */
itk::Matrix< mitk::ScalarType, 6, 6 > CovarianceMatrixType
type that holds the error characterization of the position and orientation measurements ...
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
DataCollection - Class to facilitate loading/accessing structured data.
mitk::Quaternion OrientationType
Type that holds the orientation part of the tracking data.
double TimeStampType
type that holds the time at which the data was recorded in milliseconds
#define MITKIGT_EXPORT
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
NavigationDataToMessageFilter emits multiple mitk::Message messages when the input NavigationData val...
#define mitkNewMessage2Macro(msgHandleObject, type1, type2)
Definition: mitkMessage.h:66