VTK  9.7.1
vtkAvmeshReader.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
19 #ifndef vtkAvmeshReader_h
20 #define vtkAvmeshReader_h
21 
22 #include "vtkIOAvmeshModule.h" // for export macro
23 #include <string>
25 
26 VTK_ABI_NAMESPACE_BEGIN
28 {
29 public:
30  static vtkAvmeshReader* New();
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
34  vtkSetStdStringFromCharMacro(FileName);
35  vtkGetCharFromStdStringMacro(FileName);
36 
37  int CanReadFile(VTK_FILEPATH const char* filename);
38 
39  vtkSetMacro(SurfaceOnly, bool);
40  vtkGetMacro(SurfaceOnly, bool);
41  vtkBooleanMacro(SurfaceOnly, bool);
42 
43  vtkSetMacro(BuildConnectivityIteratively, bool);
44  vtkGetMacro(BuildConnectivityIteratively, bool);
45  vtkBooleanMacro(BuildConnectivityIteratively, bool);
46 
47 protected:
49  ~vtkAvmeshReader() override;
50 
52 
53 private:
54  vtkAvmeshReader(const vtkAvmeshReader&) = delete;
55  void operator=(const vtkAvmeshReader&) = delete;
56 
57  std::string FileName;
58  bool SurfaceOnly;
59  bool BuildConnectivityIteratively;
60 };
61 
62 VTK_ABI_NAMESPACE_END
63 #endif // vtkAvmeshReader_h
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.
a simple class to control print indentation
Definition: vtkIndent.h:28
Read an AVMESH file.
Superclass for algorithms that produce vtkPartitionedDataSetCollectionAlgorithm.
#define VTK_FILEPATH
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()