Fraxinus
17.12-rc3
An IGT application
|
#include <cxToolRep3D.h>
Public Member Functions | |
virtual | ~ToolRep3D () |
virtual QString | getType () const |
virtual void | setTool (ToolPtr tool) |
virtual bool | hasTool (ToolPtr tool) const |
virtual ToolPtr | getTool () |
ToolTracerPtr | getTracer () |
void | setSphereRadius (double radius) |
void | setStayHiddenAfterVisible (bool val) |
void | setStayVisibleAfterHide (bool val) |
if true, tool is still rendered as visible after visibility status is hidden. More... | |
void | setOffsetPointVisibleAtZeroOffset (bool val) |
if true the sphere is visible even when the offset is zero More... | |
void | setSphereRadiusInNormalizedViewport (bool on) |
void | setTooltipPointColor (const QColor &color) |
ToolRep3D::setTooltipPointColor. More... | |
void | setToolOffsetPointColor (const QColor &color) |
void | setToolOffsetLineColor (const QColor &color) |
Public Member Functions inherited from cx::RepImpl | |
RepImpl (const QString &uid="", const QString &name="") | |
virtual | ~RepImpl () |
virtual void | connectToView (ViewPtr theView) |
virtual void | disconnectFromView (ViewPtr theView) |
virtual bool | isConnectedToView (ViewPtr theView) const |
void | setName (QString name) |
QString | getName () const |
QString | getUid () const |
virtual void | printSelf (std::ostream &os, Indent indent) |
Public Member Functions inherited from cx::Rep | |
virtual | ~Rep () |
Static Public Member Functions | |
static ToolRep3DPtr | New (SpaceProviderPtr spaceProvider, const QString &uid="") |
Static Public Member Functions inherited from cx::RepImpl | |
template<class REP > | |
static boost::shared_ptr< REP > | wrap_new (REP *object, QString uid) |
Protected Member Functions | |
ToolRep3D (SpaceProviderPtr spaceProvider) | |
virtual void | addRepActorsToViewRenderer (ViewPtr view) |
virtual void | removeRepActorsFromViewRenderer (ViewPtr view) |
bool | showProbe () |
virtual void | onModifiedStartRender () |
Protected Member Functions inherited from cx::RepImpl | |
ViewPtr | getView () const |
vtkRendererPtr | getRenderer () |
RepPtr | getSelf () |
virtual void | onEveryRender () |
Additional Inherited Members | |
Protected Slots inherited from cx::RepImpl | |
void | setModified () |
Display a Tool in 3D.
ToolRep3D displays a Tool using the supplied graphical representation from the Tool interface, with points showing the tooltip and offset point. If the Tool is a Probe, the probe sector and the prope video can be shown as well.
Several optional visualizations are available.
Used by CustusX and Sonowand.
Definition at line 72 of file cxToolRep3D.h.
|
virtual |
Definition at line 87 of file cxToolRep3D.cpp.
|
protected |
Definition at line 58 of file cxToolRep3D.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 229 of file cxToolRep3D.cpp.
|
virtual |
Definition at line 105 of file cxToolRep3D.cpp.
ToolTracerPtr cx::ToolRep3D::getTracer | ( | ) |
Definition at line 90 of file cxToolRep3D.cpp.
|
virtual |
Implements cx::RepImpl.
Definition at line 100 of file cxToolRep3D.cpp.
|
virtual |
Definition at line 172 of file cxToolRep3D.cpp.
|
static |
Definition at line 95 of file cxToolRep3D.cpp.
|
protectedvirtual |
Reimplemented from cx::RepImpl.
Definition at line 292 of file cxToolRep3D.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 256 of file cxToolRep3D.cpp.
void cx::ToolRep3D::setOffsetPointVisibleAtZeroOffset | ( | bool | val | ) |
if true the sphere is visible even when the offset is zero
Definition at line 413 of file cxToolRep3D.cpp.
void cx::ToolRep3D::setSphereRadius | ( | double | radius | ) |
Definition at line 177 of file cxToolRep3D.cpp.
void cx::ToolRep3D::setSphereRadiusInNormalizedViewport | ( | bool | on | ) |
Definition at line 186 of file cxToolRep3D.cpp.
void cx::ToolRep3D::setStayHiddenAfterVisible | ( | bool | val | ) |
Definition at line 397 of file cxToolRep3D.cpp.
void cx::ToolRep3D::setStayVisibleAfterHide | ( | bool | val | ) |
if true, tool is still rendered as visible after visibility status is hidden.
If true, tool is still rendered as visible after visibility status is hidden. Nice for viewing the last known position of a tool.
Definition at line 408 of file cxToolRep3D.cpp.
|
virtual |
Definition at line 140 of file cxToolRep3D.cpp.
void cx::ToolRep3D::setToolOffsetLineColor | ( | const QColor & | color | ) |
Definition at line 223 of file cxToolRep3D.cpp.
void cx::ToolRep3D::setToolOffsetPointColor | ( | const QColor & | color | ) |
Definition at line 217 of file cxToolRep3D.cpp.
void cx::ToolRep3D::setTooltipPointColor | ( | const QColor & | color | ) |
ToolRep3D::setTooltipPointColor.
color | Sets the color of the crosshair and the sphere. |
Definition at line 209 of file cxToolRep3D.cpp.
|
protected |
Definition at line 423 of file cxToolRep3D.cpp.