Fraxinus
16.5.0-fx-rc4
An IGT application
|
A tool used during playback. More...
#include <cxPlaybackTool.h>
Public Member Functions | |
PlaybackTool (ToolPtr base, PlaybackTimePtr time) | |
virtual | ~PlaybackTool () |
virtual std::set< Type > | getTypes () const |
virtual vtkPolyDataPtr | getGraphicsPolyData () const |
get geometric 3D description More... | |
virtual void | setTransformSaveFile (const QString &filename) |
virtual Transform3D | get_prMt () const |
virtual bool | getVisible () const |
virtual QString | getUid () const |
virtual QString | getName () const |
virtual bool | isCalibrated () const |
a tool may not be calibrated, then no tracking i allowed More... | |
virtual double | getTimestamp () const |
latest valid timestamp for the position matrix. 0 means indeterminate (for f.ex. manual tools) 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 Transform3D | getCalibration_sMt () const |
get the calibration transform from tool space to sensor space (where the spheres or similar live) More... | |
virtual std::map< int, Vector3D > | getReferencePoints () const |
Get the optional reference points from this tool. More... | |
virtual TimedTransformMapPtr | getPositionHistory () |
get historical positions More... | |
virtual bool | isInitialized () const |
virtual ProbePtr | getProbe () const |
additional information if the tool represents an US Probe. Extends getProbeSector() More... | |
virtual bool | hasReferencePointWithId (int id) |
virtual TimedTransformMap | getSessionHistory (double startTime, double stopTime) |
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... | |
ToolPtr | getBase () |
Public Member Functions inherited from cx::ToolImpl | |
ToolImpl (const QString &uid="", const QString &name="") | |
virtual | ~ToolImpl () |
virtual ToolPositionMetadata | getMetadata () const |
virtual const std::map< double, ToolPositionMetadata > & | getMetadataHistory () |
virtual void | resetTrackingPositionFilter (TrackingPositionFilterPtr filter) |
virtual bool | isNull () |
virtual void | addXml (QDomNode &dataNode) |
virtual void | parseXml (QDomNode &dataNode) |
Public Member Functions inherited from cx::Tool | |
Tool (const QString &uid="", const QString &name="") | |
virtual | ~Tool () |
virtual bool | hasType (Type type) const |
virtual void | setCalibration_sMt (Transform3D calibration) |
requests to use the calibration and replaces the tools calibration file More... | |
virtual void | printSelf (std::ostream &os, Indent indent) |
dump internal debug data More... | |
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) |
Static Public Member Functions inherited from cx::Tool | |
static vtkPolyDataPtr | createDefaultPolyDataCone () |
static ToolPtr | getNullObject () |
Protected Attributes inherited from cx::ToolImpl | |
TimedTransformMapPtr | mPositionHistory |
Transform3D | m_prMt |
the transform from the tool to the patient reference More... | |
TrackingPositionFilterPtr | mTrackingPositionFilter |
std::map< double, ToolPositionMetadata > | mMetadata |
Protected Attributes inherited from cx::Tool | |
QString | mUid |
QString | mName |
|
explicit |
Definition at line 42 of file cxPlaybackTool.cpp.
|
virtual |
Definition at line 53 of file cxPlaybackTool.cpp.
|
virtual |
Reimplemented from cx::ToolImpl.
Definition at line 101 of file cxPlaybackTool.cpp.
|
inline |
Definition at line 87 of file cxPlaybackTool.h.
|
virtual |
get the calibration transform from tool space to sensor space (where the spheres or similar live)
Implements cx::Tool.
Definition at line 143 of file cxPlaybackTool.cpp.
|
virtual |
|
virtual |
Implements cx::Tool.
Definition at line 116 of file cxPlaybackTool.cpp.
|
inlinevirtual |
get historical positions
Reimplemented from cx::ToolImpl.
Definition at line 77 of file cxPlaybackTool.h.
|
inlinevirtual |
additional information if the tool represents an US Probe. Extends getProbeSector()
Reimplemented from cx::Tool.
Definition at line 79 of file cxPlaybackTool.h.
|
virtual |
Get the optional reference points from this tool.
Reimplemented from cx::Tool.
Definition at line 148 of file cxPlaybackTool.cpp.
|
inlinevirtual |
Reimplemented from cx::ToolImpl.
Definition at line 81 of file cxPlaybackTool.h.
|
virtual |
latest valid timestamp for the position matrix. 0 means indeterminate (for f.ex. manual tools)
Implements cx::Tool.
Definition at line 126 of file cxPlaybackTool.cpp.
|
virtual |
get a virtual offset extending from the tool tip.
Reimplemented from cx::ToolImpl.
Definition at line 132 of file cxPlaybackTool.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 91 of file cxPlaybackTool.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 111 of file cxPlaybackTool.cpp.
|
virtual |
Implements cx::Tool.
Definition at line 106 of file cxPlaybackTool.cpp.
|
inlinevirtual |
Reimplemented from cx::Tool.
Definition at line 80 of file cxPlaybackTool.h.
|
virtual |
a tool may not be calibrated, then no tracking i allowed
Implements cx::Tool.
Definition at line 121 of file cxPlaybackTool.cpp.
|
virtual |
Reimplemented from cx::Tool.
Definition at line 153 of file cxPlaybackTool.cpp.
|
virtual |
if available for this type, set pos, ts<0 means use current time
Reimplemented from cx::ToolImpl.
Definition at line 158 of file cxPlaybackTool.cpp.
|
virtual |
set a virtual offset extending from the tool tip.
Reimplemented from cx::ToolImpl.
Definition at line 138 of file cxPlaybackTool.cpp.
|
inlinevirtual |
Definition at line 62 of file cxPlaybackTool.h.
|
virtual |
if available for this type, set visibility
Implements cx::Tool.
Definition at line 163 of file cxPlaybackTool.cpp.