Go to the documentation of this file.
26 #ifndef vtkParallelReader_h
27 #define vtkParallelReader_h
29 #include "vtkCommonExecutionModelModule.h"
34 struct vtkParallelReaderInternal;
79 int piece,
int npieces,
int nghosts,
int timestep,
82 int piece,
int npieces,
int nghosts,
int timestep,
85 int piece,
int npieces,
int nghosts,
int timestep,
145 vtkParallelReaderInternal* Internal;
virtual int ReadMesh(const std::string &fname, int piece, int npieces, int nghosts, vtkDataObject *output)=0
A method that needs to be override by the subclass to provide the mesh (topology).
Superclass for readers that implement a simplified API.
int ReadMesh(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output) override
Read the mesh (connectivity) for a given set of data partitioning, number of ghost levels and time st...
Superclass for all pipeline executives in VTK.
vtkExecutive * CreateDefaultExecutive() override
Create a default executive.
void ClearFileNames()
Removes all filenames stored by the reader.
a simple class to control print indentation
int ReadPoints(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output) override
Read the points.
const char * GetFileName(int i) const
Returns a particular filename stored by the reader.
int GetNumberOfFileNames() const
Returns the number of filenames stored by the reader.
void AddFileName(const char *fname)
Add a filename to be read.
~vtkParallelReader() override
virtual int ReadPoints(const std::string &fname, int piece, int npieces, int nghosts, vtkDataObject *output)=0
A method that needs to be override by the subclass to provide the point coordinates.
int ReadArrays(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output) override
Read all the arrays (point, cell, field etc.).
Superclass for algorithms that are parallel aware.
const char * GetCurrentFileName() const
Returns the filename that was last loaded by the reader.
virtual int ReadArrays(const std::string &fname, int piece, int npieces, int nghosts, vtkDataObject *output)=0
A method that needs to be override by the subclass to provide data arrays.
general representation of visualization data
virtual double GetTimeValue(const std::string &fname)
A subclass can override this method to provide an actual time value for a given file (this method is ...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int ReadMetaData(vtkInformation *metadata) override
This is the superclass API overridden by this class to provide time support internally.