CustusX  15.8
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::CaptionText3D Class Reference

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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.


The documentation for this class was generated from the following files: