20 #ifndef vtkXMLPTableReader_h
21 #define vtkXMLPTableReader_h
23 #include "vtkIOXMLModule.h"
26 VTK_ABI_NAMESPACE_BEGIN
95 virtual vtkIdType GetNumberOfRowsInPiece(
int piece);
99 vtkTable* GetPieceInputAsTable(
int piece);
104 void GetOutputUpdateExtent(
int& piece,
int& numberOfPieces);
124 void SetupOutputTotals();
129 void SetupNextPiece();
139 void SetupUpdateExtent(
int piece,
int numberOfPieces);
171 int ReadPieceData(
int index);
198 int GetNumberOfRowArrays();
199 const char* GetRowArrayName(
int index);
229 VTK_ABI_NAMESPACE_END
vtkXMLDataElement * PRowElement
The PRowData element representations.
vtkDataArraySelection * ColumnSelection
virtual const char * GetDataSetName()=0
Get the name of the data set being read.
virtual void SetupEmptyOutput()=0
Setup the output with no data available.
virtual int CanReadPiece(int index)=0
Whether or not the current reader can read the current piece.
Represents an XML element and those nested inside.
virtual void PieceProgressCallback()=0
Callback registered with the PieceProgressObserver.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int UpdatePieceId
The update request.
Read VTK XML Table files.
const char * GetColumnArrayName(int index)
Get the name of the point, cell, column or time array with the given index in the input...
virtual void ReadXMLData()
Pipeline execution methods to be defined by subclass.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
a simple class to control print indentation
void SetColumnArrayStatus(const char *name, int status)
Get/Set whether the point, cell, column or time array with the given name is to be read...
Store on/off settings for data arrays, etc.
void SetupOutputData() override
Initialize the output data.
virtual void SetupOutputInformation(vtkInformation *vtkNotUsed(outInfo))
Setup the output's information.
Superclass for PVTK XML file readers.
Read PVTK XML Table files.
vtkIdType TotalNumberOfRows
virtual void SetupPieces(int numPieces)
Setup the number of pieces to be read and allocate space accordingly.
virtual int ReadPrimaryElement(vtkXMLDataElement *ePrimary)
Read the primary element from the file.
virtual void DestroyPieces()
Delete all piece readers and related information.
A table, which contains similar-typed columns of data.
virtual void CopyOutputInformation(vtkInformation *vtkNotUsed(outInfo), int vtkNotUsed(port))
vtkXMLTableReader ** PieceReaders
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkAlgorithm * New()
int GetColumnArrayStatus(const char *name)
Get/Set whether the point, cell, column or time array with the given name is to be read...
int GetNumberOfColumnArrays()
Get the number of point, cell or column arrays available in the input.
int StartPiece
The range of pieces from the file that will form the UpdatePiece.
int ReadPiece(vtkXMLDataElement *ePiece, int index)
Setup the piece reader at the given index.