vtkTextSource.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00042 #ifndef __vtkTextSource_h
00043 #define __vtkTextSource_h
00044
00045 #include "vtkPolyDataSource.h"
00046
00047 class VTK_GRAPHICS_EXPORT vtkTextSource : public vtkPolyDataSource
00048 {
00049 public:
00050 vtkTypeRevisionMacro(vtkTextSource,vtkPolyDataSource);
00051 void PrintSelf(ostream& os, vtkIndent indent);
00052
00054 static vtkTextSource *New();
00055
00057
00058 vtkSetStringMacro(Text);
00059 vtkGetStringMacro(Text);
00061
00063
00064 vtkSetMacro(Backing,int);
00065 vtkGetMacro(Backing,int);
00066 vtkBooleanMacro(Backing,int);
00068
00070
00072 vtkSetVector3Macro(ForegroundColor,float);
00073 vtkGetVectorMacro(ForegroundColor,float,3);
00075
00077
00079 vtkSetVector3Macro(BackgroundColor,float);
00080 vtkGetVectorMacro(BackgroundColor,float,3);
00082
00083 protected:
00084 vtkTextSource();
00085 ~vtkTextSource();
00086
00087 void Execute();
00088 char *Text;
00089 int Backing;
00090 float ForegroundColor[4];
00091 float BackgroundColor[4];
00092 private:
00093 vtkTextSource(const vtkTextSource&);
00094 void operator=(const vtkTextSource&);
00095 };
00096
00097 #endif
00098
00099