18#ifndef vtkTextRepresentation_h 
   19#define vtkTextRepresentation_h 
   22#include "vtkInteractionWidgetsModule.h"  
   24VTK_ABI_NAMESPACE_BEGIN
 
   28class vtkTextRepresentationObserver;
 
  122  vtkSetClampMacro(PaddingLeft, 
int, 0, 4000);
 
  123  vtkGetMacro(PaddingLeft, 
int);
 
  132  vtkSetClampMacro(PaddingRight, 
int, 0, 4000);
 
  133  vtkGetMacro(PaddingRight, 
int);
 
  142  vtkSetClampMacro(PaddingTop, 
int, 0, 4000);
 
  143  vtkGetMacro(PaddingTop, 
int);
 
  152  vtkSetClampMacro(PaddingBottom, 
int, 0, 4000);
 
  153  vtkGetMacro(PaddingBottom, 
int);
 
  183  int PaddingRight = 0;
 
  185  int PaddingBottom = 0;
 
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
Subclasses should implement these methods.
 
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
 
virtual void InitializeTextActor()
 
virtual void CheckTextBoundary()
 
void ReleaseGraphicsResources(vtkWindow *) override
These methods are necessary to make this representation behave as a vtkProp.
 
int RenderOverlay(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
 
vtkTypeBool HasTranslucentPolygonalGeometry() override
These methods are necessary to make this representation behave as a vtkProp.
 
void SetTextActor(vtkTextActor *textActor)
Specify the vtkTextActor to manage.
 
void SetText(const char *text)
Get/Set the text string display by this representation.
 
void SetPadding(int padding)
Set the padding between the text and the left/right/top/bottom border, in pixels unit.
 
void SetPosition(double x, double y) override
Set the text position, by overriding the same function of vtkBorderRepresentation so that the Modifie...
 
static vtkTextRepresentation * New()
Instantiate class.
 
void BuildRepresentation() override
Satisfy the superclasses API.
 
void SetPosition(double pos[2]) override
Set the text position, by overriding the same function of vtkBorderRepresentation so that the Modifie...
 
void ExecuteTextActorModifiedEvent(vtkObject *obj, unsigned long enumEvent, void *p)
Internal.
 
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
Standard VTK methods.
 
vtkTextProperty * TextProperty
 
void SetWindowLocation(int enumLocation) override
Set the text position, by enumeration ( vtkBorderRepresentation::AnyLocation = 0, vtkBorderRepresenta...
 
const char * GetText()
Get/Set the text string display by this representation.
 
vtkTextRepresentationObserver * Observer
 
~vtkTextRepresentation() override
 
int RenderOpaqueGeometry(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
 
abstract specification for Viewports
 
window superclass for vtkRenderWindow