An actor that displays text.
void SetText(const char *text)
The string to draw.
void SetVisibility(bool val) override
Whether the text is drawn.
vtkTextActor * GetTextActor()
The actor the text is drawn by, for what neither this representation nor the text property covers – a...
static vtkTextOverlayRepresentation * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool AddToView(vtkScivisView *view) override
Called when this representation is added to or removed from a view.
bool RemoveFromView(vtkScivisView *view) override
Called when this representation is added to or removed from a view.
bool GetVisibility() override
Whether the text is drawn.
double * GetPosition()
Where the text sits, in pixels from the lower left corner of the render window.
vtkTextOverlayRepresentation()
vtkTextProperty * GetTextProperty()
How the text is drawn: its font and size, color and opacity, bold and italic, and its justification a...
void SetPosition(int x, int y)
Where the text sits, in pixels from the lower left corner of the render window.
represent text properties.