VTK  9.6.1
vtkPolyDataReader.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
24
25#ifndef vtkPolyDataReader_h
26#define vtkPolyDataReader_h
27
28#include "vtkDataReader.h"
29#include "vtkIOLegacyModule.h" // For export macro
30
31VTK_ABI_NAMESPACE_BEGIN
32class vtkPolyData;
33
34class VTKIOLEGACY_EXPORT vtkPolyDataReader : public vtkDataReader
35{
36public:
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
42
47 void SetOutput(vtkPolyData* output);
49
53 int ReadMeshSimple(VTK_FILEPATH const std::string& fname, vtkDataObject* output) override;
54
55protected:
58
60
61private:
62 vtkPolyDataReader(const vtkPolyDataReader&) = delete;
63 void operator=(const vtkPolyDataReader&) = delete;
64};
65
66VTK_ABI_NAMESPACE_END
67#endif
general representation of visualization data
a simple class to control print indentation
Definition vtkIndent.h:29
Store vtkAlgorithm input/output information.
~vtkPolyDataReader() override
int FillOutputPortInformation(int, vtkInformation *) override
int ReadMeshSimple(const std::string &fname, vtkDataObject *output) override
Actual reading happens here.
void SetOutput(vtkPolyData *output)
Get the output of this reader.
vtkPolyData * GetOutput()
Get the output of this reader.
static vtkPolyDataReader * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyData * GetOutput(int idx)
Get the output of this reader.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition vtkPolyData.h:72
#define VTK_FILEPATH