CustusX
2023.01.05-dev+develop.0da12
An IGT application
|
#include <cxToolProxy.h>
Public Member Functions | |
virtual | ~ToolProxy () |
virtual std::set< Type > | getTypes () const |
virtual vtkPolyDataPtr | getGraphicsPolyData () const |
get geometric 3D description More... | |
virtual TimedTransformMapPtr | getPositionHistory () |
get historical positions More... | |
virtual ToolPositionMetadata | getMetadata () const |
virtual const std::map< double, ToolPositionMetadata > & | getMetadataHistory () |
virtual bool | getVisible () const |
virtual bool | isInitialized () const |
virtual QString | getUid () const |
virtual QString | getName () const |
virtual bool | isCalibrated () const |
a tool may not be calibrated, then no tracking is allowed More... | |
virtual Transform3D | getCalibration_sMt () const |
get the calibration transform from tool space to sensor space (where the spheres or similar live) More... | |
virtual void | setCalibration_sMt (Transform3D calibration) |
requests to use the calibration and replaces the tools calibration file More... | |
virtual ProbePtr | getProbe () const |
additional information if the tool represents an US Probe. Extends getProbeSector() More... | |
virtual double | getTimestamp () const |
latest valid timestamp for the position matrix. 0 means indeterminate (for f.ex. manual tools) More... | |
virtual void | printSelf (std::ostream &os, Indent indent) |
dump internal debug data More... | |
virtual double | getTooltipOffset () const |
get a virtual offset extending from the tool tip. More... | |
virtual void | setTooltipOffset (double val) |
set a virtual offset extending from the tool tip. More... | |
virtual std::map< QString, Vector3D > | getReferencePoints () const |
Get the optional reference points from this tool. More... | |
virtual bool | hasReferencePointWithId (QString id) |
virtual TimedTransformMap | getSessionHistory (double startTime, double stopTime) |
virtual Transform3D | get_prMt () const |
virtual void | resetTrackingPositionFilter (TrackingPositionFilterPtr filter) |
virtual void | set_prMt (const Transform3D &prMt, double timestamp) |
if available for this type, set pos, ts<0 means use current time More... | |
virtual void | setVisible (bool vis) |
if available for this type, set visibility More... | |
virtual ToolPtr | getBaseTool () |
virtual bool | isNull () |
Public Member Functions inherited from cx::Tool | |
Tool (const QString &uid="", const QString &name="") | |
virtual | ~Tool () |
virtual bool | hasType (Type type) const |
Static Public Member Functions | |
static ToolPtr | create (ToolPtr base, ctkPluginContext *pluginContext) |
Static Public Member Functions inherited from cx::Tool | |
static vtkPolyDataPtr | createDefaultPolyDataCone () |
static ToolPtr | getNullObject () |
Additional Inherited Members | |
Public Types inherited from cx::Tool | |
enum | State { tsNONE =0, tsCONFIGURED, tsINITIALIZED, tsTRACKING } |
enum | Type { TOOL_NONE, TOOL_REFERENCE, TOOL_MANUAL, TOOL_POINTER, TOOL_US_PROBE, TOOL_MICROSCOPE } |
Signals inherited from cx::Tool | |
void | toolTransformAndTimestamp (Transform3D matrix, double timestamp) |
void | toolVisible (bool visible) |
void | tooltipOffset (double offset) |
void | toolProbeSector () |
void | tps (int) |
Protected Attributes inherited from cx::Tool | |
QString | mUid |
QString | mName |
Proxy for a real Tool. Turns to Null when Tool becomes unavailable
Definition at line 27 of file cxToolProxy.h.
|
inlinevirtual |
Definition at line 33 of file cxToolProxy.h.
Definition at line 10 of file cxToolProxy.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 165 of file cxToolProxy.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 185 of file cxToolProxy.cpp.
|
virtual |
get the calibration transform from tool space to sensor space (where the spheres or similar live)
Implements cx::Tool.
Definition at line 115 of file cxToolProxy.cpp.
|
virtual |
|
virtual |
Implements cx::Tool.
Definition at line 80 of file cxToolProxy.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 85 of file cxToolProxy.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 106 of file cxToolProxy.cpp.
|
virtual |
|
virtual |
additional information if the tool represents an US Probe. Extends getProbeSector()
Reimplemented from cx::Tool.
Definition at line 125 of file cxToolProxy.cpp.
|
virtual |
Get the optional reference points from this tool.
Reimplemented from cx::Tool.
Definition at line 150 of file cxToolProxy.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 160 of file cxToolProxy.cpp.
|
virtual |
latest valid timestamp for the position matrix. 0 means indeterminate (for f.ex. manual tools)
Implements cx::Tool.
Definition at line 130 of file cxToolProxy.cpp.
|
virtual |
get a virtual offset extending from the tool tip.
Reimplemented from cx::Tool.
Definition at line 140 of file cxToolProxy.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 65 of file cxToolProxy.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 100 of file cxToolProxy.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 90 of file cxToolProxy.cpp.
|
virtual |
Reimplemented from cx::Tool.
Definition at line 155 of file cxToolProxy.cpp.
|
virtual |
a tool may not be calibrated, then no tracking is allowed
Implements cx::Tool.
Definition at line 111 of file cxToolProxy.cpp.
|
virtual |
Reimplemented from cx::Tool.
Definition at line 95 of file cxToolProxy.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 191 of file cxToolProxy.cpp.
|
virtual |
dump internal debug data
Reimplemented from cx::Tool.
Definition at line 135 of file cxToolProxy.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 170 of file cxToolProxy.cpp.
|
virtual |
if available for this type, set pos, ts<0 means use current time
Implements cx::Tool.
Definition at line 175 of file cxToolProxy.cpp.
|
virtual |
requests to use the calibration and replaces the tools calibration file
Reimplemented from cx::Tool.
Definition at line 120 of file cxToolProxy.cpp.
|
virtual |
set a virtual offset extending from the tool tip.
Reimplemented from cx::Tool.
Definition at line 145 of file cxToolProxy.cpp.
|
virtual |
if available for this type, set visibility
Implements cx::Tool.
Definition at line 180 of file cxToolProxy.cpp.