open_iA 2024.7
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
iAVtkText Class Reference

Wraps the vtk classes required to display a text. More...

#include <iAVtkText.h>

Inheritance diagram for iAVtkText:
[legend]
Collaboration diagram for iAVtkText:
[legend]

Public Member Functions

void addToScene (vtkRenderer *renderer)
 Add the text to the scene.
 
bool isShown () const
 determine whether text is currently shown
 
void setFontSize (int fontSize)
 Set the size of the text.
 
void setPosition (double x, double y)
 Set the text to a fixed position in the scene.
 
void setText (const char *text)
 Set the text.
 
void show (bool show)
 Hide or show the text.
 

Static Public Member Functions

static iAVtkTextNew ()
 

Protected Member Functions

 iAVtkText ()
 

Detailed Description

Wraps the vtk classes required to display a text.

Constructor & Destructor Documentation

◆ iAVtkText()

iAVtkText::iAVtkText ( )
protected

Member Function Documentation

◆ addToScene()

void iAVtkText::addToScene ( vtkRenderer * renderer)

Add the text to the scene.

◆ isShown()

bool iAVtkText::isShown ( ) const

determine whether text is currently shown

◆ New()

static iAVtkText * iAVtkText::New ( )
static

◆ setFontSize()

void iAVtkText::setFontSize ( int fontSize)

Set the size of the text.

◆ setPosition()

void iAVtkText::setPosition ( double x,
double y )

Set the text to a fixed position in the scene.

◆ setText()

void iAVtkText::setText ( const char * text)

Set the text.

◆ show()

void iAVtkText::show ( bool show)

Hide or show the text.


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