CustusX
15.3.4-beta
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 () |
Helper for rendering 3D text that faces the camera and has a constant viewed size, always on top.
Definition at line 225 of file cxGraphicalPrimitives.h.
cx::CaptionText3D::CaptionText3D | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 591 of file cxGraphicalPrimitives.cpp.
cx::CaptionText3D::~CaptionText3D | ( | ) |
Definition at line 621 of file cxGraphicalPrimitives.cpp.
vtkCaptionActor2DPtr cx::CaptionText3D::getActor | ( | ) |
Definition at line 647 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setColor | ( | QColor | color | ) |
Definition at line 632 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setPosition | ( | Vector3D | pos | ) |
Definition at line 642 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setRenderer | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 606 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setSize | ( | double | val | ) |
Definition at line 627 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setText | ( | QString | text | ) |
Definition at line 637 of file cxGraphicalPrimitives.cpp.