14#ifndef vtkXMLUnstructuredDataReader_h
15#define vtkXMLUnstructuredDataReader_h
17#include "vtkIOXMLModule.h"
20VTK_ABI_NAMESPACE_BEGIN
Abstract superclass for all arrays.
object to represent cell connectivity
abstract superclass for arrays of numeric data
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
concrete class for storing a set of points
dynamic, self-adjusting array of unsigned char
Represents an XML element and those nested inside.
Superclass for VTK XML file readers.
Superclass for unstructured data XML readers.
void SetupEmptyOutput() override
Setup the output with no data available.
virtual vtkIdType GetNumberOfCellsInPiece(int piece)=0
vtkIdType GetNumberOfPoints() override
Get the number of points in the output.
vtkXMLDataElement ** PointElements
unsigned long PointsOffset
void SetupOutputData() override
Setup the output's data with allocation.
int ReadArrayForPoints(vtkXMLDataElement *da, vtkAbstractArray *outArray) override
vtkPointSet * GetOutputAsPointSet()
int ReadFaceArray(vtkIdType numberOfCells, vtkXMLDataElement *eCells, vtkIdTypeArray *outFaces, vtkIdTypeArray *outFaceOffsets)
int ReadCellArray(vtkIdType numberOfCells, vtkIdType totalNumberOfCells, vtkXMLDataElement *eCells, vtkCellArray *outCells)
const char * CellArrayCachedFileName
int ReadPiece(vtkXMLDataElement *ePiece) override
int ReadPieceData() override
vtkUnsignedCharArray * ConvertToUnsignedCharArray(vtkDataArray *a)
vtkIdTypeArray * ConvertToIdTypeArray(vtkDataArray *a)
~vtkXMLUnstructuredDataReader() override
virtual vtkIdType GetNumberOfPointsInPiece(int piece)
virtual void SetupNextPiece()
int CellsNeedToReadTimeStep(vtkXMLDataElement *eNested, int &cellstimestep, unsigned long &cellsoffset)
virtual void GetOutputUpdateExtent(int &piece, int &numberOfPieces, int &ghostLevel)=0
void SetupUpdateExtent(int piece, int numberOfPieces, int ghostLevel)
Setup the reader as if the given update extent were requested by its output.
int ReadFaceCellArray(vtkIdType numberOfCells, vtkXMLDataElement *eCells, vtkCellArray *outFaces, vtkCellArray *outFaceOffsets)
void ReadXMLData() override
Pipeline execution methods to be defined by subclass.
int CellArrayTimeStepRead
void DestroyPieces() override
const char * CellArrayCachedInputString
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual vtkIdType GetNumberOfPieces()
Get the number of pieces in the file.
vtkIdType GetNumberOfCells() override
Get the number of cells in the output.
virtual void SetupOutputTotals()
vtkIdType * NumberOfPoints
void SetupPieces(int numPieces) override
void SetupOutputInformation(vtkInformation *outInfo) override
vtkIdType TotalNumberOfPoints
int ReadPolyhedronCellArray(vtkIdType numberOfCells, vtkXMLDataElement *eCells, vtkCellArray *outFaces, vtkCellArray *outFaceOffsets)
int PointsNeedToReadTimeStep(vtkXMLDataElement *eNested)
vtkXMLDataElement * FindDataArrayWithName(vtkXMLDataElement *eParent, const char *name)
void CopyOutputInformation(vtkInformation *outInfo, int port) override
vtkIdType TotalNumberOfCells
vtkXMLUnstructuredDataReader()