 |
VTK
9.0.1
|
Go to the documentation of this file.
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(
int ReadPiece(vtkXMLDataElement *ePiece, int index)
Setup the piece reader at the given index.
Superclass for PVTK XML file readers.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int ReadPrimaryElement(vtkXMLDataElement *ePrimary)
Read PVTK XML HyperTreeGrid files.
virtual void PieceProgressCallback()=0
int UpdatePiece
The update request.
Objects for traversal a HyperTreeGrid.
Objects for depth-first traversal HyperTrees.
virtual void ReadXMLData()
virtual void SetupEmptyOutput()=0
a simple class to control print indentation
int StartPiece
The range of pieces from the file that will form the UpdatePiece.
virtual void DestroyPieces()
Delete all piece readers and related information.
virtual const char * GetDataSetName()=0
Represents an XML element and those nested inside.
vtkIdType TotalNumberOfPoints
void SetupOutputData() override
Initialize the output data.
static vtkAlgorithm * New()
Read VTK XML HyperTreeGrid files.
virtual void SetupOutputInformation(vtkInformation *vtkNotUsed(outInfo))
virtual void SetupPieces(int numPieces)
Setup the number of pieces to be read and allocate space accordingly.
vtkXMLHyperTreeGridReader ** PieceReaders
vtkIdType PieceStartIndex
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.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
virtual int CanReadPiece(int index)=0
Whether or not the current reader can read the current piece.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.