Go to the documentation of this file.
21 #ifndef vtkSimpleReader_h
22 #define vtkSimpleReader_h
24 #include "vtkCommonExecutionModelModule.h"
29 struct vtkSimpleReaderInternal;
76 int piece,
int npieces,
int nghosts,
int timestep,
79 int piece,
int npieces,
int nghosts,
int timestep,
82 int piece,
int npieces,
int nghosts,
int timestep,
148 vtkSimpleReaderInternal* Internal;
virtual int ReadArraysSimple(const std::string &fname, vtkDataObject *output)=0
A method that needs to be override by the subclass to provide data arrays.
Superclass for readers that implement a simplified API.
void ClearFileNames()
Removes all filenames stored by the reader.
vtkExecutive * CreateDefaultExecutive() override
Create a default executive.
~vtkSimpleReader() override
void AddFileName(const char *fname)
Add a filename to be read.
virtual int ReadMetaDataSimple(const std::string &, vtkInformation *)
A subclass can override this method to provide meta data specific to a particular file.
int GetNumberOfFileNames() const
Returns the number of filenames stored by the reader.
const char * GetFileName(int i) const
Returns a particular filename stored by the reader.
int ReadTimeDependentMetaData(int timestep, vtkInformation *metadata) override
This is the superclass API overridden by this class to provide time support internally.
Superclass for all pipeline executives in VTK.
int ReadPoints(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output) override
Read the points.
virtual int ReadMeshSimple(const std::string &fname, vtkDataObject *output)=0
A method that needs to be override by the subclass to provide the mesh (topology).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Superclass for algorithms that are not time or parallel aware.
virtual int ReadPointsSimple(const std::string &fname, vtkDataObject *output)=0
A method that needs to be override by the subclass to provide the point coordinates.
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...
const char * GetCurrentFileName() const
Returns the filename that was last loaded by the reader.
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 ...
general representation of visualization data
int ReadArrays(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output) override
Read all the arrays (point, cell, field etc.).
int ReadMetaData(vtkInformation *metadata) override
Provide meta-data for the pipeline.