Medical Imaging Interaction Toolkit  2023.12.00
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
15 #define mitkNavigationDataToMessageFilter_h
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
mitkNewMessage2Macro
#define mitkNewMessage2Macro(msgHandleObject, type1, type2)
Definition: mitkMessage.h:66
mitk::NavigationData::OrientationType
mitk::Quaternion OrientationType
Type that holds the orientation part of the tracking data.
Definition: mitkNavigationData.h:52
mitk::NavigationDataToMessageFilter::m_TimeStampEpsilon
double m_TimeStampEpsilon
Definition: mitkNavigationDataToMessageFilter.h:77
mitk::NavigationDataToNavigationDataFilter
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
Definition: mitkNavigationDataToNavigationDataFilter.h:32
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::NavigationDataToMessageFilter::m_PositionEpsilon
double m_PositionEpsilon
Definition: mitkNavigationDataToMessageFilter.h:72
mitkMessage.h
mitk::Point< ScalarType, 3 >
mitk::NavigationDataToMessageFilter::m_CovErrorEpsilon
double m_CovErrorEpsilon
Definition: mitkNavigationDataToMessageFilter.h:76
mitk::NavigationDataToMessageFilter::m_OrientationEpsilon
double m_OrientationEpsilon
Definition: mitkNavigationDataToMessageFilter.h:75
mitkNavigationDataToNavigationDataFilter.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::NavigationData::TimeStampType
double TimeStampType
type that holds the time at which the data was recorded in milliseconds
Definition: mitkNavigationData.h:60
mitk::NavigationDataToMessageFilter
NavigationDataToMessageFilter emits multiple mitk::Message messages when the input NavigationData val...
Definition: mitkNavigationDataToMessageFilter.h:37
mitk::NavigationData::CovarianceMatrixType
itk::Matrix< mitk::ScalarType, 6, 6 > CovarianceMatrixType
type that holds the error characterization of the position and orientation measurements
Definition: mitkNavigationData.h:56