00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPLYReader.h,v $ 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 =========================================================================*/ 00035 #ifndef __vtkPLYReader_h 00036 #define __vtkPLYReader_h 00037 00038 #include "vtkPolyDataAlgorithm.h" 00039 00040 class VTK_IO_EXPORT vtkPLYReader : public vtkPolyDataAlgorithm 00041 { 00042 public: 00043 vtkTypeRevisionMacro(vtkPLYReader,vtkPolyDataAlgorithm); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00047 static vtkPLYReader *New(); 00048 00050 00051 vtkSetStringMacro(FileName); 00052 vtkGetStringMacro(FileName); 00054 00055 protected: 00056 vtkPLYReader(); 00057 ~vtkPLYReader(); 00058 00059 char *FileName; 00060 00061 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00062 private: 00063 vtkPLYReader(const vtkPLYReader&); // Not implemented. 00064 void operator=(const vtkPLYReader&); // Not implemented. 00065 }; 00066 00067 #endif