132 #ifndef vtkXMLPolyDataReader_h
133 #define vtkXMLPolyDataReader_h
135 #include "vtkIOXMLModule.h"
138 VTK_ABI_NAMESPACE_BEGIN
225 VTK_ABI_NAMESPACE_END
Abstract superclass for all arrays.
a simple class to control print indentation
concrete dataset represents vertices, lines, polygons, and triangle strips
Represents an XML element and those nested inside.
Read VTK XML PolyData files.
void SetupNextPiece() override
vtkXMLDataElement ** LineElements
void SetupOutputTotals() override
virtual vtkIdType GetNumberOfVerts()
Get the number of verts/lines/strips/polys in the output.
vtkIdType * NumberOfPolys
static vtkXMLPolyDataReader * New()
vtkIdType * NumberOfVerts
const char * GetDataSetName() override
Get the name of the data set being read.
void SetupPieces(int numPieces) override
void DestroyPieces() override
virtual vtkIdType GetNumberOfStrips()
Get the number of verts/lines/strips/polys in the output.
unsigned long VertsOffset
virtual vtkIdType GetNumberOfLines()
Get the number of verts/lines/strips/polys in the output.
void GetOutputUpdateExtent(int &piece, int &numberOfPieces, int &ghostLevel) override
vtkPolyData * GetOutput()
Get the reader's output.
vtkIdType * NumberOfStrips
vtkPolyData * GetOutput(int idx)
Get the reader's output.
vtkXMLDataElement ** StripElements
vtkXMLDataElement ** PolyElements
unsigned long StripsOffset
virtual vtkIdType GetNumberOfPolys()
Get the number of verts/lines/strips/polys in the output.
vtkXMLDataElement ** VertElements
vtkIdType * NumberOfLines
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int ReadArrayForCells(vtkXMLDataElement *da, vtkAbstractArray *outArray) override
int ReadPieceData() override
~vtkXMLPolyDataReader() override
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
int ReadPiece(vtkXMLDataElement *ePiece) override
unsigned long PolysOffset
unsigned long LinesOffset
void SetupOutputData() override
Setup the output's data with allocation.
vtkIdType GetNumberOfCellsInPiece(int piece) override
Superclass for unstructured data XML readers.