VTK
dox/IO/vtkPLYReader.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkPLYReader.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 =========================================================================*/
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   vtkTypeMacro(vtkPLYReader,vtkPolyDataAlgorithm);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00045 
00047   static vtkPLYReader *New();
00048 
00050 
00051   vtkSetStringMacro(FileName);
00052   vtkGetStringMacro(FileName);
00054 
00056   static int CanReadFile(const char *filename);
00057 
00058 protected:
00059   vtkPLYReader();
00060   ~vtkPLYReader();
00061 
00062   char *FileName;
00063 
00064   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00065 private:
00066   vtkPLYReader(const vtkPLYReader&);  // Not implemented.
00067   void operator=(const vtkPLYReader&);  // Not implemented.
00068 };
00069 
00070 #endif