28 #ifndef vtkXMLPHyperTreeGridReader_h
29 #define vtkXMLPHyperTreeGridReader_h
31 #include "vtkIOXMLModule.h"
73 vtkIdType GetNumberOfPointsInPiece(
int piece);
82 void GetOutputUpdateExtent(
int& piece,
int& numberOfPieces);
102 void SetupOutputTotals();
107 void SetupNextPiece();
117 void SetupUpdateExtent(
int piece,
int numberOfPieces);
149 int ReadPieceData(
int index);
151 void RecursivelyProcessTree(
vtkIdType TotalNumberOfPoints
Read VTK XML HyperTreeGrid files.
virtual const char * GetDataSetName()=0
virtual void SetupEmptyOutput()=0
virtual int CanReadPiece(int index)=0
Whether or not the current reader can read the current piece.
Represents an XML element and those nested inside.
virtual void PieceProgressCallback()=0
Callback registered with the PieceProgressObserver.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void ReadXMLData()
Objects for traversal a HyperTreeGrid.
vtkXMLHyperTreeGridReader ** PieceReaders
Objects for depth-first traversal HyperTrees.
int UpdatePiece
The update request.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
vtkIdType PieceStartIndex
a simple class to control print indentation
void SetupOutputData() override
Initialize the output data.
virtual void SetupOutputInformation(vtkInformation *vtkNotUsed(outInfo))
Superclass for PVTK XML file readers.
virtual void SetupPieces(int numPieces)
Setup the number of pieces to be read and allocate space accordingly.
virtual int ReadPrimaryElement(vtkXMLDataElement *ePrimary)
virtual void DestroyPieces()
Delete all piece readers and related information.
Read PVTK XML HyperTreeGrid files.
virtual void CopyOutputInformation(vtkInformation *vtkNotUsed(outInfo), int vtkNotUsed(port))
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkAlgorithm * New()
int StartPiece
The range of pieces from the file that will form the UpdatePiece.
int ReadPiece(vtkXMLDataElement *ePiece, int index)
Setup the piece reader at the given index.