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 "vtkFiltersHybridModule.h" // For export macro
45 #include "vtkPolyDataAlgorithm.h"
46 
48 {
49 public:
50  static vtkFacetReader *New();
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
55 
56  vtkSetStringMacro(FileName);
57  vtkGetStringMacro(FileName);
59 
60  static int CanReadFile(const char *filename);
61 
62 protected:
64  ~vtkFacetReader();
65 
67 
68  char *FileName;
69 
70 private:
71  vtkFacetReader(const vtkFacetReader&); // Not implemented.
72  void operator=(const vtkFacetReader&); // Not implemented.
73 };
74 
75 #endif
76 
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKFILTERSHYBRID_EXPORT
Store zero or more vtkInformation instances.
reads a dataset in Facet format