vtkTextSource.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00051 #ifndef __vtkTextSource_h
00052 #define __vtkTextSource_h
00053
00054 #include "vtkPolyDataSource.h"
00055
00056 class VTK_GRAPHICS_EXPORT vtkTextSource : public vtkPolyDataSource
00057 {
00058 public:
00059 vtkTypeRevisionMacro(vtkTextSource,vtkPolyDataSource);
00060 void PrintSelf(ostream& os, vtkIndent indent);
00061
00063 static vtkTextSource *New();
00064
00066
00067 vtkSetStringMacro(Text);
00068 vtkGetStringMacro(Text);
00070
00072
00073 vtkSetMacro(Backing,int);
00074 vtkGetMacro(Backing,int);
00075 vtkBooleanMacro(Backing,int);
00077
00079
00081 vtkSetVector3Macro(ForegroundColor,double);
00082 vtkGetVectorMacro(ForegroundColor,double,3);
00084
00086
00088 vtkSetVector3Macro(BackgroundColor,double);
00089 vtkGetVectorMacro(BackgroundColor,double,3);
00091
00092 protected:
00093 vtkTextSource();
00094 ~vtkTextSource();
00095
00096 void Execute();
00097 char *Text;
00098 int Backing;
00099 double ForegroundColor[4];
00100 double BackgroundColor[4];
00101 private:
00102 vtkTextSource(const vtkTextSource&);
00103 void operator=(const vtkTextSource&);
00104 };
00105
00106 #endif
00107
00108