15#ifndef vtkXMLPStructuredDataReader_h
16#define vtkXMLPStructuredDataReader_h
18#include "vtkIOXMLModule.h"
21VTK_ABI_NAMESPACE_BEGIN
59 VTK_FUTURE_CONST
int outExtent[6],
int* outDimensions,
vtkIdType* outIncrements,
60 VTK_FUTURE_CONST
int subExtent[6],
int* subDimensions,
vtkAbstractArray* inArray,
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.
void CopySubExtent(VTK_FUTURE_CONST int inExtent[6], int *inDimensions, vtkIdType *inIncrements, VTK_FUTURE_CONST int outExtent[6], int *outDimensions, vtkIdType *outIncrements, VTK_FUTURE_CONST int subExtent[6], int *subDimensions, vtkAbstractArray *inArray, vtkAbstractArray *outArray)
void ReadXMLData() override
Pipeline execution methods to be defined by subclass.
int SubPointDimensions[3]
void CopyArrayForCells(vtkAbstractArray *inArray, vtkAbstractArray *outArray) override
void CopyOutputInformation(vtkInformation *outInfo, int port) override
For the specified port, copy the information this reader sets up in SetupOutputInformation to outInfo...
void DestroyPieces() override
Delete all piece readers and related information.
vtkIdType CellIncrements[3]
~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.
virtual void GetPieceInputExtent(int index, int extent[6])=0
vtkIdType GetNumberOfCells() override
int ReadPieceData() override
Actually read the current piece data.
virtual void SetOutputExtent(VTK_FUTURE_CONST int extent[6])=0
int SubPiecePointDimensions[3]
vtkIdType PointIncrements[3]
int ReadPrimaryElement(vtkXMLDataElement *ePrimary) override
Read the information relative to the dataset and allocate the needed structures according to it.
vtkIdType GetNumberOfPoints() override
int SubPieceCellDimensions[3]
vtkIdType SubPiecePointIncrements[3]
vtkIdType SubPieceCellIncrements[3]
vtkXMLPStructuredDataReader()
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.