![]() |
open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
Wraps the vtk classes required to display a text. More...
#include <iAVtkText.h>
Public Member Functions | |
| void | addToScene (vtkRenderer *renderer) |
| Add the text to the scene. More... | |
| bool | isShown () const |
| determine whether text is currently shown More... | |
| void | setFontSize (int fontSize) |
| Set the size of the text. More... | |
| void | setPosition (double x, double y) |
| Set the text to a fixed position in the scene. More... | |
| void | setText (const char *text) |
| Set the text. More... | |
| void | show (bool show) |
| Hide or show the text. More... | |
Static Public Member Functions | |
| static iAVtkText * | New () |
Protected Member Functions | |
| iAVtkText () | |
Wraps the vtk classes required to display a text.
|
protected |
| void iAVtkText::addToScene | ( | vtkRenderer * | renderer | ) |
Add the text to the scene.
| bool iAVtkText::isShown | ( | ) | const |
determine whether text is currently shown
|
static |
| void iAVtkText::setFontSize | ( | int | fontSize | ) |
Set the size of the text.
| void iAVtkText::setPosition | ( | double | x, |
| double | y | ||
| ) |
Set the text to a fixed position in the scene.
| void iAVtkText::setText | ( | const char * | text | ) |
Set the text.
| void iAVtkText::show | ( | bool | show | ) |
Hide or show the text.