A simulated tracker that reports a circular movement. More...
#include <igstkCircularSimulatedTracker.h>
Public Member Functions | |
virtual double | GetRadius () |
virtual void | SetAngularSpeed (double _arg) |
Angular Speed measured in degrees per second. | |
virtual double | GetAngularSpeed () |
Protected Types | |
typedef Tracker::ResultType | ResultType |
typedef RealTimeClock::TimeStampType | TimeType |
Protected Member Functions | |
CircularSimulatedTracker () | |
virtual | ~CircularSimulatedTracker () |
virtual ResultType | InternalOpen (void) |
The "InternalOpen" method opens communication with a tracking device. | |
virtual ResultType | InternalStartTracking (void) |
The "InternalStartTracking" method starts tracking. | |
virtual ResultType | InternalReset (void) |
The "InternalReset" method resets tracker to a known configuration. | |
virtual ResultType | InternalStopTracking (void) |
The "InternalStopTracking" method stops tracking. | |
virtual ResultType | InternalClose (void) |
The "InternalClose" method closes communication with a tracking device. | |
virtual ResultType | VerifyTrackerToolInformation (TrackerToolType *) |
Verify tracker tool information. | |
virtual ResultType | RemoveTrackerToolFromInternalDataContainers (const TrackerToolType *) |
This method will remove entries of the traceker tool from internal data containers. | |
virtual ResultType | InternalUpdateStatus (void) |
This is the most important method of this class. | |
virtual ResultType | InternalThreadedUpdateStatus (void) |
The "InternalThreadedUpdateStatus" method updates tracker status. | |
virtual void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print object information. |
A simulated tracker that reports a circular movement.
The purpose of this class is to provide a minimal implementation of a Tracker. This class is intended only for minimal demos and for debugging applications. It is not intended to be used in a real application to be deployed in a surgery room.
Definition at line 37 of file igstkCircularSimulatedTracker.h.
typedef Tracker::ResultType igstk::CircularSimulatedTracker::ResultType [protected] |
Reimplemented from igstk::SimulatedTracker.
Definition at line 60 of file igstkCircularSimulatedTracker.h.
typedef RealTimeClock::TimeStampType igstk::CircularSimulatedTracker::TimeType [protected] |
Definition at line 61 of file igstkCircularSimulatedTracker.h.
igstk::CircularSimulatedTracker::CircularSimulatedTracker | ( | ) | [protected] |
virtual igstk::CircularSimulatedTracker::~CircularSimulatedTracker | ( | ) | [protected, virtual] |
virtual double igstk::CircularSimulatedTracker::GetRadius | ( | ) | [virtual] |
virtual void igstk::CircularSimulatedTracker::SetAngularSpeed | ( | double | _arg | ) | [virtual] |
Angular Speed measured in degrees per second.
virtual double igstk::CircularSimulatedTracker::GetAngularSpeed | ( | ) | [virtual] |
virtual ResultType igstk::CircularSimulatedTracker::InternalOpen | ( | void | ) | [protected, virtual] |
The "InternalOpen" method opens communication with a tracking device.
This method is to be implemented by a descendant class and responsible for device-specific processing
Reimplemented from igstk::SimulatedTracker.
virtual ResultType igstk::CircularSimulatedTracker::InternalStartTracking | ( | void | ) | [protected, virtual] |
The "InternalStartTracking" method starts tracking.
This method is to be implemented by a descendant class and responsible for device-specific processing
Reimplemented from igstk::SimulatedTracker.
virtual ResultType igstk::CircularSimulatedTracker::InternalReset | ( | void | ) | [protected, virtual] |
The "InternalReset" method resets tracker to a known configuration.
This method is to be implemented by a descendant class and responsible for device-specific processing
Reimplemented from igstk::SimulatedTracker.
virtual ResultType igstk::CircularSimulatedTracker::InternalStopTracking | ( | void | ) | [protected, virtual] |
The "InternalStopTracking" method stops tracking.
This method is to be implemented by a descendant class and responsible for device-specific processing
Reimplemented from igstk::SimulatedTracker.
virtual ResultType igstk::CircularSimulatedTracker::InternalClose | ( | void | ) | [protected, virtual] |
The "InternalClose" method closes communication with a tracking device.
This method is to be implemented by a descendant class and responsible for device-specific processing
Reimplemented from igstk::SimulatedTracker.
virtual ResultType igstk::CircularSimulatedTracker::VerifyTrackerToolInformation | ( | TrackerToolType * | ) | [protected, virtual] |
Verify tracker tool information.
virtual ResultType igstk::CircularSimulatedTracker::RemoveTrackerToolFromInternalDataContainers | ( | const TrackerToolType * | trackerTool | ) | [protected, virtual] |
This method will remove entries of the traceker tool from internal data containers.
Reimplemented from igstk::SimulatedTracker.
virtual ResultType igstk::CircularSimulatedTracker::InternalUpdateStatus | ( | void | ) | [protected, virtual] |
This is the most important method of this class.
It computes the transform that will be passed to the TrackerTool.
Reimplemented from igstk::SimulatedTracker.
virtual ResultType igstk::CircularSimulatedTracker::InternalThreadedUpdateStatus | ( | void | ) | [protected, virtual] |
The "InternalThreadedUpdateStatus" method updates tracker status.
This method is called in a separate thread. This method is to be implemented by a descendant class and responsible for device-specific processing
Reimplemented from igstk::SimulatedTracker.
virtual void igstk::CircularSimulatedTracker::PrintSelf | ( | std::ostream & | os, | |
itk::Indent | indent | |||
) | const [protected, virtual] |
Print object information.
Reimplemented from igstk::SimulatedTracker.