CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::TrackingServiceProxy Class Reference

#include <cxTrackingServiceProxy.h>

Inheritance diagram for cx::TrackingServiceProxy:
cx::TrackingService

Public Member Functions

 TrackingServiceProxy (ctkPluginContext *pluginContext)
 
virtual Tool::State getState () const
 
virtual void setState (const Tool::State val)
 
virtual ToolPtr getTool (const QString &uid)
 get a tool More...
 
virtual ToolPtr getActiveTool ()
 get the tool that has higest priority when tracking More...
 
virtual void setActiveTool (const QString &uid)
 set a tool to be the active tool More...
 
virtual void clearActiveTool ()
 Deselect active tool. More...
 
virtual ToolPtr getFirstProbe ()
 get the active probe or any if none active More...
 
virtual ToolPtr getReferenceTool () const
 tool used as patient reference More...
 
virtual ToolPtr getManualTool ()
 a mouse-controllable virtual tool that is available even when not tracking. More...
 
virtual ToolMap getTools ()
 get configured and initialized tools More...
 
virtual bool isPlaybackMode () const
 
virtual void setPlaybackMode (PlaybackTimePtr controller)
 
virtual SessionToolHistoryMap getSessionHistory (double startTime, double stopTime)
 
virtual void runDummyTool (DummyToolPtr tool)
 
virtual std::vector< TrackerConfigurationPtrgetConfigurations ()
 
virtual TrackerConfigurationPtr getConfiguration ()
 
virtual void setCurrentTrackingSystemImplementation (QString trackingSystemImplementation)
 
virtual QString getCurrentTrackingSystemImplementation ()
 
virtual void installTrackingSystem (TrackingSystemServicePtr system)
 
virtual void unInstallTrackingSystem (TrackingSystemServicePtr system)
 
virtual std::vector< TrackingSystemServicePtrgetTrackingSystems ()
 
virtual void resetTimeSynchronization ()
 Reset time synchronization. Used for resetting time synchronization of incoming timestamps in OpenIGTLinkTrackingSystemService. More...
 
bool isNull ()
 
- Public Member Functions inherited from cx::TrackingService
virtual ~TrackingService ()
 

Static Public Member Functions

static TrackingServicePtr create (ctkPluginContext *pluginContext)
 
- Static Public Member Functions inherited from cx::TrackingService
static TrackingServicePtr getNullObject ()
 

Additional Inherited Members

- Public Types inherited from cx::TrackingService
typedef std::map< QString, ToolPtrToolMap
 
- Signals inherited from cx::TrackingService
void stateChanged ()
 
void activeToolChanged (const QString &uId)
 

Detailed Description

Definition at line 27 of file cxTrackingServiceProxy.h.

Constructor & Destructor Documentation

cx::TrackingServiceProxy::TrackingServiceProxy ( ctkPluginContext *  pluginContext)

Definition at line 27 of file cxTrackingServiceProxy.cpp.

Member Function Documentation

void cx::TrackingServiceProxy::clearActiveTool ( )
virtual

Deselect active tool.

Implements cx::TrackingService.

Definition at line 96 of file cxTrackingServiceProxy.cpp.

TrackingServicePtr cx::TrackingServiceProxy::create ( ctkPluginContext *  pluginContext)
static

Definition at line 22 of file cxTrackingServiceProxy.cpp.

ToolPtr cx::TrackingServiceProxy::getActiveTool ( )
virtual

get the tool that has higest priority when tracking

Implements cx::TrackingService.

Definition at line 86 of file cxTrackingServiceProxy.cpp.

TrackerConfigurationPtr cx::TrackingServiceProxy::getConfiguration ( )
virtual

Implements cx::TrackingService.

Definition at line 151 of file cxTrackingServiceProxy.cpp.

std::vector< TrackerConfigurationPtr > cx::TrackingServiceProxy::getConfigurations ( )
virtual

Implements cx::TrackingService.

Definition at line 141 of file cxTrackingServiceProxy.cpp.

QString cx::TrackingServiceProxy::getCurrentTrackingSystemImplementation ( )
virtual

Implements cx::TrackingService.

Definition at line 161 of file cxTrackingServiceProxy.cpp.

ToolPtr cx::TrackingServiceProxy::getFirstProbe ( )
virtual

get the active probe or any if none active

Implements cx::TrackingService.

Definition at line 101 of file cxTrackingServiceProxy.cpp.

ToolPtr cx::TrackingServiceProxy::getManualTool ( )
virtual

a mouse-controllable virtual tool that is available even when not tracking.

Implements cx::TrackingService.

Definition at line 111 of file cxTrackingServiceProxy.cpp.

ToolPtr cx::TrackingServiceProxy::getReferenceTool ( ) const
virtual

tool used as patient reference

Implements cx::TrackingService.

Definition at line 106 of file cxTrackingServiceProxy.cpp.

SessionToolHistoryMap cx::TrackingServiceProxy::getSessionHistory ( double  startTime,
double  stopTime 
)
virtual

Implements cx::TrackingService.

Definition at line 131 of file cxTrackingServiceProxy.cpp.

Tool::State cx::TrackingServiceProxy::getState ( ) const
virtual

Implements cx::TrackingService.

Definition at line 71 of file cxTrackingServiceProxy.cpp.

ToolPtr cx::TrackingServiceProxy::getTool ( const QString &  uid)
virtual

get a tool

Implements cx::TrackingService.

Definition at line 81 of file cxTrackingServiceProxy.cpp.

TrackingService::ToolMap cx::TrackingServiceProxy::getTools ( )
virtual

get configured and initialized tools

Implements cx::TrackingService.

Definition at line 116 of file cxTrackingServiceProxy.cpp.

std::vector< TrackingSystemServicePtr > cx::TrackingServiceProxy::getTrackingSystems ( )
virtual

Implements cx::TrackingService.

Definition at line 176 of file cxTrackingServiceProxy.cpp.

void cx::TrackingServiceProxy::installTrackingSystem ( TrackingSystemServicePtr  system)
virtual

Implements cx::TrackingService.

Definition at line 166 of file cxTrackingServiceProxy.cpp.

bool cx::TrackingServiceProxy::isNull ( )
virtual

Implements cx::TrackingService.

Definition at line 66 of file cxTrackingServiceProxy.cpp.

bool cx::TrackingServiceProxy::isPlaybackMode ( ) const
virtual

Implements cx::TrackingService.

Definition at line 121 of file cxTrackingServiceProxy.cpp.

void cx::TrackingServiceProxy::resetTimeSynchronization ( )
virtual

Reset time synchronization. Used for resetting time synchronization of incoming timestamps in OpenIGTLinkTrackingSystemService.

Implements cx::TrackingService.

Definition at line 181 of file cxTrackingServiceProxy.cpp.

void cx::TrackingServiceProxy::runDummyTool ( DummyToolPtr  tool)
virtual

Implements cx::TrackingService.

Definition at line 136 of file cxTrackingServiceProxy.cpp.

void cx::TrackingServiceProxy::setActiveTool ( const QString &  uid)
virtual

set a tool to be the active tool

Implements cx::TrackingService.

Definition at line 91 of file cxTrackingServiceProxy.cpp.

void cx::TrackingServiceProxy::setCurrentTrackingSystemImplementation ( QString  trackingSystemImplementation)
virtual

Implements cx::TrackingService.

Definition at line 156 of file cxTrackingServiceProxy.cpp.

void cx::TrackingServiceProxy::setPlaybackMode ( PlaybackTimePtr  controller)
virtual

Implements cx::TrackingService.

Definition at line 126 of file cxTrackingServiceProxy.cpp.

void cx::TrackingServiceProxy::setState ( const Tool::State  val)
virtual

Implements cx::TrackingService.

Definition at line 76 of file cxTrackingServiceProxy.cpp.

void cx::TrackingServiceProxy::unInstallTrackingSystem ( TrackingSystemServicePtr  system)
virtual

Implements cx::TrackingService.

Definition at line 171 of file cxTrackingServiceProxy.cpp.


The documentation for this class was generated from the following files: