VTK  9.2.6
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=========================================================================*/
31
32#ifndef vtkXMLPUnstructuredGridReader_h
33#define vtkXMLPUnstructuredGridReader_h
34
35#include "vtkIOXMLModule.h" // For export macro
37
40
42{
43public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
47
49
55
56protected:
59
60 const char* GetDataSetName() override;
61 void GetOutputUpdateExtent(int& piece, int& numberOfPieces, int& ghostLevel) override;
62 void SetupOutputTotals() override;
63
64 void SetupOutputData() override;
65 void SetupNextPiece() override;
66 int ReadPieceData() override;
67
68 void CopyArrayForCells(vtkAbstractArray* inArray, vtkAbstractArray* outArray) override;
71
73
74 // The index of the cell in the output where the current piece
75 // begins.
77
78private:
80 void operator=(const vtkXMLPUnstructuredGridReader&) = delete;
81};
82
83#endif
Abstract superclass for all arrays.
general representation of visualization data
a simple class to control print indentation
Definition vtkIndent.h:40
Store vtkAlgorithm input/output information.
dataset represents arbitrary combinations of all possible cell types
Superclass for VTK XML file readers.
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