16 #ifndef vtkXMLPHyperTreeGridReader_h
17 #define vtkXMLPHyperTreeGridReader_h
19 #include "vtkIOXMLModule.h"
22 VTK_ABI_NAMESPACE_BEGIN
62 vtkIdType GetNumberOfPointsInPiece(
int piece);
71 void GetOutputUpdateExtent(
int& piece,
int& numberOfPieces);
91 void SetupOutputTotals();
96 void SetupNextPiece();
106 void SetupUpdateExtent(
int piece,
int numberOfPieces);
138 int ReadPieceData(
int index);
140 void RecursivelyProcessTree(
180 VTK_ABI_NAMESPACE_END
vtkIdType TotalNumberOfPoints
Read VTK XML HyperTreeGrid files.
virtual const char * GetDataSetName()=0
Get the name of the data set being read.
virtual void SetupEmptyOutput()=0
Setup the output with no data available.
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()
Pipeline execution methods to be defined by subclass.
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))
Setup the output's information.
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)
Read the primary element from the file.
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.