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