NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cx::OpenIGTLinkTrackingSystemService Class Reference

#include <cxOpenIGTLinkTrackingSystemService.h>

Inheritance diagram for cx::OpenIGTLinkTrackingSystemService:
cx::TrackingSystemService

Signals

void setInternalState (const Tool::State val)
 
- 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)
 

Public Member Functions

 OpenIGTLinkTrackingSystemService (NetworkHandlerPtr networkHandler)
 
virtual ~OpenIGTLinkTrackingSystemService ()
 
virtual QString getUid () const
 
virtual void setState (const Tool::State val)
 asynchronously request a state. Wait for signal stateChanged() More...
 
virtual std::vector< ToolPtrgetTools ()
 
virtual TrackerConfigurationPtr getConfiguration ()
 
virtual ToolPtr getReference ()
 reference tool used by entire tracking service - NOTE: system fails if several TrackingSystemServices define this tool More...
 
virtual void resetTimeSynchronization ()
 
- Public Member Functions inherited from cx::TrackingSystemService
 TrackingSystemService ()
 
virtual ~TrackingSystemService ()
 
virtual Tool::State getState () const
 
virtual void setConfigurationFile (QString configurationFile)
 
virtual void setLoggingFolder (QString loggingFolder)
 

Protected Slots

virtual void configure ()
 sets up the software More...
 
virtual void deconfigure ()
 deconfigures the software More...
 
virtual void receiveTransform (QString devicename, Transform3D transform, double timestampMS)
 
- Protected Slots inherited from cx::TrackingSystemService
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

void internalSetState (Tool::State val)
 
OpenIGTLinkToolPtr getTool (QString devicename)
 
bool printTransformIdWarning (QString devicename)
 
- 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

QStringList mTransformIdWarningPrinted
 
- 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

Tracking system service that gets tracking information from an OpenIGTLink source

Date
2015-03-03
Author
Janne Beate Bakeng

Definition at line 35 of file cxOpenIGTLinkTrackingSystemService.h.

Constructor & Destructor Documentation

◆ OpenIGTLinkTrackingSystemService()

cx::OpenIGTLinkTrackingSystemService::OpenIGTLinkTrackingSystemService ( NetworkHandlerPtr  networkHandler)

Definition at line 35 of file cxOpenIGTLinkTrackingSystemService.cpp.

◆ ~OpenIGTLinkTrackingSystemService()

cx::OpenIGTLinkTrackingSystemService::~OpenIGTLinkTrackingSystemService ( )
virtual

Definition at line 52 of file cxOpenIGTLinkTrackingSystemService.cpp.

Member Function Documentation

◆ configure

void cx::OpenIGTLinkTrackingSystemService::configure ( )
protectedvirtualslot

sets up the software

Definition at line 92 of file cxOpenIGTLinkTrackingSystemService.cpp.

◆ deconfigure

void cx::OpenIGTLinkTrackingSystemService::deconfigure ( )
protectedvirtualslot

deconfigures the software

Definition at line 129 of file cxOpenIGTLinkTrackingSystemService.cpp.

◆ getConfiguration()

TrackerConfigurationPtr cx::OpenIGTLinkTrackingSystemService::getConfiguration ( )
virtual

Implements cx::TrackingSystemService.

Definition at line 79 of file cxOpenIGTLinkTrackingSystemService.cpp.

◆ getReference()

ToolPtr cx::OpenIGTLinkTrackingSystemService::getReference ( )
virtual

reference tool used by entire tracking service - NOTE: system fails if several TrackingSystemServices define this tool

Implements cx::TrackingSystemService.

Definition at line 87 of file cxOpenIGTLinkTrackingSystemService.cpp.

◆ getTool()

OpenIGTLinkToolPtr cx::OpenIGTLinkTrackingSystemService::getTool ( QString  devicename)
protected

Definition at line 217 of file cxOpenIGTLinkTrackingSystemService.cpp.

◆ getTools()

std::vector< ToolPtr > cx::OpenIGTLinkTrackingSystemService::getTools ( )
virtual

Implements cx::TrackingSystemService.

Definition at line 74 of file cxOpenIGTLinkTrackingSystemService.cpp.

◆ getUid()

QString cx::OpenIGTLinkTrackingSystemService::getUid ( ) const
virtual

Implements cx::TrackingSystemService.

Definition at line 57 of file cxOpenIGTLinkTrackingSystemService.cpp.

◆ internalSetState()

void cx::OpenIGTLinkTrackingSystemService::internalSetState ( Tool::State  val)
protected

Definition at line 67 of file cxOpenIGTLinkTrackingSystemService.cpp.

◆ printTransformIdWarning()

bool cx::OpenIGTLinkTrackingSystemService::printTransformIdWarning ( QString  devicename)
protected

Definition at line 179 of file cxOpenIGTLinkTrackingSystemService.cpp.

◆ receiveTransform

void cx::OpenIGTLinkTrackingSystemService::receiveTransform ( QString  devicename,
Transform3D  transform,
double  timestampMS 
)
protectedvirtualslot

Definition at line 154 of file cxOpenIGTLinkTrackingSystemService.cpp.

◆ resetTimeSynchronization()

void cx::OpenIGTLinkTrackingSystemService::resetTimeSynchronization ( )
virtual

Reimplemented from cx::TrackingSystemService.

Definition at line 234 of file cxOpenIGTLinkTrackingSystemService.cpp.

◆ setInternalState

void cx::OpenIGTLinkTrackingSystemService::setInternalState ( const Tool::State  val)
signal

◆ setState()

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

asynchronously request a state. Wait for signal stateChanged()

Implements cx::TrackingSystemService.

Definition at line 62 of file cxOpenIGTLinkTrackingSystemService.cpp.

Member Data Documentation

◆ mTransformIdWarningPrinted

QStringList cx::OpenIGTLinkTrackingSystemService::mTransformIdWarningPrinted
protected

Definition at line 57 of file cxOpenIGTLinkTrackingSystemService.h.


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