VTK  9.4.20250421
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
26VTK_ABI_NAMESPACE_BEGIN
27class VTKIOAVMESH_EXPORT vtkAvmeshReader : public vtkMultiBlockDataSetAlgorithm
28{
29public:
32 void PrintSelf(ostream& os, vtkIndent indent) override;
33
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
47protected:
49 ~vtkAvmeshReader() override;
50
52
53private:
54 vtkAvmeshReader(const vtkAvmeshReader&) = delete;
55 void operator=(const vtkAvmeshReader&) = delete;
56
57 std::string FileName;
58 bool SurfaceOnly;
59 bool BuildConnectivityIteratively;
60};
61
62VTK_ABI_NAMESPACE_END
63#endif // vtkAvmeshReader_h
Read an AVMESH file.
static vtkAvmeshReader * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int CanReadFile(VTK_FILEPATH const char *filename)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGetCharFromStdStringMacro(FileName)
vtkSetStdStringFromCharMacro(FileName)
~vtkAvmeshReader() 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 vtkMultiBlockDataSet as output.
#define VTK_FILEPATH