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