Go to the documentation of this file.
32 #ifndef vtkXMLPTableReader_h
33 #define vtkXMLPTableReader_h
35 #include "vtkIOXMLModule.h"
106 virtual vtkIdType GetNumberOfRowsInPiece(
int piece);
110 vtkTable* GetPieceInputAsTable(
int piece);
115 void GetOutputUpdateExtent(
int& piece,
int& numberOfPieces);
135 void SetupOutputTotals();
140 void SetupNextPiece();
150 void SetupUpdateExtent(
int piece,
int numberOfPieces);
182 int ReadPieceData(
int index);
209 int GetNumberOfRowArrays();
210 const char* GetRowArrayName(
int index);
int ReadPiece(vtkXMLDataElement *ePiece, int index)
Setup the piece reader at the given index.
Superclass for PVTK XML file readers.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int ReadPrimaryElement(vtkXMLDataElement *ePrimary)
A table, which contains similar-typed columns of data.
virtual void PieceProgressCallback()=0
vtkDataArraySelection * ColumnSelection
int GetColumnArrayStatus(const char *name)
int GetNumberOfColumnArrays()
Read PVTK XML Table files.
Store on/off settings for data arrays for a vtkSource.
int UpdatePiece
The update request.
vtkIdType TotalNumberOfRows
virtual void ReadXMLData()
virtual void SetupEmptyOutput()=0
a simple class to control print indentation
Read VTK XML Table files.
virtual void DestroyPieces()
Delete all piece readers and related information.
virtual const char * GetDataSetName()=0
Represents an XML element and those nested inside.
void SetupOutputData() override
Initialize the output data.
static vtkAlgorithm * New()
int StartPiece
The range of pieces from the file that will form the UpdatePiece.
const char * GetColumnArrayName(int index)
virtual void SetupOutputInformation(vtkInformation *vtkNotUsed(outInfo))
virtual void SetupPieces(int numPieces)
Setup the number of pieces to be read and allocate space accordingly.
vtkXMLDataElement * PRowElement
The PRowData element representations.
virtual void CopyOutputInformation(vtkInformation *vtkNotUsed(outInfo), int vtkNotUsed(port))
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
void SetColumnArrayStatus(const char *name, int status)
virtual int CanReadPiece(int index)=0
Whether or not the current reader can read the current piece.
vtkXMLTableReader ** PieceReaders