VTK  9.4.20250509
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
35
36VTK_ABI_NAMESPACE_BEGIN
37class VTKFILTERSHYBRID_EXPORT vtkFacetReader : public vtkPolyDataAlgorithm
38{
39public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
45
51
52 static int CanReadFile(VTK_FILEPATH const char* filename);
53
54protected:
56 ~vtkFacetReader() override;
57
59
60 char* FileName;
61
62private:
63 vtkFacetReader(const vtkFacetReader&) = delete;
64 void operator=(const vtkFacetReader&) = delete;
65};
66
67VTK_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)
static vtkFacetReader * New()
vtkGetFilePathMacro(FileName)
Specify file name of Facet datafile to read.
~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