Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkVirtualTrackingDevice_h
14 #define mitkVirtualTrackingDevice_h
16 #include <MitkIGTExports.h>
40 itkFactorylessNewMacro(Self);
49 itkSetMacro(RefreshRate,
unsigned int);
55 itkGetConstMacro(RefreshRate,
unsigned int);
66 bool StartTracking()
override;
72 bool StopTracking()
override;
78 bool OpenConnection()
override;
83 bool CloseConnection()
override;
88 unsigned int GetToolCount()
const override;
95 TrackingTool* GetTool(
unsigned int toolNumber)
const override;
157 void EnableGaussianNoise();
162 void DisableGaussianNoise();
168 void SetParamsForGaussianNoise(
double meanDistribution,
double deviationDistribution);
173 double GetMeanDistribution();
178 double GetDeviationDistribution();
192 void ThreadStartTracking();
std::vector< VirtualTrackingTool::Pointer > ToolContainer
container type for tracking tools
bool m_GaussianNoiseEnabled
adding Gaussian Noise to tracking coordinates or not, false by default
double m_MeanDistributionParam
DataCollection - Class to facilitate loading/accessing structured data.
Interface for all Tracking Devices.
double m_DeviationDistributionParam
mean distribution for Gaussion Noise, 0.0 by default
Class representing a tracking device which generates random positions / orientations....
const mitk::ScalarType * GetBounds() const
return the tracking volume bounds
mitk::VirtualTrackingTool::SplineType::ControlPointType ControlPointType
ToolContainer m_AllTools
container for all tracking tools
std::mutex m_ToolsMutex
mutex for coordinated access of tool container
#define mitkClassMacro(className, SuperClassName)
unsigned int m_NumberOfControlPoints
number of control points for the random path generation
unsigned int m_RefreshRate
refresh rate of the internal tracking thread in milliseconds (NOT refreshs per second!...