VTK  9.3.20240423
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
26VTK_ABI_NAMESPACE_BEGIN
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;
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
67private:
69 void operator=(const vtkXMLPUnstructuredGridReader&) = delete;
70};
71
72VTK_ABI_NAMESPACE_END
73#endif
Abstract superclass for all arrays.
general representation of visualization data
a simple class to control print indentation
Definition vtkIndent.h:108
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
vtkUnstructuredGrid * GetOutput()
Get the reader's output.
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
vtkUnstructuredGrid * GetOutput(int idx)
Get the reader's output.
int ReadPieceData() override
Actually read the current piece data.
const char * GetDataSetName() override
Get the name of the data set being read.
~vtkXMLPUnstructuredGridReader() override
void SetupOutputData() override
Initialize the output data.
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.
static vtkXMLPUnstructuredGridReader * New()
vtkXMLDataReader * CreatePieceReader() override
Create a reader according to the data to read.
int vtkIdType
Definition vtkType.h:315