VTK  9.0.1
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 
36 
38 {
39 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
45 
51 
52 protected:
55 
56  const char* GetDataSetName() override;
57  void GetOutputUpdateExtent(int& piece, int& numberOfPieces, int& ghostLevel) override;
58  void SetupOutputTotals() override;
59 
60  void SetupOutputData() override;
61  void SetupNextPiece() override;
62  int ReadPieceData() override;
63 
64  void CopyArrayForCells(vtkDataArray* inArray, vtkDataArray* outArray) override;
67 
69 
70  // The index of the cell in the output where the current piece
71  // begins.
73 
74 private:
76  void operator=(const vtkXMLPUnstructuredGridReader&) = delete;
77 };
78 
79 #endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:50
general representation of visualization data
Definition: vtkDataObject.h:60
a simple class to control print indentation
Definition: vtkIndent.h:34
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 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)
~vtkXMLPUnstructuredGridReader() override
void SetupOutputData() override
Initialize the output data.
const char * GetDataSetName() override
void SqueezeOutputArrays(vtkDataObject *) override
void CopyArrayForCells(vtkDataArray *inArray, vtkDataArray *outArray) override
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:338