26#ifndef vtkXMLUnstructuredDataReader_h
27#define vtkXMLUnstructuredDataReader_h
29#include "vtkIOXMLModule.h"
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
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
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)
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.
void ReadXMLData() override
void DestroyPieces() override
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 PointsNeedToReadTimeStep(vtkXMLDataElement *eNested)
vtkXMLDataElement * FindDataArrayWithName(vtkXMLDataElement *eParent, const char *name)
void CopyOutputInformation(vtkInformation *outInfo, int port) override
vtkIdType TotalNumberOfCells
vtkXMLUnstructuredDataReader()