Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Graphics/vtkTextSource.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00054 #ifndef __vtkTextSource_h
00055 #define __vtkTextSource_h
00056
00057 #include "vtkPolyDataSource.h"
00058
00059 class VTK_GRAPHICS_EXPORT vtkTextSource : public vtkPolyDataSource
00060 {
00061 public:
00062 vtkTypeRevisionMacro(vtkTextSource,vtkPolyDataSource);
00063 void PrintSelf(ostream& os, vtkIndent indent);
00064
00066 static vtkTextSource *New();
00067
00069
00070 vtkSetStringMacro(Text);
00071 vtkGetStringMacro(Text);
00073
00075
00076 vtkSetMacro(Backing,int);
00077 vtkGetMacro(Backing,int);
00078 vtkBooleanMacro(Backing,int);
00080
00082
00084 vtkSetVector3Macro(ForegroundColor,float);
00085 vtkGetVectorMacro(ForegroundColor,float,3);
00087
00089
00091 vtkSetVector3Macro(BackgroundColor,float);
00092 vtkGetVectorMacro(BackgroundColor,float,3);
00094
00095 protected:
00096 vtkTextSource();
00097 ~vtkTextSource();
00098
00099 void Execute();
00100 char *Text;
00101 int Backing;
00102 float ForegroundColor[4];
00103 float BackgroundColor[4];
00104 private:
00105 vtkTextSource(const vtkTextSource&);
00106 void operator=(const vtkTextSource&);
00107 };
00108
00109 #endif
00110
00111