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 =========================================================================*/
42 #ifndef vtkFacetReader_h
43 #define vtkFacetReader_h
44 
45 #include "vtkFiltersHybridModule.h" // For export macro
46 #include "vtkPolyDataAlgorithm.h"
47 
48 class VTKFILTERSHYBRID_EXPORT vtkFacetReader : public vtkPolyDataAlgorithm
49 {
50 public:
51  static vtkFacetReader *New();
53  void PrintSelf(ostream& os, vtkIndent indent) override;
54 
56 
59  vtkSetStringMacro(FileName);
60  vtkGetStringMacro(FileName);
62 
63  static int CanReadFile(const char *filename);
64 
65 protected:
67  ~vtkFacetReader() override;
68 
70 
71  char *FileName;
72 
73 private:
74  vtkFacetReader(const vtkFacetReader&) = delete;
75  void operator=(const vtkFacetReader&) = delete;
76 };
77 
78 #endif
79 
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
Store zero or more vtkInformation instances.
reads a dataset in Facet format
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.