CustusX
2023.01.05-dev+develop.0da12
An IGT application
|
Interface towards a bronchoscopy navigation tracking system.Wraps another tracking system, enabling playback of the tools in that system. More...
#include <cxTrackingSystemBronchoscopyService.h>
Public Member Functions | |
TrackingSystemBronchoscopyService (TrackingServicePtr trackingService, BronchoscopePositionProjectionPtr projectionCenterline, ToolPtr tool=NULL) | |
virtual | ~TrackingSystemBronchoscopyService () |
bool | setTrackingSystem (QString trackingSystemName) |
virtual QString | getUid () const |
void | setTool (ToolPtr tool) |
virtual std::vector< ToolPtr > | getTools () |
virtual Tool::State | getState () const |
virtual void | setState (const Tool::State val) |
asynchronously request a state. Wait for signal stateChanged() More... | |
virtual void | setLoggingFolder (QString loggingFolder) |
virtual TrackerConfigurationPtr | getConfiguration () |
TrackingSystemServicePtr | getBase () |
ToolPtr | getReference () |
reference tool used by entire tracking service - NOTE: system fails if several TrackingSystemServices define this tool More... | |
Public Member Functions inherited from cx::TrackingSystemService | |
TrackingSystemService () | |
virtual | ~TrackingSystemService () |
virtual void | setConfigurationFile (QString configurationFile) |
virtual void | resetTimeSynchronization () |
Additional Inherited Members | |
Signals inherited from cx::TrackingSystemService | |
void | stateChanged () |
Reset time synchronization. Used for resetting time synchronization of incoming timestamps in OpenIGTLinkTrackingSystemService. More... | |
void | updateTrackingSystemImplementation (QString trackingSystemImplementation) |
Protected Slots inherited from cx::TrackingSystemService | |
virtual void | deconfigure () |
deconfigures the software More... | |
virtual void | configure () |
sets up the software More... | |
virtual void | initialize () |
connects to the hardware More... | |
virtual void | uninitialize () |
disconnects from the hardware More... | |
virtual void | startTracking () |
starts tracking More... | |
virtual void | stopTracking () |
stops tracking More... | |
Protected Member Functions inherited from cx::TrackingSystemService | |
virtual bool | isConfigured () const |
virtual bool | isInitialized () const |
virtual bool | isTracking () const |
void | internalSetState (Tool::State val) |
Protected Attributes inherited from cx::TrackingSystemService | |
Tool::State | mState |
QString | mConfigurationFilePath |
path to the configuration file More... | |
QString | mLoggingFolder |
path to where logging should be saved More... | |
Interface towards a bronchoscopy navigation tracking system.
Wraps another tracking system, enabling playback of the tools in that system.
The original tools are wrapped by playback tools. The original ones are not changed, only their movement is ignored.
Definition at line 59 of file cxTrackingSystemBronchoscopyService.h.
cx::TrackingSystemBronchoscopyService::TrackingSystemBronchoscopyService | ( | TrackingServicePtr | trackingService, |
BronchoscopePositionProjectionPtr | projectionCenterline, | ||
ToolPtr | tool = NULL |
||
) |
Definition at line 49 of file cxTrackingSystemBronchoscopyService.cpp.
|
virtual |
Definition at line 62 of file cxTrackingSystemBronchoscopyService.cpp.
|
inline |
Definition at line 79 of file cxTrackingSystemBronchoscopyService.h.
|
virtual |
Implements cx::TrackingSystemService.
Definition at line 138 of file cxTrackingSystemBronchoscopyService.cpp.
|
virtual |
reference tool used by entire tracking service - NOTE: system fails if several TrackingSystemServices define this tool
Implements cx::TrackingSystemService.
Definition at line 112 of file cxTrackingSystemBronchoscopyService.cpp.
|
virtual |
Reimplemented from cx::TrackingSystemService.
Definition at line 123 of file cxTrackingSystemBronchoscopyService.cpp.
|
virtual |
Implements cx::TrackingSystemService.
Definition at line 118 of file cxTrackingSystemBronchoscopyService.cpp.
|
inlinevirtual |
Implements cx::TrackingSystemService.
Definition at line 69 of file cxTrackingSystemBronchoscopyService.h.
|
virtual |
loggingFolder | path to the folder where logs should be saved |
Reimplemented from cx::TrackingSystemService.
Definition at line 133 of file cxTrackingSystemBronchoscopyService.cpp.
|
virtual |
asynchronously request a state. Wait for signal stateChanged()
Implements cx::TrackingSystemService.
Definition at line 128 of file cxTrackingSystemBronchoscopyService.cpp.
void cx::TrackingSystemBronchoscopyService::setTool | ( | ToolPtr | tool | ) |
Definition at line 90 of file cxTrackingSystemBronchoscopyService.cpp.
bool cx::TrackingSystemBronchoscopyService::setTrackingSystem | ( | QString | trackingSystemName | ) |
Definition at line 66 of file cxTrackingSystemBronchoscopyService.cpp.