CustusX  18.04
An IGT application
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 ()
 
void placeBelowCenter ()
 
void placeAboveCenter ()
 
void setVisibility (bool visible)
 
Vector3D getPosition () const
 

Detailed Description

Helper for rendering 3D text that faces the camera and has a constant viewed size, always on top.

Definition at line 257 of file cxGraphicalPrimitives.h.

Constructor & Destructor Documentation

cx::CaptionText3D::CaptionText3D ( vtkRendererPtr  renderer = vtkRendererPtr())

Definition at line 679 of file cxGraphicalPrimitives.cpp.

cx::CaptionText3D::~CaptionText3D ( )

Definition at line 725 of file cxGraphicalPrimitives.cpp.

Member Function Documentation

vtkCaptionActor2DPtr cx::CaptionText3D::getActor ( )

Definition at line 757 of file cxGraphicalPrimitives.cpp.

Vector3D cx::CaptionText3D::getPosition ( ) const

Definition at line 752 of file cxGraphicalPrimitives.cpp.

void cx::CaptionText3D::placeAboveCenter ( )

Definition at line 700 of file cxGraphicalPrimitives.cpp.

void cx::CaptionText3D::placeBelowCenter ( )

Definition at line 694 of file cxGraphicalPrimitives.cpp.

void cx::CaptionText3D::setColor ( QColor  color)

Definition at line 736 of file cxGraphicalPrimitives.cpp.

void cx::CaptionText3D::setPosition ( Vector3D  pos)

Definition at line 746 of file cxGraphicalPrimitives.cpp.

void cx::CaptionText3D::setRenderer ( vtkRendererPtr  renderer = vtkRendererPtr())

Definition at line 710 of file cxGraphicalPrimitives.cpp.

void cx::CaptionText3D::setSize ( double  val)

Definition at line 731 of file cxGraphicalPrimitives.cpp.

void cx::CaptionText3D::setText ( QString  text)

Definition at line 741 of file cxGraphicalPrimitives.cpp.

void cx::CaptionText3D::setVisibility ( bool  visible)

Definition at line 705 of file cxGraphicalPrimitives.cpp.


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