Go to the documentation of this file.
30 #ifndef vtkTextRepresentation_h
31 #define vtkTextRepresentation_h
33 #include "vtkInteractionWidgetsModule.h"
39 class vtkTextRepresentationObserver;
118 vtkGetMacro(WindowLocation,
int);
void SetPosition(double pos[2]) override
represent a vtkBorderWidget
void GetActors2D(vtkPropCollection *) override
These methods are necessary to make this representation behave as a vtkProp.
~vtkTextRepresentation() override
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
virtual void SetWindowLocation(int enumLocation)
Set the text position, by enumeration ( AnyLocation = 0, LowerLeftCorner, LowerRightCorner,...
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTextRepresentationObserver * Observer
virtual void SetPosition(float x[2])
void BuildRepresentation() override
Satisfy the superclasses API.
window superclass for vtkRenderWindow
void SetTextActor(vtkTextActor *textActor)
Specify the vtkTextActor to manage.
vtkTypeBool HasTranslucentPolygonalGeometry() override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkTextProperty * TextProperty
void ExecuteTextPropertyModifiedEvent(vtkObject *obj, unsigned long enumEvent, void *p)
Internal.
void SetPosition(double x, double y) override
Set the text position, by overriding the same function of vtkBorderRepresentation so that the Modifie...
represent text for vtkTextWidget
void ExecuteTextActorModifiedEvent(vtkObject *obj, unsigned long enumEvent, void *p)
int RenderOpaqueGeometry(vtkViewport *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
An actor that displays text.
a simple class to control print indentation
virtual void UpdateWindowLocation()
abstract specification for Viewports
virtual void InitializeTextActor()
represent text properties.
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
void SetText(const char *text)
Get/Set the text string display by this representation.
abstract specification for renderers
virtual void CheckTextBoundary()
static vtkTextRepresentation * New()
Instantiate class.
void GetSize(double size[2]) override
int RenderOverlay(vtkViewport *) override