Medical Imaging Interaction Toolkit
2023.12.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);
48 itkSetMacro(RefreshRate,
unsigned int);
54 itkGetConstMacro(RefreshRate,
unsigned int);
65 bool StartTracking()
override;
71 bool StopTracking()
override;
77 bool OpenConnection()
override;
82 bool CloseConnection()
override;
87 unsigned int GetToolCount()
const override;
94 TrackingTool* GetTool(
unsigned int toolNumber)
const override;
156 void EnableGaussianNoise();
161 void DisableGaussianNoise();
167 void SetParamsForGaussianNoise(
double meanDistribution,
double deviationDistribution);
172 double GetMeanDistribution();
177 double GetDeviationDistribution();
191 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
Find image slices visible on a given plane.
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!...