23#ifndef vtkXMLPDataObjectReader_h
24#define vtkXMLPDataObjectReader_h
26#include "vtkIOXMLModule.h"
38 vtkGetMacro(NumberOfPieces,
int);
supports function callbacks
a simple class to control print indentation
abstract base class for most VTK objects
Represents an XML element and those nested inside.
Superclass for PVTK XML file readers.
virtual void DestroyPieces()
Delete all piece readers and related information.
int ReadXMLInformation() override
Pipeline execute information driver.
void SetupOutputData() override
Initialize the output data.
vtkXMLPDataObjectReader()
virtual int ReadPiece(vtkXMLDataElement *ePiece)=0
Setup the current piece reader.
virtual void PieceProgressCallback()=0
Callback registered with the PieceProgressObserver.
~vtkXMLPDataObjectReader() override
int Piece
The piece currently being read.
int ReadPiece(vtkXMLDataElement *ePiece, int index)
Setup the piece reader at the given index.
char * CreatePieceFileName(const char *fileName)
Methods for creating a filename for each piece in the dataset.
virtual int CanReadPiece(int index)=0
Whether or not the current reader can read the current piece.
static void PieceProgressCallbackFunction(vtkObject *, unsigned long, void *, void *)
Callback registered with the PieceProgressObserver.
int NumberOfPieces
Pieces from the input summary file.
void SplitFileName()
Methods for creating a filename for each piece in the dataset.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int * CanReadPieceFlag
Information per-piece.
vtkCallbackCommand * PieceProgressObserver
vtkXMLDataElement ** PieceElements
Information per-piece.
virtual void SetupPieces(int numPieces)
Setup the number of pieces to be read and allocate space accordingly.
char * PathName
The path to the input file without the file name.
Superclass for VTK's XML format readers.