CustusX
22.04-rc5
An IGT application
|
Class for controlling the igstk tracking (hardware) interface. More...
#include <cxIgstkTool.h>
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) |
Class for controlling the igstk tracking (hardware) interface.
Definition at line 52 of file cxIgstkTool.h.
cx::IgstkTool::IgstkTool | ( | ToolFileParser::ToolInternalStructurePtr | internalStructure | ) |
Definition at line 60 of file cxIgstkTool.cpp.
|
virtual |
Definition at line 86 of file cxIgstkTool.cpp.
|
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.
|
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.
|
static |
Definition at line 27 of file cxIgstkTool.cpp.
|
signal |
|
signal |
|
static |
Definition at line 34 of file cxIgstkTool.cpp.
|
signal |
void cx::IgstkTool::updateCalibration | ( | const Transform3D & | sMt | ) |
Definition at line 43 of file cxIgstkTool.cpp.