CustusX
22.04-rc5
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 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< TrackerConfigurationPtr > | getConfigurations () |
virtual TrackerConfigurationPtr | getConfiguration () |
virtual void | setCurrentTrackingSystemImplementation (QString trackingSystemImplementation) |
virtual QString | getCurrentTrackingSystemImplementation () |
virtual void | installTrackingSystem (TrackingSystemServicePtr system) |
virtual void | unInstallTrackingSystem (TrackingSystemServicePtr system) |
virtual std::vector< TrackingSystemServicePtr > | getTrackingSystems () |
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) |
Implementation of a ToolManager used for testing.
Definition at line 31 of file cxDummyToolManager.h.
typedef boost::shared_ptr<DummyToolManager> cx::DummyToolManager::DummyToolManagerPtr |
Definition at line 36 of file cxDummyToolManager.h.
typedef std::map<QString, DummyToolPtr> cx::DummyToolManager::DummyToolMap |
Definition at line 41 of file cxDummyToolManager.h.
|
virtual |
Definition at line 40 of file cxDummyToolManager.cpp.
void cx::DummyToolManager::addTool | ( | DummyToolPtr | tool | ) |
Definition at line 125 of file cxDummyToolManager.cpp.
|
virtual |
Deselect active tool.
Implements cx::TrackingService.
Definition at line 105 of file cxDummyToolManager.cpp.
|
static |
Definition at line 18 of file cxDummyToolManager.cpp.
|
virtual |
Definition at line 110 of file cxDummyToolManager.cpp.
|
virtual |
get the tool that has higest priority when tracking
Implements cx::TrackingService.
Definition at line 94 of file cxDummyToolManager.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 173 of file cxDummyToolManager.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 161 of file cxDummyToolManager.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 182 of file cxDummyToolManager.cpp.
|
inlinevirtual |
get the active probe or any if none active
Implements cx::TrackingService.
Definition at line 72 of file cxDummyToolManager.h.
|
inlinevirtual |
a mouse-controllable virtual tool that is available even when not tracking.
Implements cx::TrackingService.
Definition at line 57 of file cxDummyToolManager.h.
|
virtual |
tool used as patient reference
Implements cx::TrackingService.
Definition at line 120 of file cxDummyToolManager.cpp.
|
inlinevirtual |
Implements cx::TrackingService.
Definition at line 63 of file cxDummyToolManager.h.
|
virtual |
Implements cx::TrackingService.
Definition at line 43 of file cxDummyToolManager.cpp.
|
virtual |
|
virtual |
get configured and initialized tools
Implements cx::TrackingService.
Definition at line 83 of file cxDummyToolManager.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 152 of file cxDummyToolManager.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 142 of file cxDummyToolManager.cpp.
|
inlinevirtual |
Implements cx::TrackingService.
Definition at line 69 of file cxDummyToolManager.h.
|
inlinevirtual |
Implements cx::TrackingService.
Definition at line 65 of file cxDummyToolManager.h.
|
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.
|
inlinevirtual |
Implements cx::TrackingService.
Definition at line 68 of file cxDummyToolManager.h.
|
virtual |
Definition at line 115 of file cxDummyToolManager.cpp.
|
virtual |
set a tool to be the active tool
Implements cx::TrackingService.
Definition at line 98 of file cxDummyToolManager.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 178 of file cxDummyToolManager.cpp.
|
inlinevirtual |
Implements cx::TrackingService.
Definition at line 66 of file cxDummyToolManager.h.
|
virtual |
Implements cx::TrackingService.
Definition at line 48 of file cxDummyToolManager.cpp.
|
virtual |
Implements cx::TrackingService.
Definition at line 147 of file cxDummyToolManager.cpp.