open_iA 2025.6
Loading...
Searching...
No Matches
iAVtkText Class Reference

Wraps the vtk classes required to display a text at a fixed position of the screen (in display coordinates). 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 (display coordinates).
 
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 at a fixed position of the screen (in display coordinates).

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 (display coordinates).

◆ 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: