Go to the documentation of this file.
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);
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();
vtkXdmfArraySelection * GridsCache
std::map< int, XdmfDataSetTopoGeoPath > XdmfReaderCachedData
unsigned int LastTimeIndex
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for algorithms that produce only data object as output.
vtkXdmfArraySelection * PointArraysCache
vtkXdmfDocument * XdmfDocument
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void SetInputString(const std::string &input)
dynamic, self-adjusting array of char
vtkCharArray * InputArray
Reads eXtensible Data Model and Format files.
const char * GetSetArrayName(int index)
a simple class to control print indentation
XdmfReaderCachedData DataSetCache
vtkXdmfArraySelection * CellArraysCache
abstract class to specify dataset behavior
int GetNumberOfSetArrays()
These methods are provided to make it easier to use the Sets in ParaView.
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
vtkXdmfArraySelection * SetsCache
static vtkDataObjectAlgorithm * New()
int GetSetArrayStatus(const char *name)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Base class for graph data types.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)