00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkVectorText.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00054 #ifndef __vtkVectorText_h 00055 #define __vtkVectorText_h 00056 00057 #include "vtkPolyDataSource.h" 00058 00059 class VTK_HYBRID_EXPORT vtkVectorText : public vtkPolyDataSource 00060 { 00061 public: 00062 static vtkVectorText *New(); 00063 vtkTypeRevisionMacro(vtkVectorText,vtkPolyDataSource); 00064 void PrintSelf(ostream& os, vtkIndent indent); 00065 00067 00068 vtkSetStringMacro(Text); 00069 vtkGetStringMacro(Text); 00071 00072 protected: 00073 vtkVectorText(); 00074 ~vtkVectorText(); 00075 00076 void Execute(); 00077 char *Text; 00078 char *Letters[127]; 00079 00080 private: 00081 vtkVectorText(const vtkVectorText&); // Not implemented. 00082 void operator=(const vtkVectorText&); // Not implemented. 00083 }; 00084 00085 #endif 00086 00087