![]() |
Fraxinus
17.12-rc3
An IGT application
|
Helper for rendering 3D text that faces the camera and has a constant viewed size. More...
#include <cxGraphicalPrimitives.h>
Public Member Functions | |
| FollowerText3D (vtkRendererPtr renderer=vtkRendererPtr()) | |
| void | setRenderer (vtkRendererPtr renderer=vtkRendererPtr()) |
| ~FollowerText3D () | |
| void | setColor (QColor color) |
| void | setText (QString text) |
| void | setPosition (Vector3D pos) |
| void | setSize (double val) |
| void | setSizeInNormalizedViewport (bool on, double size) |
| vtkFollowerPtr | getActor () |
| void | scaleText () |
| internal method More... | |
Helper for rendering 3D text that faces the camera and has a constant viewed size.
Definition at line 248 of file cxGraphicalPrimitives.h.
| cx::FollowerText3D::FollowerText3D | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 590 of file cxGraphicalPrimitives.cpp.
| cx::FollowerText3D::~FollowerText3D | ( | ) |
Definition at line 623 of file cxGraphicalPrimitives.cpp.
| vtkFollowerPtr cx::FollowerText3D::getActor | ( | ) |
Definition at line 668 of file cxGraphicalPrimitives.cpp.
| void cx::FollowerText3D::scaleText | ( | ) |
internal method
Note: Internal method!
Scale the text to be a constant fraction of the viewport height Called from a vtk camera observer
Definition at line 679 of file cxGraphicalPrimitives.cpp.
| void cx::FollowerText3D::setColor | ( | QColor | color | ) |
Definition at line 653 of file cxGraphicalPrimitives.cpp.
| void cx::FollowerText3D::setPosition | ( | Vector3D | pos | ) |
Definition at line 663 of file cxGraphicalPrimitives.cpp.
| void cx::FollowerText3D::setRenderer | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 604 of file cxGraphicalPrimitives.cpp.
| void cx::FollowerText3D::setSize | ( | double | val | ) |
Definition at line 629 of file cxGraphicalPrimitives.cpp.
| void cx::FollowerText3D::setSizeInNormalizedViewport | ( | bool | on, |
| double | size | ||
| ) |
Definition at line 635 of file cxGraphicalPrimitives.cpp.
| void cx::FollowerText3D::setText | ( | QString | text | ) |
Definition at line 658 of file cxGraphicalPrimitives.cpp.