14 #ifndef vtkXMLPUnstructuredDataReader_h
15 #define vtkXMLPUnstructuredDataReader_h
17 #include "vtkIOXMLModule.h"
20 VTK_ABI_NAMESPACE_BEGIN
45 virtual void SetupOutputTotals();
46 virtual void SetupNextPiece();
57 virtual void GetOutputUpdateExtent(
int& piece,
int& numberOfPieces,
int& ghostLevel) = 0;
62 void SetupUpdateExtent(
int piece,
int numberOfPieces,
int ghostLevel);
69 virtual vtkIdType GetNumberOfPointsInPiece(
int piece);
70 virtual vtkIdType GetNumberOfCellsInPiece(
int piece);
virtual vtkIdType GetNumberOfPoints()=0
virtual void SetupEmptyOutput()=0
Setup the output with no data available.
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()
Pipeline execution methods to be defined by subclass.
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.