CustusX  15.8
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::IgstkTool Class Reference

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

#include <cxIgstkTool.h>

Inheritance diagram for cx::IgstkTool:

Classes

struct  InternalStructure
 A tools internal structure. More...
 

Signals

void attachedToTracker (bool)
 
void tracked (bool)
 
void toolVisible (bool)
 
void toolTransformAndTimestamp (Transform3D matrix, double timestamp)
 
void tps (int)
 transforms per second More...
 

Public Member Functions

 IgstkTool (InternalStructure internalStructure)
 
virtual ~IgstkTool ()
 
InternalStructure 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 (igstk::Transform calibration)
 
void updateCalibration (const Transform3D &sMt)
 
void printInternalStructure ()
 

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 72 of file cxIgstkTool.h.

Constructor & Destructor Documentation

cx::IgstkTool::IgstkTool ( IgstkTool::InternalStructure  internalStructure)

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


Definition at line 189 of file cxIgstkTool.cpp.

cx::IgstkTool::~IgstkTool ( )
virtual

Definition at line 212 of file cxIgstkTool.cpp.

Member Function Documentation

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

Definition at line 216 of file cxIgstkTool.cpp.

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

return a pointer to the internal tools base object

Definition at line 226 of file cxIgstkTool.cpp.

TRACKING_SYSTEM cx::IgstkTool::getTrackerType ( )

Definition at line 231 of file cxIgstkTool.cpp.

QString cx::IgstkTool::getUid ( )

Definition at line 221 of file cxIgstkTool.cpp.

bool cx::IgstkTool::isInitialized ( ) const

Thread safe, volatile.

Definition at line 246 of file cxIgstkTool.cpp.

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

Definition at line 134 of file cxIgstkTool.h.

bool cx::IgstkTool::isTracked ( ) const

Thread safe, volatile.

Definition at line 251 of file cxIgstkTool.cpp.

bool cx::IgstkTool::isValid ( ) const

Thread safe, volatile.

Definition at line 241 of file cxIgstkTool.cpp.

bool cx::IgstkTool::isVisible ( ) const

Thread safe, volatile.

Definition at line 256 of file cxIgstkTool.cpp.

void cx::IgstkTool::printInternalStructure ( )

Definition at line 524 of file cxIgstkTool.cpp.

void cx::IgstkTool::setCalibrationTransform ( igstk::Transform  calibration)

Definition at line 469 of file cxIgstkTool.cpp.

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

Definition at line 261 of file cxIgstkTool.cpp.

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

Definition at line 266 of file cxIgstkTool.cpp.

void cx::IgstkTool::toolTransformAndTimestamp ( Transform3D  matrix,
double  timestamp 
)
signal
void cx::IgstkTool::toolVisible ( bool  )
signal
void cx::IgstkTool::tps ( int  )
signal

transforms per second

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

Definition at line 172 of file cxIgstkTool.cpp.


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