 |
VTK
9.0.1
|
Go to the documentation of this file.
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 vtkExecutive * CreateDefaultExecutive()
Create a default executive.
Superclass for readers that implement a simplified API.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int ReadPoints(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output)=0
Read the points.
virtual int ReadMetaDataSimple(const std::string &, vtkInformation *)
A subclass can override this method to provide meta data specific to a particular file.
virtual int ReadTimeDependentMetaData(int, vtkInformation *)
Provide meta-data for the pipeline.
Superclass for all pipeline executives in VTK.
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...
a simple class to control print indentation
Superclass for algorithms that are not time or parallel aware.
virtual int ReadMetaData(vtkInformation *metadata)=0
Provide meta-data for the pipeline.
virtual int ReadArrays(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output)=0
Read all the arrays (point, cell, field etc.).
general representation of visualization data
std::string GetFileName(const std::string &fileName) noexcept
Set the appropriate file name based on recognized user input.