VTK  9.4.20241212
vtkOFFReader.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
25#ifndef vtkOFFReader_h
26#define vtkOFFReader_h
27
29#include "vtkIOGeometryModule.h" // For export macro
30#include "vtkResourceStream.h" // For vtkResourceStream
31
32VTK_ABI_NAMESPACE_BEGIN
33class VTKIOGEOMETRY_EXPORT vtkOFFReader : public vtkAbstractPolyDataReader
34{
35public:
36 static vtkOFFReader* New();
38
43
48
49protected:
50 vtkOFFReader() = default;
51 ~vtkOFFReader() override = default;
52
54
55private:
60
69
70 vtkOFFReader(const vtkOFFReader&) = delete;
71 void operator=(const vtkOFFReader&) = delete;
72};
73
74VTK_ABI_NAMESPACE_END
75#endif
Superclass for algorithms that read models from a file.
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
read Geomview .off files
vtkOFFReader()=default
static vtkOFFReader * New()
vtkSetSmartPointerMacro(Stream, vtkResourceStream)
Set the resource stream to use when reading.
vtkGetSmartPointerMacro(Stream, vtkResourceStream)
Get the resource stream to use when reading.
~vtkOFFReader() override=default
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Abstract class used for custom streams.
Hold a reference to a vtkObjectBase instance.