NorMIT-nav
16.5
An IGT application
|
Implementation of a ToolManager used for testing. More...
#include <cxDummyToolManager.h>
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) |
Implementation of a ToolManager used for testing.
Definition at line 52 of file cxDummyToolManager.h.
typedef boost::shared_ptr<DummyToolManager> cx::DummyToolManager::DummyToolManagerPtr |
Definition at line 57 of file cxDummyToolManager.h.
typedef std::map<QString, DummyToolPtr> cx::DummyToolManager::DummyToolMap |
Definition at line 62 of file cxDummyToolManager.h.
|
virtual |
Definition at line 61 of file cxDummyToolManager.cpp.
void cx::DummyToolManager::addTool | ( | DummyToolPtr | tool | ) |
Definition at line 141 of file cxDummyToolManager.cpp.
|
static |
Definition at line 39 of file cxDummyToolManager.cpp.
|
virtual |
Definition at line 126 of file cxDummyToolManager.cpp.
|
virtual |
get the tool that has higest priority when tracking
Implements cx::TrackingService.
Definition at line 115 of file cxDummyToolManager.cpp.
|
inlinevirtual |
Implements cx::TrackingService.
Definition at line 93 of file cxDummyToolManager.h.
|
inlinevirtual |
get the active probe or any if none active
Implements cx::TrackingService.
Definition at line 92 of file cxDummyToolManager.h.
|
inlinevirtual |
a mouse-controllable virtual tool that is available even when not tracking.
Implements cx::TrackingService.
Definition at line 77 of file cxDummyToolManager.h.
|
virtual |
tool used as patient reference
Implements cx::TrackingService.
Definition at line 136 of file cxDummyToolManager.cpp.
|
inlinevirtual |
Implements cx::TrackingService.
Definition at line 83 of file cxDummyToolManager.h.
|
virtual |
Implements cx::TrackingService.
Definition at line 64 of file cxDummyToolManager.cpp.
|
virtual |
|
virtual |
get configured and initialized tools
Implements cx::TrackingService.
Definition at line 104 of file cxDummyToolManager.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 168 of file cxDummyToolManager.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 158 of file cxDummyToolManager.cpp.
|
inlinevirtual |
Implements cx::TrackingService.
Definition at line 89 of file cxDummyToolManager.h.
|
inlinevirtual |
Implements cx::TrackingService.
Definition at line 85 of file cxDummyToolManager.h.
|
inlinevirtual |
Implements cx::TrackingService.
Definition at line 88 of file cxDummyToolManager.h.
|
virtual |
Definition at line 131 of file cxDummyToolManager.cpp.
|
virtual |
set a tool to be the active tool
Implements cx::TrackingService.
Definition at line 119 of file cxDummyToolManager.cpp.
|
inlinevirtual |
Implements cx::TrackingService.
Definition at line 86 of file cxDummyToolManager.h.
|
virtual |
Implements cx::TrackingService.
Definition at line 69 of file cxDummyToolManager.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 163 of file cxDummyToolManager.cpp.