Fraxinus
16.5.0-fx-rc6
An IGT application
|
Visualization for one 3D coordinate axis triplet. More...
#include <cxGraphicalAxes3D.h>
Public Member Functions | |
GraphicalAxes3D (vtkRendererPtr renderer=vtkRendererPtr()) | |
void | setRenderer (vtkRendererPtr renderer=vtkRendererPtr()) |
virtual | ~GraphicalAxes3D () |
void | setTransform (Transform3D rMt) |
void | setFontSize (double size) |
void | setAxisLength (double length) |
void | setVisible (bool on) |
void | setShowAxesLabels (bool on) |
void | setCaption (const QString &caption, const Vector3D &color) |
Protected Member Functions | |
void | addCaption (const QString &label, Vector3D pos, Vector3D color) |
void | rescale () |
void | resetAxesLabels () |
Protected Attributes | |
vtkAxesActorPtr | mActor |
std::vector< vtkCaptionActor2DPtr > | mCaption |
std::vector< Vector3D > | mCaptionPos |
double | mSize |
double | mFontSize |
bool | mShowLabels |
ViewportListenerPtr | mViewportListener |
vtkRendererPtr | mRenderer |
const double | m_vtkAxisLength |
Transform3D | m_rMt |
Visualization for one 3D coordinate axis triplet.
Set the position using setTransform().
Definition at line 59 of file cxGraphicalAxes3D.h.
cx::GraphicalAxes3D::GraphicalAxes3D | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 50 of file cxGraphicalAxes3D.cpp.
|
virtual |
Definition at line 90 of file cxGraphicalAxes3D.cpp.
|
protected |
Definition at line 185 of file cxGraphicalAxes3D.cpp.
|
protected |
Definition at line 163 of file cxGraphicalAxes3D.cpp.
|
protected |
Definition at line 107 of file cxGraphicalAxes3D.cpp.
void cx::GraphicalAxes3D::setAxisLength | ( | double | length | ) |
set axis length to a world length
Definition at line 148 of file cxGraphicalAxes3D.cpp.
void cx::GraphicalAxes3D::setCaption | ( | const QString & | caption, |
const Vector3D & | color | ||
) |
Definition at line 131 of file cxGraphicalAxes3D.cpp.
void cx::GraphicalAxes3D::setFontSize | ( | double | size | ) |
set font size to a fraction of the normalized viewport.
Definition at line 139 of file cxGraphicalAxes3D.cpp.
void cx::GraphicalAxes3D::setRenderer | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 68 of file cxGraphicalAxes3D.cpp.
void cx::GraphicalAxes3D::setShowAxesLabels | ( | bool | on | ) |
Definition at line 101 of file cxGraphicalAxes3D.cpp.
void cx::GraphicalAxes3D::setTransform | ( | Transform3D | rMt | ) |
Set the position of the axis.
Definition at line 157 of file cxGraphicalAxes3D.cpp.
void cx::GraphicalAxes3D::setVisible | ( | bool | on | ) |
Definition at line 95 of file cxGraphicalAxes3D.cpp.
|
protected |
Definition at line 88 of file cxGraphicalAxes3D.h.
|
protected |
Definition at line 86 of file cxGraphicalAxes3D.h.
|
protected |
Definition at line 78 of file cxGraphicalAxes3D.h.
|
protected |
Definition at line 79 of file cxGraphicalAxes3D.h.
|
protected |
Definition at line 80 of file cxGraphicalAxes3D.h.
|
protected |
Definition at line 82 of file cxGraphicalAxes3D.h.
|
protected |
Definition at line 85 of file cxGraphicalAxes3D.h.
|
protected |
Definition at line 83 of file cxGraphicalAxes3D.h.
|
protected |
Definition at line 81 of file cxGraphicalAxes3D.h.
|
protected |
Definition at line 84 of file cxGraphicalAxes3D.h.