33 #ifndef CXIGSTKTRACKER_H_
34 #define CXIGSTKTRACKER_H_
36 #include "org_custusx_core_tracking_system_igstk_Export.h"
41 #include <boost/shared_ptr.hpp>
42 #include <igstkLogger.h>
43 #include <igstkTracker.h>
44 #include <igstkPolarisTracker.h>
45 #include <igstkAuroraTracker.h>
46 #include <itkStdStreamLogOutput.h>
48 #include "igstkSerialCommunicationForWindows.h"
50 #include "igstkSerialCommunicationForPosix.h"
122 TRACKING_SYSTEM getType()
const;
123 QString getName()
const;
124 QString getUid()
const;
128 void attachTools(std::map<QString, IgstkToolPtr> tools);
129 void detachTools(std::map<QString, IgstkToolPtr> tools);
130 void startTracking();
133 bool isValid()
const;
135 bool isInitialized()
const;
136 bool isTracking()
const;
139 void initialized(
bool);
147 void trackerTransformCallback(
const itk::EventObject &eventVar);
150 void internalOpen(
bool value);
151 void internalInitialized(
bool value);
152 void internalTracking(
bool value);
153 void internalError(
bool value);
bool mTracking
whether or not the tracker is tracking
igstk::SerialCommunicationForPosix CommunicationType
PolarisTrackerType::Pointer mTempPolarisTracker
pointer to a temp polaris tracker
bool mValid
whether this tracker is constructed correctly or not
Class representing the navigation system.
ObserverType::Pointer mTrackerObserver
observer listening for igstk events
boost::shared_ptr< class IgstkTool > IgstkToolPtr
bool mOpen
whether or not the tracker is open
boost::weak_ptr< IgstkTracker > TrackerWeakPtr
TrackerType * mTracker
pointer to the base class of the internal igstk tracker
QString mUid
the trackers unique id
igstk::Tracker TrackerType
itk::ReceptorMemberCommand< IgstkTracker > ObserverType
CommunicationType::Pointer mCommunication
pointer to the serial communication used to communicate with the NDI trackers
boost::weak_ptr< IgstkTool > IgstkToolWeakPtr
igstk::Logger::Pointer mTrackerLogger
logging the internal igstk behavior
bool mInitialized
whether or not the tracker is initialized
igstk::AuroraTracker AuroraTrackerType
AuroraTrackerType::Pointer mTempAuroraTracker
pointer to a temp aurora tracker
ToolFileParser::TrackerInternalStructure mInternalStructure
the trackers type
itk::StdStreamLogOutput::Pointer mTrackerLogOutput
output to write the log to
QString mName
the trackers name
igstk::PolarisTracker PolarisTrackerType
boost::shared_ptr< IgstkTracker > TrackerPtr