12 #ifndef CXIGSTKTRACKER_H_ 13 #define CXIGSTKTRACKER_H_ 15 #include "org_custusx_core_tracking_system_igstk_Export.h" 20 #include <boost/shared_ptr.hpp> 21 #include <igstkLogger.h> 22 #include <igstkTracker.h> 23 #include <igstkPolarisTracker.h> 24 #include <igstkAuroraTracker.h> 25 #include <itkStdStreamLogOutput.h> 27 #include "igstkSerialCommunicationForWindows.h" 29 #include "igstkSerialCommunicationForPosix.h" 101 TRACKING_SYSTEM getType()
const;
102 QString getName()
const;
103 QString getUid()
const;
104 TrackerType* getPointer()
const;
107 void attachTools(std::map<QString, IgstkToolPtr> tools);
108 void detachTools(std::map<QString, IgstkToolPtr> tools);
109 void startTracking();
112 bool isValid()
const;
114 bool isInitialized()
const;
115 bool isTracking()
const;
118 void initialized(
bool);
126 void trackerTransformCallback(
const itk::EventObject &eventVar);
129 void internalOpen(
bool value);
130 void internalInitialized(
bool value);
131 void internalTracking(
bool value);
132 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
Namespace for all CustusX production code.