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