15 #ifndef vtkXMLStructuredDataReader_h
16 #define vtkXMLStructuredDataReader_h
18 #include "vtkIOXMLModule.h"
21 VTK_ABI_NAMESPACE_BEGIN
60 virtual void SetOutputExtent(
int*
extent) = 0;
81 int PointDimensions[3];
90 int SubPointDimensions[3];
91 int SubCellDimensions[3];
102 virtual int ReadSubExtent(
int* inExtent,
int* inDimensions,
vtkIdType* inIncrements,
103 int* outExtent,
int* outDimensions,
vtkIdType* outIncrements,
int* subExtent,
111 VTK_ABI_NAMESPACE_END
int ReadPrimaryElement(vtkXMLDataElement *ePrimary) override
Read the primary element from the file.
int * PiecePointDimensions
virtual void SetupEmptyOutput()=0
Setup the output with no data available.
Represents an XML element and those nested inside.
vtkIdType * PiecePointIncrements
Abstract superclass for all arrays.
Superclass for structured data XML readers.
const std::map< CGNS_ENUMT(ElementType_t), int > CellDimensions
void CopyOutputInformation(vtkInformation *outInfo, int port) override
void ReadXMLData() override
Pipeline execution methods to be defined by subclass.
virtual void DestroyPieces()
a simple class to control print indentation
virtual void SetupPieces(int numPieces)
virtual vtkIdType GetNumberOfPoints()=0
Get the number of points in the output.
virtual int ReadArrayForPoints(vtkXMLDataElement *da, vtkAbstractArray *outArray)
virtual vtkIdType GetNumberOfCells()=0
Get the number of cells in the output.
Superclass for VTK XML file readers.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int ReadPiece(vtkXMLDataElement *ePiece, int piece)
vtkIdType * PieceCellIncrements
virtual int ReadArrayForCells(vtkXMLDataElement *da, vtkAbstractArray *outArray)
void SetupOutputInformation(vtkInformation *outInfo) override
int * PieceCellDimensions