00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00038
#ifndef __vtkTextSource_h
00039
#define __vtkTextSource_h
00040
00041
#include "vtkPolyDataSource.h"
00042
00043 class VTK_GRAPHICS_EXPORT vtkTextSource :
public vtkPolyDataSource
00044 {
00045
public:
00046 vtkTypeRevisionMacro(vtkTextSource,
vtkPolyDataSource);
00047
void PrintSelf(ostream& os,
vtkIndent indent);
00048
00050
static vtkTextSource *
New();
00051
00053
00054 vtkSetStringMacro(Text);
00055 vtkGetStringMacro(Text);
00057
00059
00060 vtkSetMacro(Backing,
int);
00061 vtkGetMacro(Backing,
int);
00062 vtkBooleanMacro(Backing,
int);
00064
00066
00068 vtkSetVector3Macro(ForegroundColor,
double);
00069 vtkGetVectorMacro(ForegroundColor,
double,3);
00071
00073
00075 vtkSetVector3Macro(BackgroundColor,
double);
00076 vtkGetVectorMacro(BackgroundColor,
double,3);
00078
00079
protected:
00080 vtkTextSource();
00081 ~vtkTextSource();
00082
00083
void Execute();
00084 char *Text;
00085 int Backing;
00086 double ForegroundColor[4];
00087 double BackgroundColor[4];
00088
private:
00089 vtkTextSource(
const vtkTextSource&);
00090
void operator=(
const vtkTextSource&);
00091 };
00092
00093
#endif
00094
00095