Medical Imaging Interaction Toolkit  2016.11.0
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,
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 MITKNAVIGATIONDATATOMESSAGEFILTER_H_HEADER_INCLUDED_
19 #define MITKNAVIGATIONDATATOMESSAGEFILTER_H_HEADER_INCLUDED_
20 
22 #include "mitkMessage.h"
23 
24 namespace mitk
25 {
42  {
43  public:
45  itkFactorylessNewMacro(Self)
46  itkCloneMacro(Self)
47  mitkNewMessage2Macro(PositionChanged, mitk::NavigationData::PositionType, unsigned int);
48  mitkNewMessage2Macro(OrientationChanged, mitk::NavigationData::OrientationType, unsigned int);
50  mitkNewMessage2Macro(TimeStampChanged, mitk::NavigationData::TimeStampType, unsigned int);
51  mitkNewMessage2Macro(DataValidChanged, bool, unsigned int);
52 
59  //virtual void SetInput(unsigned int idx, const NavigationData* nd);
60 
66  //virtual void SetInput(const NavigationData* nd);
67 
68  itkSetMacro(PositionEpsilon, double);
69  itkSetMacro(OrientationEpsilon, double);
70  itkSetMacro(CovErrorEpsilon, double);
71  itkSetMacro(TimeStampEpsilon, double);
72 
73  itkGetMacro(PositionEpsilon, double);
74  itkGetMacro(OrientationEpsilon, double);
75  itkGetMacro(CovErrorEpsilon, double);
76  itkGetMacro(TimeStampEpsilon, double);
77  protected:
78  double m_PositionEpsilon;
82 
85 
91  virtual void GenerateData() override;
92  };
93 } // namespace mitk
94 #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
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
NavigationDataToMessageFilter emits multiple mitk::Message messages when the input NavigationData val...
#define mitkNewMessage2Macro(msgHandleObject, type1, type2)
Definition: mitkMessage.h:70