IGSTK
|
An Aurora-specific TrackerTool class. More...
#include <igstkAuroraTrackerTool.h>
Public Member Functions | |
igstkStandardClassTraitsMacro (AuroraTrackerTool, TrackerTool) void RequestSetPortNumber(unsigned int portNumber) | |
Macro with standard traits declarations. More... | |
void | RequestSetChannelNumber (unsigned int channelNumber) |
Request set the channel number. More... | |
void | RequestSetSROMFileName (const std::string &filename) |
Request set the SROM file name. More... | |
void | RequestSetPartNumber (const std::string &toolId) |
Request set the PartNumber. More... | |
void | RequestSelect5DOFTrackerTool () |
Request select 5DOF (five degrees of freedom) tracker tool. More... | |
void | RequestSelect6DOFTrackerTool () |
Request select 6DOF (six degrees of freedom) tracker tool. More... | |
bool | IsSROMFileNameSpecified () const |
Check if SROM file name specified. More... | |
bool | IsPartNumberSpecified () const |
Check if Part number is specified. More... | |
igstkGetStringMacro (SROMFileName) | |
Get SROM file name. More... | |
virtual unsigned int | GetPortNumber () |
Get tracker tool port number. More... | |
virtual unsigned int | GetChannelNumber () |
Get tracker tool channel number. More... | |
igstkGetStringMacro (PartNumber) | |
Get tracker tool part number. More... | |
bool | IsTrackerTool5DOF () const |
Check if the tracker tool selected is 5DOF or 6DOF (five or six degrees of freedom) More... | |
![]() | |
virtual TransformType | GetCalibrationTransform () |
Get the calibration transform for this tool. More... | |
void | SetCalibrationTransform (const TransformType &) |
Set the calibration transform for this tool. More... | |
virtual bool | GetUpdated () |
Get whether the tool was updated during tracker UpdateStatus() More... | |
virtual void | RequestConfigure (void) |
The "RequestConfigure" method attempts to configure the tracker tool. More... | |
virtual void | RequestDetachFromTracker () |
The "RequestDetachFromTracker" method detaches the tracker tool from the tracker. More... | |
const std::string | GetTrackerToolIdentifier () const |
Access the unique identifier to the tracker tool. More... | |
virtual void | RequestAttachToTracker (TrackerType *) |
The "RequestAttachToTracker" method attaches the tracker tool to a tracker. More... | |
![]() | |
virtual const char * | GetNameOfClass () const |
void | SetLogger (LoggerType *logger) |
Connect the Logger for this class. More... | |
void | RemoveObserver (unsigned long tag) const |
Protected Member Functions | |
AuroraTrackerTool () | |
virtual | ~AuroraTrackerTool () |
virtual void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print object information. More... | |
![]() | |
TrackerTool (void) | |
virtual | ~TrackerTool (void) |
void | SetTrackerToolIdentifier (const std::string identifier) |
Set a unique identifier to the tracker tool. More... | |
![]() | |
LoggerType * | GetLogger () const |
Object (void) | |
Constructor is protected in order to enforce the use of the New() operator. More... | |
virtual | ~Object (void) |
void | RegisterObservedObject (const ::igstk::Object *object, unsigned long tag) |
Register observed objects in an internal array so that they can be disconnected upon destruction. More... | |
void | RemoveFromObservedObjects () |
Remove observers that this object may have connected to other objects. More... | |
Additional Inherited Members | |
![]() | |
typedef Transform | TransformType |
![]() | |
typedef Object | Self |
General Typedefs. More... | |
typedef ::itk::Object | Superclass |
typedef ::itk::SmartPointer< Self > | Pointer |
typedef ::itk::SmartPointer < const Self > | ConstPointer |
typedef igstk::Logger | LoggerType |
![]() | |
static Pointer | New (void) |
![]() | |
igstkStandardAbstractClassTraitsMacro(TrackerTool, Object) public typedef Tracker | TrackerType |
Macro with standard traits declarations. More... | |
An Aurora-specific TrackerTool class.
This class provides Aurora-specific functionality for TrackerTools, and also allows compile-time type enforcement for other classes and functions that specifically require an Aurora tool.
Definition at line 50 of file igstkAuroraTrackerTool.h.
|
protected |
|
protectedvirtual |
igstk::AuroraTrackerTool::igstkStandardClassTraitsMacro | ( | AuroraTrackerTool | , |
TrackerTool | |||
) |
Macro with standard traits declarations.
Request setting the port number. The tool can only be attached to a tracker after its port number has been defined. Valid port numbers are in [0,3].
void igstk::AuroraTrackerTool::RequestSetChannelNumber | ( | unsigned int | channelNumber | ) |
Request set the channel number.
void igstk::AuroraTrackerTool::RequestSetSROMFileName | ( | const std::string & | filename | ) |
Request set the SROM file name.
void igstk::AuroraTrackerTool::RequestSetPartNumber | ( | const std::string & | toolId | ) |
Request set the PartNumber.
void igstk::AuroraTrackerTool::RequestSelect5DOFTrackerTool | ( | ) |
Request select 5DOF (five degrees of freedom) tracker tool.
void igstk::AuroraTrackerTool::RequestSelect6DOFTrackerTool | ( | ) |
Request select 6DOF (six degrees of freedom) tracker tool.
bool igstk::AuroraTrackerTool::IsSROMFileNameSpecified | ( | ) | const |
Check if SROM file name specified.
bool igstk::AuroraTrackerTool::IsPartNumberSpecified | ( | ) | const |
Check if Part number is specified.
igstk::AuroraTrackerTool::igstkGetStringMacro | ( | SROMFileName | ) |
Get SROM file name.
|
virtual |
Get tracker tool port number.
|
virtual |
Get tracker tool channel number.
igstk::AuroraTrackerTool::igstkGetStringMacro | ( | PartNumber | ) |
Get tracker tool part number.
bool igstk::AuroraTrackerTool::IsTrackerTool5DOF | ( | ) | const |
Check if the tracker tool selected is 5DOF or 6DOF (five or six degrees of freedom)
|
protectedvirtual |
Print object information.
Reimplemented from igstk::TrackerTool.