NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cx::DummyToolManager Class Reference

Implementation of a ToolManager used for testing. More...

#include <cxDummyToolManager.h>

Inheritance diagram for cx::DummyToolManager:
cx::TrackingService

Public Types

typedef boost::shared_ptr< DummyToolManagerDummyToolManagerPtr
 
typedef std::map< QString, DummyToolPtrDummyToolMap
 
- Public Types inherited from cx::TrackingService
typedef std::map< QString, ToolPtrToolMap
 

Public Member Functions

virtual ~DummyToolManager ()
 
virtual Tool::State getState () const
 
virtual void setState (const Tool::State val)
 
virtual ToolMap getTools ()
 get configured and initialized tools More...
 
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 Transform3D get_rMpr () const
 
virtual void set_rMpr (const Transform3D &val)
 
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 SessionToolHistoryMap getSessionHistory (double startTime, double stopTime)
 
virtual bool isPlaybackMode () const
 
virtual void setPlaybackMode (PlaybackTimePtr controller)
 
virtual void runDummyTool (DummyToolPtr tool)
 
virtual bool isNull ()
 
void addTool (DummyToolPtr tool)
 
virtual ToolPtr getFirstProbe ()
 get the active probe or any if none active More...
 
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...
 
- Public Member Functions inherited from cx::TrackingService
virtual ~TrackingService ()
 

Static Public Member Functions

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

Additional Inherited Members

- Signals inherited from cx::TrackingService
void stateChanged ()
 
void activeToolChanged (const QString &uId)
 

Detailed Description

Implementation of a ToolManager used for testing.

Date
Oct 29, 2008
Author
: jbake

Definition at line 31 of file cxDummyToolManager.h.

Member Typedef Documentation

◆ DummyToolManagerPtr

Definition at line 36 of file cxDummyToolManager.h.

◆ DummyToolMap

Definition at line 41 of file cxDummyToolManager.h.

Constructor & Destructor Documentation

◆ ~DummyToolManager()

cx::DummyToolManager::~DummyToolManager ( )
virtual

Definition at line 40 of file cxDummyToolManager.cpp.

Member Function Documentation

◆ addTool()

void cx::DummyToolManager::addTool ( DummyToolPtr  tool)

Definition at line 125 of file cxDummyToolManager.cpp.

◆ clearActiveTool()

void cx::DummyToolManager::clearActiveTool ( )
virtual

Deselect active tool.

Implements cx::TrackingService.

Definition at line 105 of file cxDummyToolManager.cpp.

◆ create()

DummyToolManager::DummyToolManagerPtr cx::DummyToolManager::create ( )
static

Definition at line 18 of file cxDummyToolManager.cpp.

◆ get_rMpr()

Transform3D cx::DummyToolManager::get_rMpr ( ) const
virtual

Definition at line 110 of file cxDummyToolManager.cpp.

◆ getActiveTool()

ToolPtr cx::DummyToolManager::getActiveTool ( )
virtual

get the tool that has higest priority when tracking

Implements cx::TrackingService.

Definition at line 94 of file cxDummyToolManager.cpp.

◆ getConfiguration()

TrackerConfigurationPtr cx::DummyToolManager::getConfiguration ( )
virtual

Implements cx::TrackingService.

Definition at line 173 of file cxDummyToolManager.cpp.

◆ getConfigurations()

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

Implements cx::TrackingService.

Definition at line 161 of file cxDummyToolManager.cpp.

◆ getCurrentTrackingSystemImplementation()

QString cx::DummyToolManager::getCurrentTrackingSystemImplementation ( )
virtual

Implements cx::TrackingService.

Definition at line 182 of file cxDummyToolManager.cpp.

◆ getFirstProbe()

virtual ToolPtr cx::DummyToolManager::getFirstProbe ( )
inlinevirtual

get the active probe or any if none active

Implements cx::TrackingService.

Definition at line 72 of file cxDummyToolManager.h.

◆ getManualTool()

virtual ToolPtr cx::DummyToolManager::getManualTool ( )
inlinevirtual

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

Implements cx::TrackingService.

Definition at line 57 of file cxDummyToolManager.h.

◆ getReferenceTool()

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

tool used as patient reference

Implements cx::TrackingService.

Definition at line 120 of file cxDummyToolManager.cpp.

◆ getSessionHistory()

virtual SessionToolHistoryMap cx::DummyToolManager::getSessionHistory ( double  startTime,
double  stopTime 
)
inlinevirtual

Implements cx::TrackingService.

Definition at line 63 of file cxDummyToolManager.h.

◆ getState()

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

Implements cx::TrackingService.

Definition at line 43 of file cxDummyToolManager.cpp.

◆ getTool()

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

get a tool

Implements cx::TrackingService.

Definition at line 88 of file cxDummyToolManager.cpp.

◆ getTools()

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

get configured and initialized tools

Implements cx::TrackingService.

Definition at line 83 of file cxDummyToolManager.cpp.

◆ getTrackingSystems()

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

Implements cx::TrackingService.

Definition at line 152 of file cxDummyToolManager.cpp.

◆ installTrackingSystem()

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

Implements cx::TrackingService.

Definition at line 142 of file cxDummyToolManager.cpp.

◆ isNull()

virtual bool cx::DummyToolManager::isNull ( )
inlinevirtual

Implements cx::TrackingService.

Definition at line 69 of file cxDummyToolManager.h.

◆ isPlaybackMode()

virtual bool cx::DummyToolManager::isPlaybackMode ( ) const
inlinevirtual

Implements cx::TrackingService.

Definition at line 65 of file cxDummyToolManager.h.

◆ resetTimeSynchronization()

void cx::DummyToolManager::resetTimeSynchronization ( )
virtual

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

Implements cx::TrackingService.

Definition at line 157 of file cxDummyToolManager.cpp.

◆ runDummyTool()

virtual void cx::DummyToolManager::runDummyTool ( DummyToolPtr  tool)
inlinevirtual

Implements cx::TrackingService.

Definition at line 68 of file cxDummyToolManager.h.

◆ set_rMpr()

void cx::DummyToolManager::set_rMpr ( const Transform3D val)
virtual

Definition at line 115 of file cxDummyToolManager.cpp.

◆ setActiveTool()

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

set a tool to be the active tool

Implements cx::TrackingService.

Definition at line 98 of file cxDummyToolManager.cpp.

◆ setCurrentTrackingSystemImplementation()

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

Implements cx::TrackingService.

Definition at line 178 of file cxDummyToolManager.cpp.

◆ setPlaybackMode()

virtual void cx::DummyToolManager::setPlaybackMode ( PlaybackTimePtr  controller)
inlinevirtual

Implements cx::TrackingService.

Definition at line 66 of file cxDummyToolManager.h.

◆ setState()

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

Implements cx::TrackingService.

Definition at line 48 of file cxDummyToolManager.cpp.

◆ unInstallTrackingSystem()

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

Implements cx::TrackingService.

Definition at line 147 of file cxDummyToolManager.cpp.


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