Fraxinus
2023.01.05-dev+develop.0da12
An IGT application
|
Helper for rendering 3D text that faces the camera and has a constant viewed size, always on top. More...
#include <cxGraphicalPrimitives.h>
Public Member Functions | |
CaptionText3D (vtkRendererPtr renderer=vtkRendererPtr()) | |
void | setRenderer (vtkRendererPtr renderer=vtkRendererPtr()) |
~CaptionText3D () | |
void | setColor (QColor color) |
void | setText (QString text) |
void | setPosition (Vector3D pos) |
void | setSize (double val) |
vtkCaptionActor2DPtr | getActor () |
void | placeBelowCenter () |
void | placeAboveCenter () |
void | setVisibility (bool visible) |
Vector3D | getPosition () const |
Helper for rendering 3D text that faces the camera and has a constant viewed size, always on top.
Definition at line 258 of file cxGraphicalPrimitives.h.
cx::CaptionText3D::CaptionText3D | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 684 of file cxGraphicalPrimitives.cpp.
cx::CaptionText3D::~CaptionText3D | ( | ) |
Definition at line 730 of file cxGraphicalPrimitives.cpp.
vtkCaptionActor2DPtr cx::CaptionText3D::getActor | ( | ) |
Definition at line 762 of file cxGraphicalPrimitives.cpp.
Vector3D cx::CaptionText3D::getPosition | ( | ) | const |
Definition at line 757 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::placeAboveCenter | ( | ) |
Definition at line 705 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::placeBelowCenter | ( | ) |
Definition at line 699 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setColor | ( | QColor | color | ) |
Definition at line 741 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setPosition | ( | Vector3D | pos | ) |
Definition at line 751 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setRenderer | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 715 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setSize | ( | double | val | ) |
Definition at line 736 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setText | ( | QString | text | ) |
Definition at line 746 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setVisibility | ( | bool | visible | ) |
Definition at line 710 of file cxGraphicalPrimitives.cpp.