Go to the documentation of this file.
27 #ifndef vtkXMLPStructuredDataReader_h
28 #define vtkXMLPStructuredDataReader_h
30 #include "vtkIOXMLModule.h"
54 virtual void SetOutputExtent(
int*
extent)=0;
55 virtual void GetPieceInputExtent(
int index,
int*
extent)=0;
67 void CopySubExtent(
int* inExtent,
int* inDimensions,
vtkIdType* inIncrements,
68 int* outExtent,
int* outDimensions,
vtkIdType* outIncrements,
69 int* subExtent,
int* subDimensions,
71 int ComputePieceSubExtents();
77 int PointDimensions[3];
79 int CellDimensions[3];
84 int SubPointDimensions[3];
85 int SubCellDimensions[3];
86 int SubPieceExtent[6];
87 int SubPiecePointDimensions[3];
89 int SubPieceCellDimensions[3];
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int ReadPiece(vtkXMLDataElement *ePiece) override
Setup the current piece reader.
virtual vtkIdType GetNumberOfPoints()=0
abstract superclass for arrays of numeric data
virtual vtkIdType GetNumberOfCells()=0
Superclass for parallel structured data XML readers.
virtual void CopyArrayForPoints(vtkDataArray *inArray, vtkDataArray *outArray)=0
virtual void ReadXMLData()
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.
vtkExtentSplitter * ExtentSplitter
void CopyOutputInformation(vtkInformation *outInfo, int port) override
For the specified port, copy the information this reader sets up in SetupOutputInformation to outInfo...
Represents an XML element and those nested inside.
Superclass for structured data XML readers.
Split an extent across other extents.
void SetupPieces(int numPieces) override
Setup the number of pieces to be read and allocate space accordingly.
virtual int ReadPieceData()
Actually read the current piece 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.