VTK
dox/IO/PLY/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 "vtkIOPLYModule.h" // For export macro
00039 #include "vtkPolyDataAlgorithm.h"
00040 
00041 class VTKIOPLY_EXPORT vtkPLYReader : public vtkPolyDataAlgorithm
00042 {
00043 public:
00044   vtkTypeMacro(vtkPLYReader,vtkPolyDataAlgorithm);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046 
00048   static vtkPLYReader *New();
00049 
00051 
00052   vtkSetStringMacro(FileName);
00053   vtkGetStringMacro(FileName);
00055 
00057   static int CanReadFile(const char *filename);
00058 
00059 protected:
00060   vtkPLYReader();
00061   ~vtkPLYReader();
00062 
00063   char *FileName;
00064 
00065   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00066 private:
00067   vtkPLYReader(const vtkPLYReader&);  // Not implemented.
00068   void operator=(const vtkPLYReader&);  // Not implemented.
00069 };
00070 
00071 #endif