VTK  9.5.20250828
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
134#ifndef vtkPolyDataReader_h
135#define vtkPolyDataReader_h
136
137#include "vtkDataReader.h"
138#include "vtkIOLegacyModule.h" // For export macro
139
140VTK_ABI_NAMESPACE_BEGIN
141class vtkPolyData;
142
143class VTKIOLEGACY_EXPORT vtkPolyDataReader : public vtkDataReader
144{
145public:
148 void PrintSelf(ostream& os, vtkIndent indent) override;
149
151
156 void SetOutput(vtkPolyData* output);
158
162 int ReadMeshSimple(VTK_FILEPATH const std::string& fname, vtkDataObject* output) override;
163
164protected:
167
169
170private:
171 vtkPolyDataReader(const vtkPolyDataReader&) = delete;
172 void operator=(const vtkPolyDataReader&) = delete;
173};
174
175VTK_ABI_NAMESPACE_END
176#endif
general representation of visualization data
helper superclass for objects that read vtk data files
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
read vtk polygonal data file
~vtkPolyDataReader() override
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
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
#define VTK_FILEPATH