|
NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
Go to the documentation of this file.
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;
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 mValid
whether this tracker is constructed correctly or not
igstk::PolarisTracker PolarisTrackerType
boost::weak_ptr< IgstkTool > IgstkToolWeakPtr
Namespace for all CustusX production code.
boost::shared_ptr< class IgstkTool > IgstkToolPtr
CommunicationType::Pointer mCommunication
pointer to the serial communication used to communicate with the NDI trackers
PolarisTrackerType::Pointer mTempPolarisTracker
pointer to a temp polaris tracker
itk::ReceptorMemberCommand< IgstkTracker > ObserverType
boost::shared_ptr< IgstkTracker > TrackerPtr
itk::StdStreamLogOutput::Pointer mTrackerLogOutput
output to write the log to
QString mName
the trackers name
Class representing the navigation system.
bool mInitialized
whether or not the tracker is initialized
TrackerType * mTracker
pointer to the base class of the internal igstk tracker
QString mUid
the trackers unique id
ToolFileParser::TrackerInternalStructure mInternalStructure
the trackers type
igstk::SerialCommunicationForPosix CommunicationType
igstk::Tracker TrackerType
ObserverType::Pointer mTrackerObserver
observer listening for igstk events
AuroraTrackerType::Pointer mTempAuroraTracker
pointer to a temp aurora tracker
boost::weak_ptr< IgstkTracker > TrackerWeakPtr
bool mOpen
whether or not the tracker is open
igstk::Logger::Pointer mTrackerLogger
logging the internal igstk behavior
igstk::AuroraTracker AuroraTrackerType
bool mTracking
whether or not the tracker is tracking