VTK
vtkFacetReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkFacetReader.h
5 
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
41 #ifndef __vtkFacetReader_h
42 #define __vtkFacetReader_h
43 
44 #include "vtkPolyDataAlgorithm.h"
45 
47 {
48 public:
49  static vtkFacetReader *New();
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
54 
55  vtkSetStringMacro(FileName);
56  vtkGetStringMacro(FileName);
58 
59  static int CanReadFile(const char *filename);
60 
61 protected:
63  ~vtkFacetReader();
64 
66 
67  char *FileName;
68 
69 private:
70  vtkFacetReader(const vtkFacetReader&); // Not implemented.
71  void operator=(const vtkFacetReader&); // Not implemented.
72 };
73 
74 #endif
75