![]() |
CustusX
16.12-rc1
An IGT application
|
Class representing the navigation system. More...
#include <cxIgstkTracker.h>
Public Types | |
| typedef igstk::SerialCommunicationForPosix | CommunicationType |
| typedef igstk::Tracker | TrackerType |
| typedef igstk::PolarisTracker | PolarisTrackerType |
| typedef igstk::AuroraTracker | AuroraTrackerType |
Signals | |
| void | initialized (bool) |
| void | open (bool) |
| void | tracking (bool) |
| void | error () |
Public Member Functions | |
| IgstkTracker (ToolFileParser::TrackerInternalStructure internalStructure) | |
| ~IgstkTracker () | |
| TRACKING_SYSTEM | getType () const |
| returns the trackers type More... | |
| QString | getName () const |
| get the trackers name More... | |
| QString | getUid () const |
| get the tracker unique id More... | |
| TrackerType * | getPointer () const |
| return a pointer to the internal tracker base More... | |
| void | open () |
| open the tracker for communication More... | |
| void | close () |
| close the More... | |
| void | attachTools (std::map< QString, IgstkToolPtr > tools) |
| attach a list of tools to the tracker hw More... | |
| void | detachTools (std::map< QString, IgstkToolPtr > tools) |
| detach the list of tools from the tracker hw More... | |
| void | startTracking () |
| start tracking More... | |
| void | stopTracking () |
| stop tracking More... | |
| bool | isValid () const |
| whether this tracker is constructed correctly or not More... | |
| bool | isOpen () const |
| bool | isInitialized () const |
| bool | isTracking () const |
Public Member Functions inherited from cx::Tracker | |
| Tracker (QObject *parent=0) | |
Protected Types | |
| typedef itk::ReceptorMemberCommand < IgstkTracker > | ObserverType |
Protected Member Functions | |
| void | trackerTransformCallback (const itk::EventObject &eventVar) |
| callback receiving events from the observer More... | |
| void | addLogging () |
| adds logging to the internal igstk components More... | |
| void | internalOpen (bool value) |
| void | internalInitialized (bool value) |
| void | internalTracking (bool value) |
| void | internalError (bool value) |
| void | shutdown () |
| shuts down the tracker, made to be used when an unrecoverable error occures More... | |
Protected Attributes | |
| ToolFileParser::TrackerInternalStructure | mInternalStructure |
| the trackers type More... | |
| bool | mValid |
| whether this tracker is constructed correctly or not More... | |
| QString | mUid |
| the trackers unique id More... | |
| QString | mName |
| the trackers name More... | |
| TrackerType * | mTracker |
| pointer to the base class of the internal igstk tracker More... | |
| PolarisTrackerType::Pointer | mTempPolarisTracker |
| pointer to a temp polaris tracker More... | |
| AuroraTrackerType::Pointer | mTempAuroraTracker |
| pointer to a temp aurora tracker More... | |
| CommunicationType::Pointer | mCommunication |
| pointer to the serial communication used to communicate with the NDI trackers More... | |
| ObserverType::Pointer | mTrackerObserver |
| observer listening for igstk events More... | |
| igstk::Logger::Pointer | mTrackerLogger |
| logging the internal igstk behavior More... | |
| itk::StdStreamLogOutput::Pointer | mTrackerLogOutput |
| output to write the log to More... | |
| bool | mOpen |
| whether or not the tracker is open More... | |
| bool | mInitialized |
| whether or not the tracker is initialized More... | |
| bool | mTracking |
| whether or not the tracker is tracking More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from cx::Tracker | |
| static QStringList | getSupportedTrackingSystems () |
Class representing the navigation system.
Definition at line 77 of file cxIgstkTracker.h.
| typedef igstk::AuroraTracker cx::IgstkTracker::AuroraTrackerType |
Definition at line 91 of file cxIgstkTracker.h.
| typedef igstk::SerialCommunicationForPosix cx::IgstkTracker::CommunicationType |
The type of serial communication used on Mac and Linux.
Definition at line 87 of file cxIgstkTracker.h.
|
protected |
Definition at line 145 of file cxIgstkTracker.h.
| typedef igstk::PolarisTracker cx::IgstkTracker::PolarisTrackerType |
Definition at line 90 of file cxIgstkTracker.h.
| typedef igstk::Tracker cx::IgstkTracker::TrackerType |
Definition at line 89 of file cxIgstkTracker.h.
| cx::IgstkTracker::IgstkTracker | ( | ToolFileParser::TrackerInternalStructure | internalStructure | ) |
Definition at line 47 of file cxIgstkTracker.cpp.
| cx::IgstkTracker::~IgstkTracker | ( | ) |
Definition at line 119 of file cxIgstkTracker.cpp.
|
protected |
adds logging to the internal igstk components
Definition at line 350 of file cxIgstkTracker.cpp.
| void cx::IgstkTracker::attachTools | ( | std::map< QString, IgstkToolPtr > | tools | ) |
attach a list of tools to the tracker hw
Definition at line 166 of file cxIgstkTracker.cpp.
| void cx::IgstkTracker::close | ( | ) |
close the
Definition at line 159 of file cxIgstkTracker.cpp.
| void cx::IgstkTracker::detachTools | ( | std::map< QString, IgstkToolPtr > | tools | ) |
detach the list of tools from the tracker hw
Definition at line 193 of file cxIgstkTracker.cpp.
|
signal |
| QString cx::IgstkTracker::getName | ( | ) | const |
get the trackers name
Definition at line 128 of file cxIgstkTracker.cpp.
| IgstkTracker::TrackerType * cx::IgstkTracker::getPointer | ( | ) | const |
return a pointer to the internal tracker base
Definition at line 138 of file cxIgstkTracker.cpp.
| TRACKING_SYSTEM cx::IgstkTracker::getType | ( | ) | const |
returns the trackers type
Definition at line 123 of file cxIgstkTracker.cpp.
| QString cx::IgstkTracker::getUid | ( | ) | const |
get the tracker unique id
Definition at line 133 of file cxIgstkTracker.cpp.
|
signal |
|
protected |
Definition at line 399 of file cxIgstkTracker.cpp.
|
protected |
Definition at line 379 of file cxIgstkTracker.cpp.
|
protected |
Definition at line 369 of file cxIgstkTracker.cpp.
|
protected |
Definition at line 389 of file cxIgstkTracker.cpp.
| bool cx::IgstkTracker::isInitialized | ( | ) | const |
Definition at line 229 of file cxIgstkTracker.cpp.
| bool cx::IgstkTracker::isOpen | ( | ) | const |
Definition at line 224 of file cxIgstkTracker.cpp.
| bool cx::IgstkTracker::isTracking | ( | ) | const |
Definition at line 234 of file cxIgstkTracker.cpp.
| bool cx::IgstkTracker::isValid | ( | ) | const |
whether this tracker is constructed correctly or not
Definition at line 219 of file cxIgstkTracker.cpp.
| void cx::IgstkTracker::open | ( | ) |
open the tracker for communication
Definition at line 143 of file cxIgstkTracker.cpp.
|
signal |
|
protected |
shuts down the tracker, made to be used when an unrecoverable error occures
Definition at line 405 of file cxIgstkTracker.cpp.
| void cx::IgstkTracker::startTracking | ( | ) |
start tracking
Definition at line 209 of file cxIgstkTracker.cpp.
| void cx::IgstkTracker::stopTracking | ( | ) |
stop tracking
Definition at line 214 of file cxIgstkTracker.cpp.
|
protected |
callback receiving events from the observer
Definition at line 239 of file cxIgstkTracker.cpp.
|
signal |
|
protected |
pointer to the serial communication used to communicate with the NDI trackers
Definition at line 166 of file cxIgstkTracker.h.
|
protected |
whether or not the tracker is initialized
Definition at line 172 of file cxIgstkTracker.h.
|
protected |
the trackers type
Definition at line 157 of file cxIgstkTracker.h.
|
protected |
the trackers name
Definition at line 160 of file cxIgstkTracker.h.
|
protected |
whether or not the tracker is open
Definition at line 171 of file cxIgstkTracker.h.
|
protected |
pointer to a temp aurora tracker
Definition at line 164 of file cxIgstkTracker.h.
|
protected |
pointer to a temp polaris tracker
Definition at line 163 of file cxIgstkTracker.h.
|
protected |
pointer to the base class of the internal igstk tracker
Definition at line 161 of file cxIgstkTracker.h.
|
protected |
logging the internal igstk behavior
Definition at line 168 of file cxIgstkTracker.h.
|
protected |
output to write the log to
Definition at line 169 of file cxIgstkTracker.h.
|
protected |
observer listening for igstk events
Definition at line 167 of file cxIgstkTracker.h.
|
protected |
whether or not the tracker is tracking
Definition at line 173 of file cxIgstkTracker.h.
|
protected |
the trackers unique id
Definition at line 159 of file cxIgstkTracker.h.
|
protected |
whether this tracker is constructed correctly or not
Definition at line 158 of file cxIgstkTracker.h.