VTK  9.7.20261008
vtkXMLPPolyDataReader.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
19
20#ifndef vtkXMLPPolyDataReader_h
21#define vtkXMLPPolyDataReader_h
22
23#include "vtkIOXMLModule.h" // For export macro
24#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
26
27VTK_ABI_NAMESPACE_BEGIN
29class vtkPolyData;
30
32{
33public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
37
39
45
46protected:
49
50 const char* GetDataSetName() override;
51 void GetOutputUpdateExtent(int& piece, int& numberOfPieces, int& ghostLevel) override;
57 void SetupOutputTotals() override;
58
59 void SetupOutputData() override;
60 void SetupNextPiece() override;
61 int ReadPieceData() override;
62
63 void CopyArrayForCells(vtkAbstractArray* inArray, vtkAbstractArray* outArray) override;
66
67 // The size of the UpdatePiece.
76
77private:
79 void operator=(const vtkXMLPPolyDataReader&) = delete;
80};
81
82VTK_ABI_NAMESPACE_END
83#endif
int idx
Definition HexCnBasis.h:79
Abstract superclass for all arrays.
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Superclass for VTK XML file readers.
int ReadPieceData() override
Actually read the current piece data.
void CopyArrayForCells(vtkAbstractArray *inArray, vtkAbstractArray *outArray) override
vtkPolyData * GetOutput(int idx)
Get the reader's output.
static vtkXMLPPolyDataReader * New()
vtkIdType GetNumberOfVertsInPiece(int piece)
vtkIdType GetNumberOfStripsInPiece(int piece)
vtkIdType GetNumberOfCellsInPiece(int piece) override
vtkIdType GetNumberOfPolysInPiece(int piece)
void GetOutputUpdateExtent(int &piece, int &numberOfPieces, int &ghostLevel) override
void SetupOutputTotals() override
vtkIdType GetNumberOfLinesInPiece(int piece)
const char * GetDataSetName() override
Get the name of the data set being read.
vtkPolyData * GetOutput()
Get the reader's output.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
void SetupNextPiece() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkXMLDataReader * CreatePieceReader() override
Create a reader according to the data to read.
void SetupOutputData() override
Initialize the output data.
~vtkXMLPPolyDataReader() override
int vtkIdType
Definition vtkType.h:363
#define VTK_MARSHALAUTO