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;
64 const char* GetCurrentFileName()
const;
87 virtual double GetTimeValue(
const std::string& fname);
136 vtkSimpleReaderInternal* Internal;
virtual int ReadPoints(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output)=0
Read the points.
std::string GetFileName(const std::string &fileName) noexcept
Set the appropriate file name based on recognized user input.
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.