CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
< DummyToolManager
DummyToolManagerPtr
 
typedef std::map< QString,
DummyToolPtr
DummyToolMap
 
- Public Types inherited from cx::TrackingService
typedef std::map< QString,
ToolPtr
ToolMap
 

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 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 TrackerConfigurationPtr getConfiguration ()
 
virtual void installTrackingSystem (TrackingSystemServicePtr system)
 
virtual void unInstallTrackingSystem (TrackingSystemServicePtr system)
 
virtual std::vector
< TrackingSystemServicePtr
getTrackingSystems ()
 
- 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 52 of file cxDummyToolManager.h.

Member Typedef Documentation

Definition at line 57 of file cxDummyToolManager.h.

Definition at line 62 of file cxDummyToolManager.h.

Constructor & Destructor Documentation

cx::DummyToolManager::~DummyToolManager ( )
virtual

Definition at line 61 of file cxDummyToolManager.cpp.

Member Function Documentation

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

Definition at line 141 of file cxDummyToolManager.cpp.

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

Definition at line 39 of file cxDummyToolManager.cpp.

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

Definition at line 126 of file cxDummyToolManager.cpp.

ToolPtr cx::DummyToolManager::getActiveTool ( )
virtual

get the tool that has higest priority when tracking

Implements cx::TrackingService.

Definition at line 115 of file cxDummyToolManager.cpp.

virtual TrackerConfigurationPtr cx::DummyToolManager::getConfiguration ( )
inlinevirtual

Implements cx::TrackingService.

Definition at line 93 of file cxDummyToolManager.h.

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

get the active probe or any if none active

Implements cx::TrackingService.

Definition at line 92 of file cxDummyToolManager.h.

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

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

Implements cx::TrackingService.

Definition at line 77 of file cxDummyToolManager.h.

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

tool used as patient reference

Implements cx::TrackingService.

Definition at line 136 of file cxDummyToolManager.cpp.

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

Implements cx::TrackingService.

Definition at line 83 of file cxDummyToolManager.h.

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

Implements cx::TrackingService.

Definition at line 64 of file cxDummyToolManager.cpp.

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

get a tool

Implements cx::TrackingService.

Definition at line 109 of file cxDummyToolManager.cpp.

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

get configured and initialized tools

Implements cx::TrackingService.

Definition at line 104 of file cxDummyToolManager.cpp.

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

Implements cx::TrackingService.

Definition at line 168 of file cxDummyToolManager.cpp.

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

Implements cx::TrackingService.

Definition at line 158 of file cxDummyToolManager.cpp.

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

Implements cx::TrackingService.

Definition at line 89 of file cxDummyToolManager.h.

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

Implements cx::TrackingService.

Definition at line 85 of file cxDummyToolManager.h.

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

Implements cx::TrackingService.

Definition at line 88 of file cxDummyToolManager.h.

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

Definition at line 131 of file cxDummyToolManager.cpp.

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

set a tool to be the active tool

Implements cx::TrackingService.

Definition at line 119 of file cxDummyToolManager.cpp.

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

Implements cx::TrackingService.

Definition at line 86 of file cxDummyToolManager.h.

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

Implements cx::TrackingService.

Definition at line 69 of file cxDummyToolManager.cpp.

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

Implements cx::TrackingService.

Definition at line 163 of file cxDummyToolManager.cpp.


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