![]() |
CustusX
15.4.0-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 562 of file cxGraphicalPrimitives.cpp.
cx::CaptionText3D::~CaptionText3D | ( | ) |
Definition at line 592 of file cxGraphicalPrimitives.cpp.
vtkCaptionActor2DPtr cx::CaptionText3D::getActor | ( | ) |
Definition at line 618 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setColor | ( | QColor | color | ) |
Definition at line 603 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setPosition | ( | Vector3D | pos | ) |
Definition at line 613 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setRenderer | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 577 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setSize | ( | double | val | ) |
Definition at line 598 of file cxGraphicalPrimitives.cpp.
void cx::CaptionText3D::setText | ( | QString | text | ) |
Definition at line 608 of file cxGraphicalPrimitives.cpp.