27#ifndef vtkXMLPStructuredDataReader_h
28#define vtkXMLPStructuredDataReader_h
30#include "vtkIOXMLModule.h"
70 int* outDimensions,
vtkIdType* outIncrements,
int* subExtent,
int* subDimensions,
78 int PointDimensions[3];
80 int CellDimensions[3];
85 int SubPointDimensions[3];
86 int SubCellDimensions[3];
87 int SubPieceExtent[6];
88 int SubPiecePointDimensions[3];
90 int SubPieceCellDimensions[3];
Abstract superclass for all arrays.
Split an extent across other extents.
a simple class to control print indentation
Represents an XML element and those nested inside.
Superclass for PVTK XML file readers that read vtkDataSets.
Superclass for parallel structured data XML readers.
void ReadXMLData() override
virtual void GetPieceInputExtent(int index, int *extent)=0
void CopyArrayForCells(vtkAbstractArray *inArray, vtkAbstractArray *outArray) override
void CopyOutputInformation(vtkInformation *outInfo, int port) override
void DestroyPieces() override
Delete all piece readers and related information.
~vtkXMLPStructuredDataReader() override
vtkExtentSplitter * ExtentSplitter
int ComputePieceSubExtents()
void SetupOutputData() override
Initialize the output data.
void CopyArrayForPoints(vtkAbstractArray *inArray, vtkAbstractArray *outArray) override
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
int ReadPiece(vtkXMLDataElement *ePiece) override
Setup the current piece reader.
vtkIdType GetNumberOfCells() override
int ReadPieceData() override
Actually read the current piece data.
int ReadPrimaryElement(vtkXMLDataElement *ePrimary) override
Read the information relative to the dataset and allocate the needed structures according to it.
vtkIdType GetNumberOfPoints() override
void CopySubExtent(int *inExtent, int *inDimensions, vtkIdType *inIncrements, int *outExtent, int *outDimensions, vtkIdType *outIncrements, int *subExtent, int *subDimensions, vtkAbstractArray *inArray, vtkAbstractArray *outArray)
vtkXMLPStructuredDataReader()
virtual void SetOutputExtent(int *extent)=0
void SetupPieces(int numPieces) override
Setup the number of pieces to be read and allocate space accordingly.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for structured data XML readers.