37 #ifndef vtkXdmfReader_h 38 #define vtkXdmfReader_h 40 #include "vtkIOXdmf2Module.h" 72 vtkSetStringMacro(DomainName);
73 vtkGetStringMacro(DomainName);
85 vtkSetStringMacro(FileName);
86 vtkGetStringMacro(FileName);
94 int GetNumberOfPointArrays();
100 const char* GetPointArrayName(
int index);
106 int GetPointArrayStatus(
const char*
name);
107 void SetPointArrayStatus(
const char*
name,
int status);
116 int GetNumberOfCellArrays();
117 const char* GetCellArrayName(
int index);
118 void SetCellArrayStatus(
const char*
name,
int status);
119 int GetCellArrayStatus(
const char*
name);
128 int GetNumberOfGrids();
129 const char* GetGridName(
int index);
130 void SetGridStatus(
const char* gridname,
int status);
131 int GetGridStatus(
const char* gridname);
141 int GetNumberOfSets();
142 const char* GetSetName(
int index);
143 void SetSetStatus(
const char* gridname,
int status);
144 int GetSetStatus(
const char* gridname);
152 {
return this->GetSetName(index); }
154 {
return this->GetSetStatus(name); }
161 vtkSetVector3Macro(Stride,
int);
162 vtkGetVector3Macro(Stride,
int);
168 virtual int CanReadFile(
const char* filename);
174 vtkGetMacro(SILUpdateStamp,
int);
197 XdmfReaderCachedData& GetDataSetCache();
204 vtkSetMacro(ReadFromInputString,
bool);
205 vtkGetMacro(ReadFromInputString,
bool);
206 vtkBooleanMacro(ReadFromInputString,
bool);
229 void SetInputString(
const char *in);
230 vtkGetStringMacro(InputString);
231 void SetInputString(
const char *in,
int len);
232 vtkGetMacro(InputStringLength,
int);
233 void SetBinaryInputString(
const char *,
int len);
235 { this->SetBinaryInputString(input.c_str(),
static_cast<int>(input.length())); }
266 void PassCachedSelections();
297 bool PrepareDocument();
299 void ClearDataSetCache();
void SetInputString(const std::string &input)
Specify the InputString for use when reading from a character array.
abstract class to specify dataset behavior
static vtkDataObjectAlgorithm * New()
vtkXdmfArraySelection * CellArraysCache
Reads eXtensible Data Model and Format files.
std::map< int, XdmfDataSetTopoGeoPath > XdmfReaderCachedData
Base class for graph data types.
vtkXdmfArraySelection * PointArraysCache
dynamic, self-adjusting array of char
a simple class to control print indentation
const char * GetSetArrayName(int index)
vtkCharArray * InputArray
vtkXdmfDocument * XdmfDocument
vtkXdmfArraySelection * GridsCache
Superclass for algorithms that produce only data object as output.
int GetNumberOfSetArrays()
These methods are provided to make it easier to use the Sets in ParaView.
XdmfReaderCachedData DataSetCache
unsigned int LastTimeIndex
vtkXdmfArraySelection * SetsCache
int GetSetArrayStatus(const char *name)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.