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 vtkIdType GetNumberOfPoints()=0
void DestroyPieces() override
Delete all piece readers and related information.
Represents an XML element and those nested inside.
Superclass for structured data XML readers.
virtual vtkIdType GetNumberOfCells()=0
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int ReadPiece(vtkXMLDataElement *ePiece) override
Setup the current piece reader.
virtual void ReadXMLData()
Split an extent across other extents.
int ReadPrimaryElement(vtkXMLDataElement *ePrimary) override
Read the information relative to the dataset and allocate the needed structures according to it...
void CopyOutputInformation(vtkInformation *outInfo, int port) override
For the specified port, copy the information this reader sets up in SetupOutputInformation to outInfo...
a simple class to control print indentation
Superclass for parallel structured data XML readers.
virtual void CopyArrayForPoints(vtkDataArray *inArray, vtkDataArray *outArray)=0
abstract superclass for arrays of numeric data
Superclass for PVTK XML file readers that read vtkDataSets.
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.
vtkExtentSplitter * ExtentSplitter
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.