VTK  9.3.1
vtkFacetReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
30 #ifndef vtkFacetReader_h
31 #define vtkFacetReader_h
32 
33 #include "vtkFiltersHybridModule.h" // For export macro
34 #include "vtkPolyDataAlgorithm.h"
35 
36 VTK_ABI_NAMESPACE_BEGIN
37 class VTKFILTERSHYBRID_EXPORT vtkFacetReader : public vtkPolyDataAlgorithm
38 {
39 public:
40  static vtkFacetReader* New();
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
45 
48  vtkSetFilePathMacro(FileName);
49  vtkGetFilePathMacro(FileName);
51 
52  static int CanReadFile(VTK_FILEPATH const char* filename);
53 
54 protected:
56  ~vtkFacetReader() override;
57 
59 
60  char* FileName;
61 
62 private:
63  vtkFacetReader(const vtkFacetReader&) = delete;
64  void operator=(const vtkFacetReader&) = delete;
65 };
66 
67 VTK_ABI_NAMESPACE_END
68 #endif
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:28
#define VTK_FILEPATH
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.