Go to the documentation of this file.
27 #ifndef vtkXMLPDataReader_h
28 #define vtkXMLPDataReader_h
30 #include "vtkIOXMLModule.h"
vtkDataSet * GetPieceInputAsDataSet(int piece)
Get a given piece input as a dataset, return nullptr if there is none.
int ReadPiece(vtkXMLDataElement *ePiece, int index)
Setup the piece reader at the given index.
Superclass for PVTK XML file readers.
int ReadPiece(vtkXMLDataElement *ePiece) override
Setup the current piece reader.
int GhostLevel
The ghost level available on each input piece.
virtual vtkIdType GetNumberOfPoints()=0
vtkXMLDataElement * PCellDataElement
void SetupOutputInformation(vtkInformation *outInfo) override
Pipeline execute information driver.
abstract superclass for arrays of numeric data
Superclass for VTK XML file readers.
virtual vtkIdType GetNumberOfCells()=0
virtual vtkXMLDataReader * CreatePieceReader()=0
Create a reader according to the data to read.
~vtkXMLPDataReader() override
virtual void CopyArrayForPoints(vtkDataArray *inArray, vtkDataArray *outArray)=0
vtkXMLDataElement * PPointDataElement
The PPointData and PCellData element representations.
a simple class to control print indentation
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...
int CanReadPiece(int index) override
Whether or not the current reader can read the current piece.
Represents an XML element and those nested inside.
vtkXMLDataReader ** PieceReaders
Information per-piece.
abstract class to specify dataset behavior
void SetupPieces(int numPieces) override
Setup the number of pieces to be read and allocate space accordingly.
void PieceProgressCallback() override
Callback registered with the PieceProgressObserver.
virtual int ReadPieceData()
Actually read the current piece data.
int ReadPieceData(int index)
Actually read the piece at the given index data.
virtual void CopyArrayForCells(vtkDataArray *inArray, vtkDataArray *outArray)=0
void SetupOutputData() override
Initialize the output data.
Superclass for PVTK XML file readers that read vtkDataSets.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void DestroyPieces() override
Delete all piece readers and related information.