CustusX
15.3.3-beta
An IGT application
|
Interface towards the navigation system. More...
#include <cxTrackingImplService.h>
Public Member Functions | |
TrackingImplService (ctkPluginContext *context) | |
virtual | ~TrackingImplService () |
virtual Tool::State | getState () const |
virtual void | setState (const Tool::State val) |
virtual bool | isPlaybackMode () const |
virtual ToolMap | getTools () |
get all configured and initialized tools More... | |
virtual ToolPtr | getTool (const QString &uid) |
get a specific tool More... | |
virtual ToolPtr | getActiveTool () |
get the tool that has higest priority when tracking More... | |
virtual void | setActiveTool (const QString &uid) |
can be set to either a connected or configured tool More... | |
virtual ToolPtr | getReferenceTool () const |
get the tool that is used as a reference, if any More... | |
virtual ToolPtr | getManualTool () |
a mouse-controllable virtual tool that is available even when not tracking. More... | |
virtual SessionToolHistoryMap | getSessionHistory (double startTime, double stopTime) |
virtual void | runDummyTool (DummyToolPtr tool) |
virtual ToolPtr | getFirstProbe () |
Find a probe that can be connected to a rt source. More... | |
virtual void | setPlaybackMode (PlaybackTimePtr controller) |
virtual TrackerConfigurationPtr | getConfiguration () |
virtual void | installTrackingSystem (TrackingSystemServicePtr system) |
virtual void | unInstallTrackingSystem (TrackingSystemServicePtr system) |
virtual std::vector < TrackingSystemServicePtr > | getTrackingSystems () |
bool | isNull () |
Public Member Functions inherited from cx::TrackingService | |
virtual | ~TrackingService () |
Additional Inherited Members | |
Public Types inherited from cx::TrackingService | |
typedef std::map< QString, ToolPtr > | ToolMap |
Signals inherited from cx::TrackingService | |
void | stateChanged () |
void | activeToolChanged (const QString &uId) |
void | newProbe (const ToolPtr probe) |
Static Public Member Functions inherited from cx::TrackingService | |
static TrackingServicePtr | getNullObject () |
Interface towards the navigation system.
Links the navigation to the physical world. Devices with a physical position are realized by tracking hardware.
The tracking module is an implementation of the Tool module. ToolManager and Tool are implemented using IGSTK, and communicates with the Polaris and Aurora tracking systems.
Examples of Polaris tracking devices:
Definition at line 88 of file cxTrackingImplService.h.
cx::TrackingImplService::TrackingImplService | ( | ctkPluginContext * | context | ) |
Definition at line 74 of file cxTrackingImplService.cpp.
|
virtual |
Definition at line 94 of file cxTrackingImplService.cpp.
|
virtual |
get the tool that has higest priority when tracking
Implements cx::TrackingService.
Definition at line 310 of file cxTrackingImplService.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 666 of file cxTrackingImplService.cpp.
|
virtual |
Find a probe that can be connected to a rt source.
Priority:
Implements cx::TrackingService.
Definition at line 644 of file cxTrackingImplService.cpp.
|
virtual |
a mouse-controllable virtual tool that is available even when not tracking.
Implements cx::TrackingService.
Definition at line 631 of file cxTrackingImplService.cpp.
|
virtual |
get the tool that is used as a reference, if any
Implements cx::TrackingService.
Definition at line 341 of file cxTrackingImplService.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 276 of file cxTrackingImplService.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 199 of file cxTrackingImplService.cpp.
|
virtual |
get a specific tool
Implements cx::TrackingService.
Definition at line 297 of file cxTrackingImplService.cpp.
|
virtual |
get all configured and initialized tools
Implements cx::TrackingService.
Definition at line 292 of file cxTrackingImplService.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 175 of file cxTrackingImplService.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 152 of file cxTrackingImplService.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 101 of file cxTrackingImplService.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 137 of file cxTrackingImplService.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 142 of file cxTrackingImplService.cpp.
|
virtual |
can be set to either a connected or configured tool
Implements cx::TrackingService.
Definition at line 315 of file cxTrackingImplService.cpp.
|
virtual |
Set playback mode. Set endpoints into controller.
The original tools are wrapped by playback tools. The original ones are not changed, only their movement is ignored.
Implements cx::TrackingService.
Definition at line 118 of file cxTrackingImplService.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 207 of file cxTrackingImplService.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 160 of file cxTrackingImplService.cpp.