33 #ifndef vtkXdmf3Reader_h 34 #define vtkXdmf3Reader_h 36 #include "vtkIOXdmf3Module.h" 52 void SetFileName(
const char* filename);
60 virtual void AddFileName(
const char* filename);
61 virtual void RemoveAllFileNames();
70 vtkSetMacro(FileSeriesAsTime,
bool);
71 vtkGetMacro(FileSeriesAsTime,
bool);
77 virtual int CanReadFile(
const char* filename);
84 int GetNumberOfPointArrays();
90 const char* GetPointArrayName(
int index);
96 int GetPointArrayStatus(
const char*
name);
97 void SetPointArrayStatus(
const char*
name,
int status);
106 int GetNumberOfCellArrays();
107 const char* GetCellArrayName(
int index);
108 void SetCellArrayStatus(
const char*
name,
int status);
109 int GetCellArrayStatus(
const char*
name);
118 int GetNumberOfFieldArrays();
119 const char* GetFieldArrayName(
int index);
120 void SetFieldArrayStatus(
const char*
name,
int status);
121 int GetFieldArrayStatus(
const char*
name);
130 int GetNumberOfGrids();
131 const char* GetGridName(
int index);
132 void SetGridStatus(
const char* gridname,
int status);
133 int GetGridStatus(
const char* gridname);
143 int GetNumberOfSets();
144 const char* GetSetName(
int index);
145 void SetSetStatus(
const char* gridname,
int status);
146 int GetSetStatus(
const char* gridname);
154 {
return this->GetSetName(index); }
156 {
return this->GetSetStatus(name); }
167 int GetSILUpdateStamp();
174 vtkSetStringMacro(FileNameInternal);
184 virtual int RequestDataObjectInternal(
211 bool FileSeriesAsTime;
const char * GetSetArrayName(int index)
static vtkDataObjectAlgorithm * New()
vtkXdmf3ArraySelection * CellArraysCache
vtkXdmf3ArraySelection * FieldArraysCache
vtkXdmf3ArraySelection * SetsCache
vtkXdmf3ArraySelection * GridsCache
int GetNumberOfSetArrays()
These methods are provided to make it easier to use the Sets in ParaView.
Base class for graph data types.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkXdmf3ArraySelection * PointArraysCache
a simple class to control print indentation
const char * FileNameInternal
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
int GetSetArrayStatus(const char *name)
Superclass for algorithms that produce only data object as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Reads eXtensible Data Model and Format files.
helper to identify requested arrays with
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.