Go to the documentation of this file.
27 #ifndef vtkXMLTableReader_h
28 #define vtkXMLTableReader_h
30 #include "vtkIOXMLModule.h"
int UpdatedPiece
The update request.
int NumberOfPieces
The number of Pieces of data found in the file.
vtkTable * GetOutput(int idx)
vtkTable * GetOutput()
Get the reader's output.
static vtkXMLTableReader * New()
const char * GetDataSetName() override
Get the name of the data set being read.
void SetupOutputInformation(vtkInformation *outInfo) override
Setup the output's information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A table, which contains similar-typed columns of data.
dynamic, self-adjusting array of unsigned char
vtkIdType GetNumberOfRows()
Get the number of rows in the output.
~vtkXMLTableReader() override
void SetupEmptyOutput() override
Initialize current output.
int Piece
The piece currently being read.
int ReadPiece(vtkXMLDataElement *ePiece)
Setup the current piece reader.
int NumberOfColumns
The number of columns arrays in the output.
vtkXMLDataElement ** RowDataElements
The RowData element representations for each piece.
int RowDataNeedToReadTimeStep(vtkXMLDataElement *eNested)
Specify the last time step read, useful to know if we need to read data.
vtkIdType TotalNumberOfRows
vtkTypeInt64 * RowDataOffset
void SetupNextPiece()
Initialize the index of the first row to be read in the next piece.
void SetupUpdateExtent(int piece, int numberOfPieces)
Setup the reader as if the given update extent were requested by its output.
void SetupOutputTotals()
Initialize the total number of rows to be read.
a simple class to control print indentation
Read VTK XML Table files.
void GetOutputUpdateExtent(int &piece, int &numberOfPieces)
Get the current piece index and the total number of piece in the dataset.
vtkXMLDataElement ** RowElements
The Points element for each piece.
object to represent cell connectivity
int ReadPiece(vtkXMLDataElement *ePiece, int piece)
Setup the piece reader at the given index.
Represents an XML element and those nested inside.
void CopyOutputInformation(vtkInformation *outInfo, int port) override
For the specified port, copy the information this reader sets up in SetupOutputInformation to outInfo...
int StartPiece
The range of pieces from the file that will form the UpdatedPiece.
void ReadXMLData() override
Pipeline execute data driver.
int ReadPrimaryElement(vtkXMLDataElement *ePrimary) override
Pipeline execute data driver.
vtkIdType GetNumberOfPieces()
Get the number of pieces in the file.
dynamic, self-adjusting array of vtkIdType
int ColumnIsEnabled(vtkXMLDataElement *eRowData)
Check whether the given array element is an enabled array.
void SetupOutputData() override
Initialize current output data: allocate arrays for RowData.
void SetupPieces(int numPieces)
Setup the number of pieces to be read and allocate space accordingly.
int ReadPieceData(int)
Actually read the current piece data.
Superclass for VTK's XML format readers.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.