#include <igstkMicronTracker.h>
Public Member Functions | |
igstkSetStringMacro (CameraCalibrationFilesDirectory) | |
Set the directory path that contains the camera calibration files. | |
igstkSetStringMacro (InitializationFile) | |
Set the full path to the persistance file. | |
igstkSetStringMacro (MarkerTemplatesDirectory) | |
Set marker templates directory. | |
Public Attributes | |
igstkStandardClassTraitsMacro (MicronTracker, Tracker) public | |
Macro with standard traits declarations. | |
Protected Types | |
typedef Tracker::ResultType | ResultType |
Typedef for internal boolean return type. | |
Protected Member Functions | |
MicronTracker (void) | |
virtual | ~MicronTracker (void) |
virtual ResultType | InternalOpen (void) |
Open communication with the tracking device. | |
virtual ResultType | InternalClose (void) |
Close communication with the tracking device. | |
virtual ResultType | InternalStartTracking (void) |
Put the tracking device into tracking mode. | |
virtual ResultType | InternalStopTracking (void) |
Take the tracking device out of tracking mode. | |
virtual ResultType | InternalUpdateStatus (void) |
Update the status and the transforms for all TrackerTools. | |
virtual ResultType | InternalThreadedUpdateStatus (void) |
Update the status and the transforms. | |
virtual ResultType | InternalReset (void) |
Reset the tracking device to put it back to its original state. | |
virtual ResultType | VerifyTrackerToolInformation (const TrackerToolType *) |
Verify tracker tool information. | |
virtual ResultType | ValidateSpecifiedFrequency (double frequencyInHz) |
The "ValidateSpecifiedFrequency" method checks if the specified frequency is valid for the tracking device that is being used. | |
virtual void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print object information. | |
virtual ResultType | RemoveTrackerToolFromInternalDataContainers (const TrackerToolType *trackerTool) |
Remove tracker tool entry from internal containers. | |
virtual ResultType | AddTrackerToolToInternalDataContainers (const TrackerToolType *trackerTool) |
Add tracker tool entry from internal containers. | |
Static Protected Member Functions | |
static void | CreateErrorCodeList () |
Create an associative container that maps error code to error descritpion. | |
static std::string | GetErrorDescription (unsigned int) |
Get Error description given the error code. |
The MicronTracker is a small firewire-based optical tracker from Claron Technologies in Toronto, Canada. This class uses the MTC library that comes with the Tracker to communicate with the tracker camera and gather pose information of surgical tools.
Definition at line 60 of file igstkMicronTracker.h.
typedef Tracker::ResultType igstk::MicronTracker::ResultType [protected] |
Typedef for internal boolean return type.
Reimplemented from igstk::Tracker.
Definition at line 92 of file igstkMicronTracker.h.
igstk::MicronTracker::MicronTracker | ( | void | ) | [protected] |
virtual igstk::MicronTracker::~MicronTracker | ( | void | ) | [protected, virtual] |
igstk::MicronTracker::igstkSetStringMacro | ( | CameraCalibrationFilesDirectory | ) |
Set the directory path that contains the camera calibration files.
igstk::MicronTracker::igstkSetStringMacro | ( | InitializationFile | ) |
Set the full path to the persistance file.
The persistance file contains camera and marker detection algorithm parameters
igstk::MicronTracker::igstkSetStringMacro | ( | MarkerTemplatesDirectory | ) |
Set marker templates directory.
virtual ResultType igstk::MicronTracker::InternalOpen | ( | void | ) | [protected, virtual] |
virtual ResultType igstk::MicronTracker::InternalClose | ( | void | ) | [protected, virtual] |
virtual ResultType igstk::MicronTracker::InternalStartTracking | ( | void | ) | [protected, virtual] |
virtual ResultType igstk::MicronTracker::InternalStopTracking | ( | void | ) | [protected, virtual] |
virtual ResultType igstk::MicronTracker::InternalUpdateStatus | ( | void | ) | [protected, virtual] |
virtual ResultType igstk::MicronTracker::InternalThreadedUpdateStatus | ( | void | ) | [protected, virtual] |
Update the status and the transforms.
This function is called by a separate thread.
Implements igstk::Tracker.
virtual ResultType igstk::MicronTracker::InternalReset | ( | void | ) | [protected, virtual] |
virtual ResultType igstk::MicronTracker::VerifyTrackerToolInformation | ( | const TrackerToolType * | ) | [protected, virtual] |
virtual ResultType igstk::MicronTracker::ValidateSpecifiedFrequency | ( | double | frequencyInHz | ) | [protected, virtual] |
The "ValidateSpecifiedFrequency" method checks if the specified frequency is valid for the tracking device that is being used.
Reimplemented from igstk::Tracker.
virtual void igstk::MicronTracker::PrintSelf | ( | std::ostream & | os, | |
itk::Indent | indent | |||
) | const [protected, virtual] |
static void igstk::MicronTracker::CreateErrorCodeList | ( | ) | [static, protected] |
Create an associative container that maps error code to error descritpion.
static std::string igstk::MicronTracker::GetErrorDescription | ( | unsigned | int | ) | [static, protected] |
Get Error description given the error code.
virtual ResultType igstk::MicronTracker::RemoveTrackerToolFromInternalDataContainers | ( | const TrackerToolType * | trackerTool | ) | [protected, virtual] |
virtual ResultType igstk::MicronTracker::AddTrackerToolToInternalDataContainers | ( | const TrackerToolType * | trackerTool | ) | [protected, virtual] |
Macro with standard traits declarations.
Get the number of tools that have been detected.
Definition at line 64 of file igstkMicronTracker.h.