39 #ifndef vtkXdmfReader_h
40 #define vtkXdmfReader_h
42 #include "vtkIOXdmf2Module.h"
71 vtkSetStringMacro(DomainName);
72 vtkGetStringMacro(DomainName);
83 int GetNumberOfPointArrays();
87 const char* GetPointArrayName(
int index);
91 int GetPointArrayStatus(
const char*
name);
92 void SetPointArrayStatus(
const char*
name,
int status);
99 int GetNumberOfCellArrays();
100 const char* GetCellArrayName(
int index);
101 void SetCellArrayStatus(
const char*
name,
int status);
102 int GetCellArrayStatus(
const char*
name);
109 int GetNumberOfGrids();
110 const char* GetGridName(
int index);
111 void SetGridStatus(
const char* gridname,
int status);
112 int GetGridStatus(
const char* gridname);
120 int GetNumberOfSets();
121 const char* GetSetName(
int index);
122 void SetSetStatus(
const char* gridname,
int status);
123 int GetSetStatus(
const char* gridname);
131 {
return this->GetSetName(index); }
133 {
return this->GetSetStatus(name); }
139 vtkSetVector3Macro(Stride,
int);
140 vtkGetVector3Macro(Stride,
int);
144 virtual int CanReadFile(
const char* filename);
148 vtkGetMacro(SILUpdateStamp,
int);
168 XdmfReaderCachedData& GetDataSetCache();
188 void PassCachedSelections();
217 bool PrepareDocument();
219 void ClearDataSetCache();
abstract class to specify dataset behavior
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkXdmfArraySelection * CellArraysCache
Reads eXtensible Data Model and Format files.
std::map< int, XdmfDataSetTopoGeoPath > XdmfReaderCachedData
Base class for graph data types.
static vtkDataReader * New()
vtkXdmfArraySelection * PointArraysCache
void PrintSelf(ostream &os, vtkIndent indent)
helper superclass for objects that read vtk data files
virtual int FillOutputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
const char * GetSetArrayName(int index)
vtkXdmfDocument * XdmfDocument
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkXdmfArraySelection * GridsCache
int GetNumberOfSetArrays()
XdmfReaderCachedData DataSetCache
unsigned int LastTimeIndex
vtkXdmfArraySelection * SetsCache
int GetSetArrayStatus(const char *name)