VTK
vtkTextActor3D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTextActor3D.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
41 #ifndef __vtkTextActor3D_h
42 #define __vtkTextActor3D_h
43 
44 #include "vtkProp3D.h"
45 
46 class vtkImageActor;
47 class vtkImageData;
48 class vtkTextProperty;
49 
51 {
52 public:
53  static vtkTextActor3D *New();
54  vtkTypeMacro(vtkTextActor3D,vtkProp3D);
55  void PrintSelf(ostream& os, vtkIndent indent);
56 
58 
59  vtkSetStringMacro(Input);
60  vtkGetStringMacro(Input);
62 
64 
65  virtual void SetTextProperty(vtkTextProperty *p);
66  vtkGetObjectMacro(TextProperty,vtkTextProperty);
68 
71  void ShallowCopy(vtkProp *prop);
72 
75  virtual double *GetBounds();
76 
81  int GetBoundingBox(int bbox[4]);
82 
83  //BTX
88  virtual void ReleaseGraphicsResources(vtkWindow *);
89 
91 
94  int RenderOpaqueGeometry(vtkViewport* viewport);
95  virtual int RenderTranslucentPolygonalGeometry(vtkViewport* viewport);
96  int RenderOverlay(vtkViewport* viewport);
98 
100 
101  virtual int HasTranslucentPolygonalGeometry();
102  //ETX
104 
105 protected:
106  vtkTextActor3D();
107  ~vtkTextActor3D();
108 
109  char *Input;
110 
114 
116 
117  virtual int UpdateImageActor();
118 
119 private:
120  vtkTextActor3D(const vtkTextActor3D&); // Not implemented.
121  void operator=(const vtkTextActor3D&); // Not implemented.
122 };
123 
124 
125 #endif
126 
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:49
vtkImageActor * ImageActor
vtkTimeStamp BuildTime
abstract specification for Viewports
Definition: vtkViewport.h:45
virtual int RenderOpaqueGeometry(vtkViewport *)
Definition: vtkProp.h:171
virtual int HasTranslucentPolygonalGeometry()
Definition: vtkProp.h:230
virtual int RenderOverlay(vtkViewport *)
Definition: vtkProp.h:174
record modification and/or execution time
Definition: vtkTimeStamp.h:33
represents an 3D object for placement in a rendered scene
Definition: vtkProp3D.h:41
virtual void ReleaseGraphicsResources(vtkWindow *)
Definition: vtkProp.h:236
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
void ShallowCopy(vtkProp *prop)
draw an image (data & properties) in a rendered 3D scene
Definition: vtkImageActor.h:49
a simple class to control print indentation
Definition: vtkIndent.h:37
void PrintSelf(ostream &os, vtkIndent indent)
vtkImageData * ImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
An actor that displays text.
represent text properties.
#define VTK_RENDERING_EXPORT
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
Definition: vtkProp.h:172
virtual double * GetBounds()=0
static vtkObject * New()
vtkTextProperty * TextProperty