VTK  9.3.0
vtkXMLPUnstructuredGridReader.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 vtkXMLPUnstructuredGridReader_h
21 #define vtkXMLPUnstructuredGridReader_h
22 
23 #include "vtkIOXMLModule.h" // For export macro
25 
26 VTK_ABI_NAMESPACE_BEGIN
27 class vtkAbstractArray;
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  void SetupOutputTotals() override;
52 
53  void SetupOutputData() override;
54  void SetupNextPiece() override;
55  int ReadPieceData() override;
56 
57  void CopyArrayForCells(vtkAbstractArray* inArray, vtkAbstractArray* outArray) override;
60 
62 
63  // The index of the cell in the output where the current piece
64  // begins.
66 
67 private:
69  void operator=(const vtkXMLPUnstructuredGridReader&) = delete;
70 };
71 
72 VTK_ABI_NAMESPACE_END
73 #endif
Abstract superclass for all arrays.
general representation of visualization data
Definition: vtkDataObject.h:64
a simple class to control print indentation
Definition: vtkIndent.h:38
Store vtkAlgorithm input/output information.
dataset represents arbitrary combinations of all possible cell types
Superclass for VTK XML file readers.
Superclass for parallel unstructured data XML readers.
Read PVTK XML UnstructuredGrid files.
void GetOutputUpdateExtent(int &piece, int &numberOfPieces, int &ghostLevel) override
void CopyArrayForCells(vtkAbstractArray *inArray, vtkAbstractArray *outArray) override
void SetupOutputTotals() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetupNextPiece() override
static vtkXMLPUnstructuredGridReader * New()
vtkXMLDataReader * CreatePieceReader() override
Create a reader according to the data to read.
int ReadPieceData() override
Actually read the current piece data.
vtkUnstructuredGrid * GetOutput(int idx)
Get the reader's output.
~vtkXMLPUnstructuredGridReader() override
void SetupOutputData() override
Initialize the output data.
const char * GetDataSetName() override
Get the name of the data set being read.
void SqueezeOutputArrays(vtkDataObject *) override
Give concrete classes an option to squeeze any output arrays at the end of RequestData.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
vtkUnstructuredGrid * GetOutput()
Get the reader's output.
int vtkIdType
Definition: vtkType.h:315