VTK  9.1.0
vtkXMLPUnstructuredGridReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkXMLPUnstructuredGridReader.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
29#ifndef vtkXMLPUnstructuredGridReader_h
30#define vtkXMLPUnstructuredGridReader_h
31
32#include "vtkIOXMLModule.h" // For export macro
34
37
39{
40public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
44
46
52
53protected:
56
57 const char* GetDataSetName() override;
58 void GetOutputUpdateExtent(int& piece, int& numberOfPieces, int& ghostLevel) override;
59 void SetupOutputTotals() override;
60
61 void SetupOutputData() override;
62 void SetupNextPiece() override;
63 int ReadPieceData() override;
64
65 void CopyArrayForCells(vtkAbstractArray* inArray, vtkAbstractArray* outArray) override;
68
70
71 // The index of the cell in the output where the current piece
72 // begins.
74
75private:
77 void operator=(const vtkXMLPUnstructuredGridReader&) = delete;
78};
79
80#endif
Abstract superclass for all arrays.
general representation of visualization data
a simple class to control print indentation
Definition: vtkIndent.h:113
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
~vtkXMLPUnstructuredGridReader() override
void SetupOutputData() override
Initialize the output data.
void SqueezeOutputArrays(vtkDataObject *) override
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:332