CustusX  18.04-rc1
An IGT application
cx::IgstkTool Class Reference

Class for controlling the igstk tracking (hardware) interface. More...

#include <cxIgstkTool.h>

Inheritance diagram for cx::IgstkTool:

Signals

void attachedToTracker (bool)
 
void tracked (bool)
 
void toolVisible (bool)
 
void toolTransformAndTimestamp (Transform3D matrix, double timestamp, ToolPositionMetadata metadata)
 

Public Member Functions

 IgstkTool (ToolFileParser::ToolInternalStructurePtr internalStructure)
 
virtual ~IgstkTool ()
 
ToolFileParser::ToolInternalStructurePtr getInternalStructure ()
 
QString getUid ()
 
igstk::TrackerTool::Pointer getPointer () const
 return a pointer to the internal tools base object More...
 
TRACKING_SYSTEM getTrackerType ()
 
bool isReference () const
 
bool isValid () const
 Thread safe, volatile. More...
 
bool isInitialized () const
 Thread safe, volatile. More...
 
bool isTracked () const
 Thread safe, volatile. More...
 
bool isVisible () const
 Thread safe, volatile. More...
 
void setReference (IgstkToolPtr)
 
void setTracker (TrackerPtr tracker)
 
void setCalibrationTransform (Transform3D calibration)
 
void updateCalibration (const Transform3D &sMt)
 
void printInternalStructure ()
 

Static Public Member Functions

static igstk::Transform toIgstkTransform (Transform3D transform)
 
static Transform3D toTransform3D (igstk::Transform transform)
 

Detailed Description

Class for controlling the igstk tracking (hardware) interface.

Date
Mar 16, 2011
Author
Janne Beate Bakeng, SINTEF
Christian Askeland, SINTEF

Definition at line 52 of file cxIgstkTool.h.

Constructor & Destructor Documentation

cx::IgstkTool::IgstkTool ( ToolFileParser::ToolInternalStructurePtr  internalStructure)

-----------------------------------------------------—


Definition at line 60 of file cxIgstkTool.cpp.

cx::IgstkTool::~IgstkTool ( )
virtual

Definition at line 86 of file cxIgstkTool.cpp.

Member Function Documentation

void cx::IgstkTool::attachedToTracker ( bool  )
signal
ToolFileParser::ToolInternalStructurePtr cx::IgstkTool::getInternalStructure ( )

Definition at line 90 of file cxIgstkTool.cpp.

igstk::TrackerTool::Pointer cx::IgstkTool::getPointer ( ) const

return a pointer to the internal tools base object

Definition at line 100 of file cxIgstkTool.cpp.

TRACKING_SYSTEM cx::IgstkTool::getTrackerType ( )

Definition at line 105 of file cxIgstkTool.cpp.

QString cx::IgstkTool::getUid ( )

Definition at line 95 of file cxIgstkTool.cpp.

bool cx::IgstkTool::isInitialized ( ) const

Thread safe, volatile.

Definition at line 115 of file cxIgstkTool.cpp.

bool cx::IgstkTool::isReference ( ) const
inline

Definition at line 69 of file cxIgstkTool.h.

bool cx::IgstkTool::isTracked ( ) const

Thread safe, volatile.

Definition at line 120 of file cxIgstkTool.cpp.

bool cx::IgstkTool::isValid ( ) const

Thread safe, volatile.

Definition at line 110 of file cxIgstkTool.cpp.

bool cx::IgstkTool::isVisible ( ) const

Thread safe, volatile.

Definition at line 125 of file cxIgstkTool.cpp.

void cx::IgstkTool::printInternalStructure ( )

Definition at line 430 of file cxIgstkTool.cpp.

void cx::IgstkTool::setCalibrationTransform ( Transform3D  calibration)

Definition at line 374 of file cxIgstkTool.cpp.

void cx::IgstkTool::setReference ( IgstkToolPtr  refTool)

Definition at line 130 of file cxIgstkTool.cpp.

void cx::IgstkTool::setTracker ( TrackerPtr  tracker)

Definition at line 135 of file cxIgstkTool.cpp.

igstk::Transform cx::IgstkTool::toIgstkTransform ( Transform3D  transform)
static

Definition at line 27 of file cxIgstkTool.cpp.

void cx::IgstkTool::toolTransformAndTimestamp ( Transform3D  matrix,
double  timestamp,
ToolPositionMetadata  metadata 
)
signal
void cx::IgstkTool::toolVisible ( bool  )
signal
Transform3D cx::IgstkTool::toTransform3D ( igstk::Transform  transform)
static

Definition at line 34 of file cxIgstkTool.cpp.

void cx::IgstkTool::tracked ( bool  )
signal
void cx::IgstkTool::updateCalibration ( const Transform3D sMt)

Definition at line 43 of file cxIgstkTool.cpp.


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