26 #ifndef vtkXMLPUnstructuredDataReader_h
27 #define vtkXMLPUnstructuredDataReader_h
29 #include "vtkIOXMLModule.h"
56 virtual void SetupOutputTotals();
57 virtual void SetupNextPiece();
68 virtual void GetOutputUpdateExtent(
int& piece,
int& numberOfPieces,
int& ghostLevel) = 0;
73 void SetupUpdateExtent(
int piece,
int numberOfPieces,
int ghostLevel);
80 virtual vtkIdType GetNumberOfPointsInPiece(
int piece);
81 virtual vtkIdType GetNumberOfCellsInPiece(
int piece);
virtual vtkIdType GetNumberOfPoints()=0
virtual void SetupEmptyOutput()=0
Represents an XML element and those nested inside.
void SetupOutputInformation(vtkInformation *outInfo) override
Pipeline execute information driver.
Abstract superclass for all arrays.
virtual vtkIdType GetNumberOfCells()=0
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
concrete class for storing a set of points
Superclass for unstructured data XML readers.
virtual void ReadXMLData()
virtual void CopyArrayForPoints(vtkAbstractArray *inArray, vtkAbstractArray *outArray)=0
int ReadPrimaryElement(vtkXMLDataElement *ePrimary) override
Read the information relative to the dataset and allocate the needed structures according to it...
void CopyOutputInformation(vtkInformation *outInfo, int port) override
For the specified port, copy the information this reader sets up in SetupOutputInformation to outInfo...
a simple class to control print indentation
Superclass for parallel unstructured data XML readers.
Superclass for PVTK XML file readers that read vtkDataSets.
virtual int ReadPieceData()
Actually read the current piece data.
object to represent cell connectivity
vtkIdType TotalNumberOfPoints
vtkXMLDataElement * PPointsElement
vtkIdType TotalNumberOfCells
void SetupOutputData() override
Initialize the output data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.