![]() |
CustusX
22.09
An IGT application
|
#include <cxToolNull.h>
Public Member Functions | |
virtual | ~ToolNull () |
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 (int 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 () |
![]() | |
Tool (const QString &uid="", const QString &name="") | |
virtual | ~Tool () |
virtual bool | hasType (Type type) const |
virtual bool | hasReferencePointWithId (QString id) |
Static Public Member Functions | |
static ToolPtr | getNullObject () |
![]() | |
static vtkPolyDataPtr | createDefaultPolyDataCone () |
static ToolPtr | getNullObject () |
Additional Inherited Members | |
![]() | |
enum | State { tsNONE =0, tsCONFIGURED, tsINITIALIZED, tsTRACKING } |
enum | Type { TOOL_NONE, TOOL_REFERENCE, TOOL_MANUAL, TOOL_POINTER, TOOL_US_PROBE, TOOL_MICROSCOPE } |
![]() | |
void | toolTransformAndTimestamp (Transform3D matrix, double timestamp) |
void | toolVisible (bool visible) |
void | tooltipOffset (double offset) |
void | toolProbeSector () |
void | tps (int) |
![]() | |
QString | mUid |
QString | mName |
Null implementation of Tool
Definition at line 23 of file cxToolNull.h.
|
inlinevirtual |
Definition at line 26 of file cxToolNull.h.
|
virtual |
Implements cx::Tool.
Definition at line 107 of file cxToolNull.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 128 of file cxToolNull.cpp.
|
virtual |
get the calibration transform from tool space to sensor space (where the spheres or similar live)
Implements cx::Tool.
Definition at line 56 of file cxToolNull.cpp.
|
virtual |
|
virtual |
Implements cx::Tool.
Definition at line 21 of file cxToolNull.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 26 of file cxToolNull.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 47 of file cxToolNull.cpp.
|
static |
|
virtual |
|
virtual |
additional information if the tool represents an US Probe. Extends getProbeSector()
Reimplemented from cx::Tool.
Definition at line 66 of file cxToolNull.cpp.
|
virtual |
Get the optional reference points from this tool.
Reimplemented from cx::Tool.
Definition at line 91 of file cxToolNull.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 102 of file cxToolNull.cpp.
|
virtual |
latest valid timestamp for the position matrix. 0 means indeterminate (for f.ex. manual tools)
Implements cx::Tool.
Definition at line 71 of file cxToolNull.cpp.
|
virtual |
get a virtual offset extending from the tool tip.
Reimplemented from cx::Tool.
Definition at line 81 of file cxToolNull.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 6 of file cxToolNull.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 41 of file cxToolNull.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 31 of file cxToolNull.cpp.
|
virtual |
Definition at line 96 of file cxToolNull.cpp.
|
virtual |
a tool may not be calibrated, then no tracking is allowed
Implements cx::Tool.
Definition at line 52 of file cxToolNull.cpp.
|
virtual |
Reimplemented from cx::Tool.
Definition at line 36 of file cxToolNull.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 133 of file cxToolNull.cpp.
|
virtual |
|
virtual |
Implements cx::Tool.
Definition at line 112 of file cxToolNull.cpp.
|
virtual |
if available for this type, set pos, ts<0 means use current time
Implements cx::Tool.
Definition at line 117 of file cxToolNull.cpp.
|
virtual |
requests to use the calibration and replaces the tools calibration file
Reimplemented from cx::Tool.
Definition at line 61 of file cxToolNull.cpp.
|
virtual |
set a virtual offset extending from the tool tip.
Reimplemented from cx::Tool.
Definition at line 86 of file cxToolNull.cpp.
|
virtual |
if available for this type, set visibility
Implements cx::Tool.
Definition at line 123 of file cxToolNull.cpp.