VTK  9.3.20240327
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 
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
reads a dataset in Facet format
vtkSetFilePathMacro(FileName)
Specify file name of Facet datafile to read.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static int CanReadFile(VTK_FILEPATH const char *filename)
vtkGetFilePathMacro(FileName)
Specify file name of Facet datafile to read.
static vtkFacetReader * New()
~vtkFacetReader() override
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
#define VTK_FILEPATH