VTK  9.1.0
vtkXMLPPolyDataReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkXMLPPolyDataReader.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 vtkXMLPPolyDataReader_h
30#define vtkXMLPPolyDataReader_h
31
32#include "vtkIOXMLModule.h" // For export macro
34
36class vtkPolyData;
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;
64 void SetupOutputTotals() override;
65
66 void SetupOutputData() override;
67 void SetupNextPiece() override;
68 int ReadPieceData() override;
69
70 void CopyArrayForCells(vtkAbstractArray* inArray, vtkAbstractArray* outArray) override;
73
74 // The size of the UpdatePiece.
83
84private:
86 void operator=(const vtkXMLPPolyDataReader&) = delete;
87};
88
89#endif
Abstract superclass for all arrays.
a simple class to control print indentation
Definition: vtkIndent.h:113
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:195
Superclass for VTK XML file readers.
Read PVTK XML PolyData files.
int ReadPieceData() override
Actually read the current piece data.
void CopyArrayForCells(vtkAbstractArray *inArray, vtkAbstractArray *outArray) override
vtkPolyData * GetOutput(int idx)
Get the reader's output.
static vtkXMLPPolyDataReader * New()
vtkIdType GetNumberOfVertsInPiece(int piece)
vtkIdType GetNumberOfStripsInPiece(int piece)
vtkIdType GetNumberOfCellsInPiece(int piece) override
vtkIdType GetNumberOfPolysInPiece(int piece)
void GetOutputUpdateExtent(int &piece, int &numberOfPieces, int &ghostLevel) override
void SetupOutputTotals() override
vtkIdType GetNumberOfLinesInPiece(int piece)
const char * GetDataSetName() override
vtkPolyData * GetOutput()
Get the reader's output.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
void SetupNextPiece() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkXMLDataReader * CreatePieceReader() override
Create a reader according to the data to read.
void SetupOutputData() override
Initialize the output data.
~vtkXMLPPolyDataReader() override
Superclass for parallel unstructured data XML readers.
int vtkIdType
Definition: vtkType.h:332