VTK
9.7.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
IO
Geometry
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
29
#ifndef vtkOFFReader_h
30
#define vtkOFFReader_h
31
32
#include "
vtkAbstractPolyDataReader.h
"
33
#include "vtkIOGeometryModule.h"
// For export macro
34
#include "
vtkResourceStream.h
"
// For vtkResourceStream
35
36
VTK_ABI_NAMESPACE_BEGIN
37
class
VTKIOGEOMETRY_EXPORT
vtkOFFReader
:
public
vtkAbstractPolyDataReader
38
{
39
public
:
40
static
vtkOFFReader
*
New
();
41
vtkTypeMacro(
vtkOFFReader
,
vtkAbstractPolyDataReader
);
42
43
protected
:
44
vtkOFFReader
() =
default
;
45
~
vtkOFFReader
()
override
=
default
;
46
47
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
48
49
private
:
57
vtkSmartPointer<vtkResourceStream>
Open
();
58
59
vtkOFFReader
(
const
vtkOFFReader
&) =
delete
;
60
void
operator=(
const
vtkOFFReader
&) =
delete
;
61
};
62
63
VTK_ABI_NAMESPACE_END
64
#endif
vtkResourceStream.h
vtkOFFReader
read Geomview .off files
Definition:
vtkOFFReader.h:37
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:63
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkAbstractPolyDataReader.h
vtkSmartPointer< vtkResourceStream >
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkAbstractPolyDataReader
Superclass for algorithms that read models from a file.
Definition:
vtkAbstractPolyDataReader.h:27
vtkHDFUtilities::Open
VTKIOHDF_EXPORT bool Open(const char *fileName, hid_t &fileID)
Open a VTK HDF file and checks if it is valid.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:32
Generated on Tue Oct 20 2026 10:48:41 for VTK by
1.8.10