17 #ifndef __igstkAscensionTracker_h
18 #define __igstkAscensionTracker_h
110 virtual
void PrintSelf( std::ostream& os, ::itk::Indent indent ) const;
115 void operator=(const Self&);
119 typedef AscensionTrackerToolType::
Pointer AscensionTrackerToolPointer;
121 AscensionTrackerToolConstPointer;
125 void EnableToolPorts(
void );
128 void DisableToolPorts(
void );
131 unsigned int m_NumberOfTools;
134 CommunicationType::
Pointer m_Communication;
137 CommandInterpreterType::
Pointer m_CommandInterpreter;
140 itk::MutexLock::
Pointer m_BufferLock;
146 typedef std::map< std::
string, std::vector <
double > >
147 TrackerToolTransformContainerType;
149 TrackerToolTransformContainerType m_ToolTransformBuffer;
152 typedef std::map<
unsigned int, std::
string> ErrorCodeContainerType;
153 static ErrorCodeContainerType m_ErrorCodeContainer;
156 static
bool m_ErrorCodeListCreated;
159 std::map< std::
string,
int > m_ToolStatusContainer;
165 #endif //__igstk_AscensionTracker_h_
Provides support for the Ascension trackers.
virtual ResultType InternalStopTracking(void)
Take the tracking device out of tracking mode.
#define igstkGetMacro(name, type)
Get built-in type.
Base class for all the IGSTK classes.
void SetCommunication(CommunicationType *communication)
The SetCommunication method is used to attach a communication object to the tracker object...
virtual void PrintSelf(std::ostream &os,::itk::Indent indent) const
Print object information.
#define igstkStandardClassTraitsMacro(classname, superclassname)
Convenience macro for traits of a non-templated class.
virtual ResultType VerifyTrackerToolInformation(const TrackerToolType *trackerTool)
Verify tracker tool information.
virtual ResultType InternalClose(void)
Close communication with the tracking device.
::itk::SmartPointer< Self > Pointer
Abstract superclass for concrete IGSTK Tracker classes.
virtual ResultType InternalActivateTools(void)
Activate the tools attached to the tracking device.
virtual ResultType InternalReset(void)
Reset the tracking device to put it back to its original state.
igstkStandardClassTraitsMacro(AscensionTracker, Tracker) public typedef igstk::SerialCommunication CommunicationType
Macro with standard traits declarations.
virtual ResultType RemoveTrackerToolFromInternalDataContainers(const TrackerToolType *trackerTool)
Remove tracker tool from internal containers.
virtual ResultType AddTrackerToolToInternalDataContainers(const TrackerToolType *trackerTool)
Add tracker tool entry from internal containers.
virtual ResultType InternalDeactivateTools(void)
Deactivate the tools attached to the tracking device.
This class implements communication over a serial port via RS-232.
igstkStandardAbstractClassTraitsMacro(Tracker, Object) public typedef TrackerTool TrackerToolType
Macro with standard traits declarations.
::itk::SmartPointer< const Self > ConstPointer
virtual ResultType InternalUpdateStatus(void)
Update the status and the transforms for all TrackerTools.
virtual ResultType InternalStartTracking(void)
Put the tracking device into tracking mode.
virtual ResultType InternalOpen(void)
Open communication with the tracking device.
virtual ResultType InternalThreadedUpdateStatus(void)
Update the status and the transforms.