18 #ifndef __igstkMicronTracker_h
19 #define __igstkMicronTracker_h
22 #pragma warning ( disable : 4018 )
25 #pragma warning( disable : 4284 )
124 virtual
void PrintSelf( std::ostream& os, itk::Indent indent ) const;
135 TrackerToolType * trackerTool );
139 TrackerToolType * trackerTool );
144 void operator=(const Self&);
151 bool LoadMarkerTemplates();
157 itk::MutexLock::
Pointer m_BufferLock;
160 unsigned int m_NumberOfTools;
163 std::
string m_CameraCalibrationFilesDirectory;
166 std::
string m_InitializationFile;
169 std::
string m_MarkerTemplatesDirectory;
171 Persistence * m_Persistence;
174 MCamera * m_SelectedCamera;
177 double m_CameraLightCoolness;
180 typedef std::map< std::
string, std::vector <
double > >
181 TrackerToolTransformContainerType;
183 TrackerToolTransformContainerType m_ToolTransformBuffer;
186 typedef std::map<
unsigned int, std::
string> ErrorCodeContainerType;
187 static ErrorCodeContainerType m_ErrorCodeContainer;
190 static
bool m_ErrorCodeListCreated;
193 std::map< std::
string,
int > m_ToolStatusContainer;
199 #endif //__igstk_MicronTracker_h_
virtual ResultType InternalUpdateStatus(void)
Update the status and the transforms for all TrackerTools.
#define igstkGetMacro(name, type)
Get built-in type.
igstkSetStringMacro(CameraCalibrationFilesDirectory)
Set the directory path that contains the camera calibration files.
virtual ResultType ValidateSpecifiedFrequency(double frequencyInHz)
The "ValidateSpecifiedFrequency" method checks if the specified frequency is valid for the tracking d...
static std::string GetErrorDescription(unsigned int)
Get Error description given the error code.
virtual ResultType VerifyTrackerToolInformation(const TrackerToolType *)
Verify tracker tool information.
Base class for all the IGSTK classes.
virtual ResultType InternalStopTracking(void)
Take the tracking device out of tracking mode.
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.
::itk::SmartPointer< Self > Pointer
virtual ResultType InternalReset(void)
Reset the tracking device to put it back to its original state.
igstkStandardClassTraitsMacro(MicronTracker, Tracker) public
Macro with standard traits declarations.
virtual ResultType InternalStartTracking(void)
Put the tracking device into tracking mode.
Abstract superclass for concrete IGSTK Tracker classes.
Provides support for the Claron MicronTracker.
virtual void PrintSelf(std::ostream &os, itk::Indent indent) const
Print object information.
virtual ResultType InternalClose(void)
Close communication with the tracking device.
igstkStandardAbstractClassTraitsMacro(Tracker, Object) public typedef TrackerTool TrackerToolType
Macro with standard traits declarations.
static void CreateErrorCodeList()
Create an associative container that maps error code to error descritpion.
virtual ResultType InternalThreadedUpdateStatus(void)
Update the status and the transforms.
virtual ResultType InternalOpen(void)
Open communication with the tracking device.