VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkVectorText.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00040 #ifndef __vtkVectorText_h 00041 #define __vtkVectorText_h 00042 00043 #include "vtkRenderingFreeTypeModule.h" // For export macro 00044 #include "vtkPolyDataAlgorithm.h" 00045 00046 class VTKRENDERINGFREETYPE_EXPORT vtkVectorText : public vtkPolyDataAlgorithm 00047 { 00048 public: 00049 static vtkVectorText *New(); 00050 vtkTypeMacro(vtkVectorText,vtkPolyDataAlgorithm); 00051 void PrintSelf(ostream& os, vtkIndent indent); 00052 00054 00055 vtkSetStringMacro(Text); 00056 vtkGetStringMacro(Text); 00058 00059 protected: 00060 vtkVectorText(); 00061 ~vtkVectorText(); 00062 00063 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00064 char *Text; 00065 00066 private: 00067 vtkVectorText(const vtkVectorText&); // Not implemented. 00068 void operator=(const vtkVectorText&); // Not implemented. 00069 }; 00070 00071 #endif