18 #ifndef MITKNAVIGATIONDATA_H_HEADER_INCLUDED_
19 #define MITKNAVIGATIONDATA_H_HEADER_INCLUDED_
20 #include <itkDataObject.h>
44 itkFactorylessNewMacro(Self);
69 itkSetMacro(Position, PositionType);
73 itkGetConstMacro(Position, PositionType);
77 itkSetMacro(Orientation, OrientationType);
81 itkGetConstMacro(Orientation, OrientationType);
85 virtual bool IsDataValid()
const;
89 itkSetMacro(DataValid,
bool);
101 itkSetMacro(HasPosition,
bool);
105 itkGetConstMacro(HasPosition,
bool);
109 itkSetMacro(HasOrientation,
bool);
113 itkGetConstMacro(HasOrientation,
bool);
117 itkSetMacro(CovErrorMatrix, CovarianceMatrixType);
121 itkGetConstMacro(CovErrorMatrix, CovarianceMatrixType);
125 itkSetStringMacro(Name);
129 itkGetStringMacro(Name);
141 virtual void Graft(
const DataObject *data)
override;
148 virtual void CopyInformation(
const DataObject* data)
override;
155 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
271 void ResetCovarianceValidity();
itk::SmartPointer< Self > Pointer
#define mitkNewMacro1Param(classname, type)
itk::Matrix< mitk::ScalarType, 6, 6 > CovarianceMatrixType
type that holds the error characterization of the position and orientation measurements ...
bool m_HasPosition
defines if position part of m_CovErrorMatrix is valid
bool m_HasOrientation
defines if orientation part of m_CovErrorMatrix is valid
OrientationType m_Orientation
holds the orientation part of the tracking data
DataCollection - Class to facilitate loading/accessing structured data.
CovarianceMatrixType m_CovErrorMatrix
A 6x6 covariance matrix parameterizing the Gaussian error distribution of the measured position and o...
mitk::Quaternion OrientationType
Type that holds the orientation part of the tracking data.
Time stamp in milliseconds.
#define mitkNewMacro2Param(classname, typea, typeb)
double TimeStampType
type that holds the time at which the data was recorded
#define mitkClassMacroItkParent(className, SuperClassName)
std::string m_Name
name of the navigation data
vnl_quaternion< ScalarType > Quaternion
#define mitkCloneMacro(classname)
TimeStampType m_IGTTimeStamp
contains the time at which the tracking data was recorded
MITKNEWMODULE_EXPORT bool Equal(mitk::ExampleDataStructure *leftHandSide, mitk::ExampleDataStructure *rightHandSide, mitk::ScalarType eps, bool verbose)
Returns true if the example data structures are considered equal.
#define MITKIGTBASE_EXPORT
PositionType m_Position
holds the position part of the tracking data
MITKCORE_EXPORT const ScalarType eps
bool m_DataValid
defines if the object contains valid values
mitk::Point3D PositionType
Type that holds the position part of the tracking data.