Fraxinus  16.5.0-fx-rc5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::TrackingImplService Class Reference

Interface towards the navigation system. More...

#include <cxTrackingImplService.h>

Inheritance diagram for cx::TrackingImplService:
cx::TrackingService

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)
 
- Static Public Member Functions inherited from cx::TrackingService
static TrackingServicePtr getNullObject ()
 

Detailed Description

Interface towards the navigation system.

tracking_simple.png
Tracking Service ideal design.

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.

cxArchitecture_tracking.png
Tracking Service Implementation.

Examples of Polaris tracking devices:

us_probe.png
Ultrasound Probe with Polaris tracking sensors attached.
PolarisTool.jpg
Polaris Navigation Pointer from NDI
Date
Nov 6, 2008
Jan 19, 2012
Author
Janne Beate Bakeng, SINTEF
Christian Askeland, SINTEF

Definition at line 88 of file cxTrackingImplService.h.

Constructor & Destructor Documentation

cx::TrackingImplService::TrackingImplService ( ctkPluginContext *  context)

Definition at line 75 of file cxTrackingImplService.cpp.

cx::TrackingImplService::~TrackingImplService ( )
virtual

Definition at line 93 of file cxTrackingImplService.cpp.

Member Function Documentation

ToolPtr cx::TrackingImplService::getActiveTool ( )
virtual

get the tool that has higest priority when tracking

Implements cx::TrackingService.

Definition at line 328 of file cxTrackingImplService.cpp.

TrackerConfigurationPtr cx::TrackingImplService::getConfiguration ( )
virtual

Implements cx::TrackingService.

Definition at line 688 of file cxTrackingImplService.cpp.

ToolPtr cx::TrackingImplService::getFirstProbe ( )
virtual

Find a probe that can be connected to a rt source.

Priority:

  • active probe
  • visible probe
  • any probe

Implements cx::TrackingService.

Definition at line 662 of file cxTrackingImplService.cpp.

ToolPtr cx::TrackingImplService::getManualTool ( )
virtual

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

Implements cx::TrackingService.

Definition at line 649 of file cxTrackingImplService.cpp.

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

get the tool that is used as a reference, if any

Implements cx::TrackingService.

Definition at line 359 of file cxTrackingImplService.cpp.

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

Implements cx::TrackingService.

Definition at line 294 of file cxTrackingImplService.cpp.

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

Implements cx::TrackingService.

Definition at line 197 of file cxTrackingImplService.cpp.

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

get a specific tool

Implements cx::TrackingService.

Definition at line 315 of file cxTrackingImplService.cpp.

ToolMap cx::TrackingImplService::getTools ( )
virtual

get all configured and initialized tools

Implements cx::TrackingService.

Definition at line 310 of file cxTrackingImplService.cpp.

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

Implements cx::TrackingService.

Definition at line 173 of file cxTrackingImplService.cpp.

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

Implements cx::TrackingService.

Definition at line 151 of file cxTrackingImplService.cpp.

bool cx::TrackingImplService::isNull ( )
virtual

Implements cx::TrackingService.

Definition at line 100 of file cxTrackingImplService.cpp.

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

Implements cx::TrackingService.

Definition at line 136 of file cxTrackingImplService.cpp.

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

Implements cx::TrackingService.

Definition at line 141 of file cxTrackingImplService.cpp.

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

can be set to either a connected or configured tool

Implements cx::TrackingService.

Definition at line 333 of file cxTrackingImplService.cpp.

void cx::TrackingImplService::setPlaybackMode ( PlaybackTimePtr  controller)
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 117 of file cxTrackingImplService.cpp.

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

Implements cx::TrackingService.

Definition at line 205 of file cxTrackingImplService.cpp.

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

Implements cx::TrackingService.

Definition at line 158 of file cxTrackingImplService.cpp.


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