CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::TrackingSystemBronchoscopyService Class Reference

Interface towards a bronchoscopy navigation tracking system.Wraps another tracking system, enabling playback of the tools in that system. More...

#include <cxTrackingSystemBronchoscopyService.h>

Inheritance diagram for cx::TrackingSystemBronchoscopyService:
cx::TrackingSystemService

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< ToolPtrgetTools ()
 
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...
 

Detailed Description

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.

Date
2014-11-11
Author
Erlend Hofstad & Christian Askeland, SINTEF

Definition at line 59 of file cxTrackingSystemBronchoscopyService.h.

Constructor & Destructor Documentation

cx::TrackingSystemBronchoscopyService::TrackingSystemBronchoscopyService ( TrackingServicePtr  trackingService,
BronchoscopePositionProjectionPtr  projectionCenterline,
ToolPtr  tool = NULL 
)

Definition at line 49 of file cxTrackingSystemBronchoscopyService.cpp.

cx::TrackingSystemBronchoscopyService::~TrackingSystemBronchoscopyService ( )
virtual

Definition at line 62 of file cxTrackingSystemBronchoscopyService.cpp.

Member Function Documentation

TrackingSystemServicePtr cx::TrackingSystemBronchoscopyService::getBase ( )
inline

Definition at line 79 of file cxTrackingSystemBronchoscopyService.h.

TrackerConfigurationPtr cx::TrackingSystemBronchoscopyService::getConfiguration ( )
virtual
ToolPtr cx::TrackingSystemBronchoscopyService::getReference ( )
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.

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

Reimplemented from cx::TrackingSystemService.

Definition at line 123 of file cxTrackingSystemBronchoscopyService.cpp.

std::vector< ToolPtr > cx::TrackingSystemBronchoscopyService::getTools ( )
virtual
virtual QString cx::TrackingSystemBronchoscopyService::getUid ( ) const
inlinevirtual

Implements cx::TrackingSystemService.

Definition at line 69 of file cxTrackingSystemBronchoscopyService.h.

void cx::TrackingSystemBronchoscopyService::setLoggingFolder ( QString  loggingFolder)
virtual
Parameters
loggingFolderpath to the folder where logs should be saved

Reimplemented from cx::TrackingSystemService.

Definition at line 133 of file cxTrackingSystemBronchoscopyService.cpp.

void cx::TrackingSystemBronchoscopyService::setState ( const Tool::State  val)
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.


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