CustusX
2023.01.05-dev+develop.0da12
An IGT application
|
3D Graphics class for displaying the trace path traversed by a tool. More...
#include <cxToolTracer.h>
Public Member Functions | |
void | setTool (ToolPtr tool) |
vtkPolyDataPtr | getPolyData () |
vtkActorPtr | getActor () |
void | setColor (QColor color) |
void | start () |
void | stop () |
void | clear () |
bool | isRunning () const |
void | setMinDistance (double distance) |
int | getSkippedPoints () |
void | addManyPositions (TimedTransformMap trackerRecordedData_prMt) |
Static Public Member Functions | |
static ToolTracerPtr | create (SpaceProviderPtr spaceProvider) |
3D Graphics class for displaying the trace path traversed by a tool.
ToolTracer is used internally by ToolRep3D as an option.
Used by CustusX.
Definition at line 47 of file cxToolTracer.h.
void cx::ToolTracer::addManyPositions | ( | TimedTransformMap | trackerRecordedData_prMt | ) |
Definition at line 184 of file cxToolTracer.cpp.
void cx::ToolTracer::clear | ( | ) |
Definition at line 94 of file cxToolTracer.cpp.
|
static |
Definition at line 37 of file cxToolTracer.cpp.
vtkActorPtr cx::ToolTracer::getActor | ( | ) |
Definition at line 136 of file cxToolTracer.cpp.
vtkPolyDataPtr cx::ToolTracer::getPolyData | ( | ) |
Definition at line 131 of file cxToolTracer.cpp.
|
inline |
Definition at line 63 of file cxToolTracer.h.
bool cx::ToolTracer::isRunning | ( | ) | const |
Definition at line 148 of file cxToolTracer.cpp.
void cx::ToolTracer::setColor | ( | QColor | color | ) |
Definition at line 119 of file cxToolTracer.cpp.
|
inline |
Definition at line 62 of file cxToolTracer.h.
void cx::ToolTracer::setTool | ( | ToolPtr | tool | ) |
Definition at line 124 of file cxToolTracer.cpp.
void cx::ToolTracer::start | ( | ) |
Definition at line 76 of file cxToolTracer.cpp.
void cx::ToolTracer::stop | ( | ) |
Definition at line 86 of file cxToolTracer.cpp.