MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkNavigationDataToMessageFilter.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12
13
14#ifndef mitkNavigationDataToMessageFilter_h
15#define mitkNavigationDataToMessageFilter_h
16
18#include "mitkMessage.h"
19
20namespace mitk
21{
38 {
39 public:
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:
78
81
87 void GenerateData() override;
88 };
89} // namespace mitk
90#endif
NavigationDataToMessageFilter emits multiple mitk::Message messages when the input NavigationData val...
itkGetMacro(OrientationEpsilon, double)
itkGetMacro(TimeStampEpsilon, double)
itkSetMacro(OrientationEpsilon, double)
itkGetMacro(CovErrorEpsilon, double)
mitkNewMessage2Macro(DataValidChanged, bool, unsigned int)
Sends the message DataValidChangedMessage whenever the DataValid flag of the input changes....
mitkNewMessage2Macro(OrientationChanged, mitk::NavigationData::OrientationType, unsigned int)
Sends the message OrientationChangedMessage whenever the orientation of the input changes....
mitkNewMessage2Macro(PositionChanged, mitk::NavigationData::PositionType, unsigned int)
Sends the message PositionChangedMessage whenever the position of the input changes....
itkSetMacro(PositionEpsilon, double)
sets the nth input of the filter. Warning: this filter only has input #0!
itkGetMacro(PositionEpsilon, double)
mitkNewMessage2Macro(TimeStampChanged, mitk::NavigationData::TimeStampType, unsigned int)
Sends the message TimeStampChangedMessage whenever the timestamp of the input changes....
itkSetMacro(CovErrorEpsilon, double)
mitkClassMacro(NavigationDataToMessageFilter, NavigationDataToNavigationDataFilter)
mitkNewMessage2Macro(ErrorChanged, mitk::NavigationData::CovarianceMatrixType, unsigned int)
Sends the message ErrorChangedMessage whenever the error covariance matrix of the input changes....
itkSetMacro(TimeStampEpsilon, double)
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
itk::Matrix< mitk::ScalarType, 6, 6 > CovarianceMatrixType
type that holds the error characterization of the position and orientation measurements
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
mitk::Point3D PositionType
Type that holds the position part of the tracking data.
IGT Exceptions.