 |
VTK
9.0.1
|
Go to the documentation of this file.
28 #ifndef vtkXMLPHyperTreeGridReader_h
29 #define vtkXMLPHyperTreeGridReader_h
31 #include "vtkIOXMLModule.h"
int ReadPiece(vtkXMLDataElement *ePiece, int index)
Setup the piece reader at the given index.
Superclass for PVTK XML file readers.
vtkHyperTreeGrid * GetOutput(int idx)
void SetupUpdateExtent(int piece, int numberOfPieces)
Setup the extent for the parallel reader and the piece readers.
int CanReadPiece(int index) override
Whether or not the current reader can read the current piece.
vtkXMLPHyperTreeGridReader()
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
vtkIdType GetNumberOfPointsInPiece(int piece)
Read PVTK XML HyperTreeGrid files.
void SetupEmptyOutput() override
Initialize current output.
void SetupOutputData() override
Initialize current output data.
int ReadPieceData(int index)
Actually read the current piece data.
int UpdatePiece
The update request.
Objects for traversal a HyperTreeGrid.
void ReadXMLData() override
Setup the readers and then read the input data.
void CopyOutputInformation(vtkInformation *outInfo, int port) override
For the specified port, copy the information this reader sets up in SetupOutputInformation to outInfo...
~vtkXMLPHyperTreeGridReader() override
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
Objects for depth-first traversal HyperTrees.
a simple class to control print indentation
int StartPiece
The range of pieces from the file that will form the UpdatePiece.
int ReadPiece(vtkXMLDataElement *ePiece) override
Setup the current piece reader.
vtkHyperTreeGrid * GetPieceInputAsHyperTreeGrid(int piece)
Represents an XML element and those nested inside.
void SetupOutputInformation(vtkInformation *outInfo) override
Setup the output's information.
vtkIdType TotalNumberOfPoints
void GetOutputUpdateExtent(int &piece, int &numberOfPieces)
Get the current piece index and the total number of pieces in the dataset Here let's consider a piece...
void DestroyPieces() override
Delete all piece readers and related information.
int ReadPrimaryElement(vtkXMLDataElement *ePrimary) override
Pipeline execute data driver.
const char * GetDataSetName() override
Return the type of the dataset being read.
vtkXMLHyperTreeGridReader * CreatePieceReader()
Create a reader according to the data to read.
void SetupNextPiece()
no-op
static vtkXMLPHyperTreeGridReader * New()
vtkIdType GetNumberOfPoints()
Get the number of vertices available in the input.
Read VTK XML HyperTreeGrid files.
void SetupPieces(int numPieces) override
Setup the number of pieces to be read.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetupOutputTotals()
Initialize the number of vertices from all the pieces.
vtkHyperTreeGrid * GetOutput()
Get the reader's output.
vtkXMLHyperTreeGridReader ** PieceReaders
void RecursivelyProcessTree(vtkHyperTreeGridNonOrientedCursor *inCursor, vtkHyperTreeGridNonOrientedCursor *outCursor)
vtkIdType PieceStartIndex
vtkHyperTreeGrid * GetOutputAsHyperTreeGrid()
void PieceProgressCallback() override
Callback registered with the PieceProgressObserver.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.