NorMIT-nav  2023.01.05-dev+develop.0da12
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

◆ IgstkTool()

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

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


Definition at line 60 of file cxIgstkTool.cpp.

◆ ~IgstkTool()

cx::IgstkTool::~IgstkTool ( )
virtual

Definition at line 86 of file cxIgstkTool.cpp.

Member Function Documentation

◆ attachedToTracker

void cx::IgstkTool::attachedToTracker ( bool  )
signal

◆ getInternalStructure()

ToolFileParser::ToolInternalStructurePtr cx::IgstkTool::getInternalStructure ( )

Definition at line 90 of file cxIgstkTool.cpp.

◆ getPointer()

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

return a pointer to the internal tools base object

Definition at line 100 of file cxIgstkTool.cpp.

◆ getTrackerType()

TRACKING_SYSTEM cx::IgstkTool::getTrackerType ( )

Definition at line 105 of file cxIgstkTool.cpp.

◆ getUid()

QString cx::IgstkTool::getUid ( )

Definition at line 95 of file cxIgstkTool.cpp.

◆ isInitialized()

bool cx::IgstkTool::isInitialized ( ) const

Thread safe, volatile.

Definition at line 115 of file cxIgstkTool.cpp.

◆ isReference()

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

Definition at line 69 of file cxIgstkTool.h.

◆ isTracked()

bool cx::IgstkTool::isTracked ( ) const

Thread safe, volatile.

Definition at line 120 of file cxIgstkTool.cpp.

◆ isValid()

bool cx::IgstkTool::isValid ( ) const

Thread safe, volatile.

Definition at line 110 of file cxIgstkTool.cpp.

◆ isVisible()

bool cx::IgstkTool::isVisible ( ) const

Thread safe, volatile.

Definition at line 125 of file cxIgstkTool.cpp.

◆ printInternalStructure()

void cx::IgstkTool::printInternalStructure ( )

Definition at line 430 of file cxIgstkTool.cpp.

◆ setCalibrationTransform()

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

Definition at line 374 of file cxIgstkTool.cpp.

◆ setReference()

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

Definition at line 130 of file cxIgstkTool.cpp.

◆ setTracker()

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

Definition at line 135 of file cxIgstkTool.cpp.

◆ toIgstkTransform()

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

Definition at line 27 of file cxIgstkTool.cpp.

◆ toolTransformAndTimestamp

void cx::IgstkTool::toolTransformAndTimestamp ( Transform3D  matrix,
double  timestamp,
ToolPositionMetadata  metadata 
)
signal

◆ toolVisible

void cx::IgstkTool::toolVisible ( bool  )
signal

◆ toTransform3D()

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

Definition at line 34 of file cxIgstkTool.cpp.

◆ tracked

void cx::IgstkTool::tracked ( bool  )
signal

◆ updateCalibration()

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: