00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPLYReader.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 =========================================================================*/ 00051 #ifndef __vtkPLYReader_h 00052 #define __vtkPLYReader_h 00053 00054 #include "vtkPolyDataSource.h" 00055 00056 class VTK_IO_EXPORT vtkPLYReader : public vtkPolyDataSource 00057 { 00058 public: 00059 vtkTypeRevisionMacro(vtkPLYReader,vtkPolyDataSource); 00060 void PrintSelf(ostream& os, vtkIndent indent); 00061 00063 static vtkPLYReader *New(); 00064 00066 00067 vtkSetStringMacro(FileName); 00068 vtkGetStringMacro(FileName); 00070 00071 protected: 00072 vtkPLYReader(); 00073 ~vtkPLYReader(); 00074 00075 char *FileName; 00076 00077 void Execute(); 00078 private: 00079 vtkPLYReader(const vtkPLYReader&); // Not implemented. 00080 void operator=(const vtkPLYReader&); // Not implemented. 00081 }; 00082 00083 #endif 00084 00085