IGSTK
Protected Member Functions
igstk::InfiniTrackTracker Class Reference

Provides support for the InfiniTrack optical tracker. More...

#include <igstkInfiniTrackTracker.h>

Inheritance diagram for igstk::InfiniTrackTracker:
Inheritance graph
[legend]
Collaboration diagram for igstk::InfiniTrackTracker:
Collaboration graph
[legend]

List of all members.

Protected Member Functions

 InfiniTrackTracker (void)
 Macro with standard traits declarations.
virtual ~InfiniTrackTracker (void)
 Destructor.
virtual ResultType InternalOpen (void)
 The "InternalOpen" method opens communication with a tracking device.
virtual ResultType InternalClose (void)
 The "InternalClose" method closes communication with a tracking device.
virtual ResultType InternalReset (void)
 The "InternalReset" method resets tracker to a known configuration.
virtual ResultType InternalStartTracking (void)
 The "InternalStartTracking" method starts tracking.
virtual ResultType InternalStopTracking (void)
 The "InternalStopTracking" method stops tracking.
virtual ResultType InternalUpdateStatus (void)
 The "InternalUpdateStatus" method updates tracker status.
virtual ResultType InternalThreadedUpdateStatus (void)
 The "InternalThreadedUpdateStatus" method updates tracker status.
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 Print the object information in a stream.
virtual ResultType VerifyTrackerToolInformation (const TrackerToolType *)
 Verify if a tracker tool information is correct before attaching it to the tracker.
virtual ResultType ValidateSpecifiedFrequency (double frequencyInHz)
 The "ValidateSpecifiedFrequency" method checks if the specified frequency is valid for the tracking device that is being used.
virtual ResultType RemoveTrackerToolFromInternalDataContainers (const TrackerToolType *trackerTool)
 This method will remove entries of the traceker tool from internal data containers.
virtual ResultType AddTrackerToolToInternalDataContainers (const TrackerToolType *trackerTool)
 Add tracker tool entry to internal containers.

Detailed Description

Provides support for the InfiniTrack optical tracker.

The InfiniTrack tracker is a firewire-based optical tracker form Atracsys sàrl in Bottens, Switzerland. This class uses the infiniTrack library that comes with the Tracker to communicate with the tracker camera and gather pose information of surgical tools.

Notice that the infiniTrack library will search in the application directory for the calibration file that match the serial number of attached camera. The calibration file is identified by 0xXXXXXXXX.xml.

See also:
http://www.atracsys.com/

Definition at line 57 of file igstkInfiniTrackTracker.h.


Constructor & Destructor Documentation

igstk::InfiniTrackTracker::InfiniTrackTracker ( void  ) [protected]

Macro with standard traits declarations.

Set marker templates directory Constructor

virtual igstk::InfiniTrackTracker::~InfiniTrackTracker ( void  ) [protected, virtual]

Destructor.


Member Function Documentation

virtual ResultType igstk::InfiniTrackTracker::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

Implements igstk::Tracker.

virtual ResultType igstk::InfiniTrackTracker::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

Implements igstk::Tracker.

virtual ResultType igstk::InfiniTrackTracker::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

Implements igstk::Tracker.

virtual ResultType igstk::InfiniTrackTracker::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

Implements igstk::Tracker.

virtual ResultType igstk::InfiniTrackTracker::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

Implements igstk::Tracker.

virtual ResultType igstk::InfiniTrackTracker::InternalUpdateStatus ( void  ) [protected, virtual]

The "InternalUpdateStatus" method updates tracker status.

This method is to be implemented by a descendant class and responsible for device-specific processing

Implements igstk::Tracker.

virtual ResultType igstk::InfiniTrackTracker::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

Implements igstk::Tracker.

virtual void igstk::InfiniTrackTracker::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const [protected, virtual]

Print the object information in a stream.

Reimplemented from igstk::Tracker.

virtual ResultType igstk::InfiniTrackTracker::VerifyTrackerToolInformation ( const TrackerToolType ) [protected, virtual]

Verify if a tracker tool information is correct before attaching it to the tracker.

This method is used to verify the information supplied by the user about the tracker tool. The information depends on the tracker type. For example, during the configuration step of the InfiniTrackTracker, location of the directory containing marker template files is specified. If the user tries to attach a tracker tool with a marker type whose template file is not stored in this directory, this method will return failure. Similarly, for PolarisTracker, the method returns failure, if the tool part number specified by the user during the tracker tool configuration step does not match with the part number read from the SROM file.

Implements igstk::Tracker.

virtual ResultType igstk::InfiniTrackTracker::ValidateSpecifiedFrequency ( double  frequencyInHz) [protected, virtual]

The "ValidateSpecifiedFrequency" method checks if the specified frequency is valid for the tracking device that is being used.

This method is to be overridden in the derived tracking-device specific classes to take into account the maximum frequency possible in the tracking device

Reimplemented from igstk::Tracker.

virtual ResultType igstk::InfiniTrackTracker::RemoveTrackerToolFromInternalDataContainers ( const TrackerToolType trackerTool) [protected, virtual]

This method will remove entries of the traceker tool from internal data containers.

Implements igstk::Tracker.

virtual ResultType igstk::InfiniTrackTracker::AddTrackerToolToInternalDataContainers ( const TrackerToolType trackerTool) [protected, virtual]

Add tracker tool entry to internal containers.

Implements igstk::Tracker.


The documentation for this class was generated from the following file: