20 #ifndef VTKVIEWER_FRAMEDTEXTACTOR_H
21 #define VTKVIEWER_FRAMEDTEXTACTOR_H
25 #include <vtkActor2D.h>
28 class vtkPolyDataMapper2D;
32 class vtkTextProperty;
47 virtual int RenderOpaqueGeometry(vtkViewport*);
49 virtual int RenderOverlay(vtkViewport*);
50 virtual void ReleaseGraphicsResources(vtkWindow*);
52 virtual void SetVisibility(
int);
53 virtual int GetVisibility();
54 virtual void SetPickable(
int);
55 virtual int GetPickable();
57 virtual void GetSize(vtkRenderer* vport,
double theSize[2])
const;
59 void SetText(
const char* theText);
62 void SetModePosition(
const int theMode);
63 int GetModePosition()
const;
65 void SetLayoutType(
const int theType);
66 int GetLayoutType()
const;
68 void SetWorldPoint(
const double theWorldPoint[4]);
69 const double* GetWorldPoint()
const;
71 void SetDistance(
const double theDistance);
72 double GetDistance()
const;
74 void SetMoveFrameFlag(
const int flag);
75 int GetMoveFrameFlag()
const;
77 void SetForegroundColor(
const double r,
80 void GetForegroundColor(
double& r,
84 void SetBackgroundColor(
const double r,
87 void GetBackgroundColor(
double& r,
91 void SetTransparency(
const double theTransparency);
92 double GetTransparency()
const;
94 void SetTextMargin(
const int theMargin);
95 int GetTextMargin()
const;
97 void SetOffset(
const double theOffset[2]);
117 double myWorldPoint[4];