VTK  9.3.0
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
20#ifndef vtkXMLPPolyDataReader_h
21#define vtkXMLPPolyDataReader_h
22
23#include "vtkIOXMLModule.h" // For export macro
25
26VTK_ABI_NAMESPACE_BEGIN
28class vtkPolyData;
29
31{
32public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
36
38
44
45protected:
48
49 const char* GetDataSetName() override;
50 void GetOutputUpdateExtent(int& piece, int& numberOfPieces, int& ghostLevel) override;
56 void SetupOutputTotals() override;
57
58 void SetupOutputData() override;
59 void SetupNextPiece() override;
60 int ReadPieceData() override;
61
62 void CopyArrayForCells(vtkAbstractArray* inArray, vtkAbstractArray* outArray) override;
65
66 // The size of the UpdatePiece.
75
76private:
78 void operator=(const vtkXMLPPolyDataReader&) = delete;
79};
80
81VTK_ABI_NAMESPACE_END
82#endif
Abstract superclass for all arrays.
a simple class to control print indentation
Definition vtkIndent.h:29
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition vtkPolyData.h:80
Superclass for VTK XML file readers.
Read PVTK XML PolyData files.
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
Superclass for parallel unstructured data XML readers.
int vtkIdType
Definition vtkType.h:315