VTK  9.0.2
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 
35 class vtkPolyData;
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  vtkIdType GetNumberOfCellsInPiece(int piece) override;
63  void SetupOutputTotals() override;
64 
65  void SetupOutputData() override;
66  void SetupNextPiece() override;
67  int ReadPieceData() override;
68 
69  void CopyArrayForCells(vtkDataArray* inArray, vtkDataArray* outArray) override;
72 
73  // The size of the UpdatePiece.
82 
83 private:
85  void operator=(const vtkXMLPPolyDataReader&) = delete;
86 };
87 
88 #endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:50
a simple class to control print indentation
Definition: vtkIndent.h:34
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
Superclass for VTK XML file readers.
Read PVTK XML PolyData files.
int ReadPieceData() override
Actually read the current piece data.
vtkPolyData * GetOutput(int idx)
vtkPolyData * GetOutput()
Get the reader's output.
vtkIdType GetNumberOfVertsInPiece(int piece)
vtkXMLDataReader * CreatePieceReader() override
Create a reader according to the data to read.
const char * GetDataSetName() override
static vtkXMLPPolyDataReader * New()
vtkIdType GetNumberOfStripsInPiece(int piece)
vtkIdType GetNumberOfCellsInPiece(int piece) override
void CopyArrayForCells(vtkDataArray *inArray, vtkDataArray *outArray) override
vtkIdType GetNumberOfPolysInPiece(int piece)
void GetOutputUpdateExtent(int &piece, int &numberOfPieces, int &ghostLevel) override
void SetupOutputTotals() override
vtkIdType GetNumberOfLinesInPiece(int piece)
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.
void SetupOutputData() override
Initialize the output data.
~vtkXMLPPolyDataReader() override
Superclass for parallel unstructured data XML readers.
int vtkIdType
Definition: vtkType.h:338