VTK
dox/Filters/Hybrid/vtkFacetReader.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003 Program:   Visualization Toolkit
00004 Module:    vtkFacetReader.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 =========================================================================*/
00041 #ifndef __vtkFacetReader_h
00042 #define __vtkFacetReader_h
00043 
00044 #include "vtkFiltersHybridModule.h" // For export macro
00045 #include "vtkPolyDataAlgorithm.h"
00046 
00047 class VTKFILTERSHYBRID_EXPORT vtkFacetReader : public vtkPolyDataAlgorithm
00048 {
00049 public:
00050   static vtkFacetReader *New();
00051   vtkTypeMacro(vtkFacetReader,vtkPolyDataAlgorithm);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00055 
00056   vtkSetStringMacro(FileName);
00057   vtkGetStringMacro(FileName);
00059 
00060   static int CanReadFile(const char *filename);
00061 
00062 protected:
00063   vtkFacetReader();
00064   ~vtkFacetReader();
00065 
00066   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00067 
00068   char *FileName;
00069 
00070 private:
00071   vtkFacetReader(const vtkFacetReader&);  // Not implemented.
00072   void operator=(const vtkFacetReader&);  // Not implemented.
00073 };
00074 
00075 #endif
00076