21 #ifndef vtkSimpleReader_h 22 #define vtkSimpleReader_h 24 #include "vtkCommonExecutionModelModule.h" 29 struct vtkSimpleReaderInternal;
43 void AddFileName(
const char* fname);
48 void ClearFileNames();
53 int GetNumberOfFileNames()
const;
58 const char* GetFileName(
int i)
const;
64 const char* GetCurrentFileName()
const;
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,
94 virtual double GetTimeValue(
const std::string& fname);
113 virtual int ReadMeshSimple(
const std::string& fname,
122 virtual int ReadPointsSimple(
const std::string& fname,
131 virtual int ReadArraysSimple(
const std::string& fname,
148 vtkSimpleReaderInternal* Internal;
virtual int ReadPoints(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output)=0
Read the points.
virtual vtkExecutive * CreateDefaultExecutive()
Create a default executive.
Superclass for all pipeline executives in VTK.
a simple class to control print indentation
Superclass for algorithms that are not time or parallel aware.
virtual int ReadArrays(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output)=0
Read all the arrays (point, cell, field etc.).
virtual int ReadTimeDependentMetaData(int, vtkInformation *)
Provide meta-data for the pipeline.
virtual int ReadMetaDataSimple(const std::string &, vtkInformation *)
A subclass can override this method to provide meta data specific to a particular file...
virtual int ReadMesh(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output)=0
Read the mesh (connectivity) for a given set of data partitioning, number of ghost levels and time st...
virtual int ReadMetaData(vtkInformation *metadata)=0
Provide meta-data for the pipeline.
general representation of visualization data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for readers that implement a simplified API.