VTK  9.3.20240419
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 
26 VTK_ABI_NAMESPACE_BEGIN
27 class vtkAbstractArray;
28 class vtkPolyData;
29 
31 {
32 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
38 
44 
45 protected:
48 
49  const char* GetDataSetName() override;
50  void GetOutputUpdateExtent(int& piece, int& numberOfPieces, int& ghostLevel) override;
51  vtkIdType GetNumberOfCellsInPiece(int piece) 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 
76 private:
78  void operator=(const vtkXMLPPolyDataReader&) = delete;
79 };
80 
81 VTK_ABI_NAMESPACE_END
82 #endif
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
Definition: vtkPolyData.h:181
Superclass for VTK XML file readers.
Read PVTK XML PolyData files.
int ReadPieceData() override
Actually read the current piece data.
vtkPolyData * GetOutput(int idx)
Get the reader's output.
vtkPolyData * GetOutput()
Get the reader's output.
void CopyArrayForCells(vtkAbstractArray *inArray, vtkAbstractArray *outArray) override
vtkIdType GetNumberOfVertsInPiece(int piece)
vtkXMLDataReader * CreatePieceReader() override
Create a reader according to the data to read.
const char * GetDataSetName() override
Get the name of the data set being read.
static vtkXMLPPolyDataReader * New()
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)
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.
void SetupOutputData() override
Initialize the output data.
~vtkXMLPPolyDataReader() override
Superclass for parallel unstructured data XML readers.
int vtkIdType
Definition: vtkType.h:315