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);
vtkXMLDataElement * PRowElement
The PRowData element representations.
vtkDataArraySelection * ColumnSelection
virtual const char * GetDataSetName()=0
virtual void SetupEmptyOutput()=0
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)
Read VTK XML Table files.
const char * GetColumnArrayName(int index)
Get the name of the point, cell or column array with the given index in the input.
virtual void ReadXMLData()
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 or column array with the given name is to be read.
Store on/off settings for data arrays for a vtkSource.
void SetupOutputData() override
Initialize the output data.
virtual void SetupOutputInformation(vtkInformation *vtkNotUsed(outInfo))
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)
int UpdatePiece
The update request.
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 or column 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.