37 #ifndef vtkXdmfReader_h
38 #define vtkXdmfReader_h
41 #include "vtkIOXdmf2Module.h"
72 vtkSetStringMacro(DomainName);
73 vtkGetStringMacro(DomainName);
85 vtkSetFilePathMacro(FileName);
86 vtkGetFilePathMacro(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);
164 vtkSetVector3Macro(Stride,
int);
165 vtkGetVector3Macro(Stride,
int);
171 virtual int CanReadFile(
VTK_FILEPATH const char* filename);
177 vtkGetMacro(SILUpdateStamp,
int);
205 XdmfReaderCachedData& GetDataSetCache();
212 vtkSetMacro(ReadFromInputString,
bool);
213 vtkGetMacro(ReadFromInputString,
bool);
214 vtkBooleanMacro(ReadFromInputString,
bool);
237 void SetInputString(
const char* in);
238 vtkGetStringMacro(InputString);
239 void SetInputString(
const char* in,
int len);
240 vtkGetMacro(InputStringLength,
int);
241 void SetBinaryInputString(
const char*,
int len);
244 this->SetBinaryInputString(input.c_str(),
static_cast<int>(input.length()));
272 void PassCachedSelections();
303 bool PrepareDocument();
305 void ClearDataSetCache();
int GetNumberOfGridArrays()
These methods are provided to make it easier to use the Sets/Grids in ParaView.
void SetInputString(const std::string &input)
Specify the InputString for use when reading from a character array.
int GetGridArrayStatus(const char *name)
These methods are provided to make it easier to use the Sets/Grids in ParaView.
abstract class to specify dataset behavior
static vtkDataObjectAlgorithm * New()
vtkTypeBool ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
vtkXdmfArraySelection * CellArraysCache
Reads eXtensible Data Model and Format files.
std::map< int, XdmfDataSetTopoGeoPath > XdmfReaderCachedData
Base class for graph data types.
vtkXdmfArraySelection * PointArraysCache
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
dynamic, self-adjusting array of char
a simple class to control print indentation
const char * GetGridArrayName(int index)
These methods are provided to make it easier to use the Sets/Grids in ParaView.
const char * GetSetArrayName(int index)
These methods are provided to make it easier to use the Sets/Grids in ParaView.
vtkCharArray * InputArray
vtkXdmfDocument * XdmfDocument
vtkXdmfArraySelection * GridsCache
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)
int GetNumberOfSetArrays()
These methods are provided to make it easier to use the Sets/Grids in ParaView.
XdmfReaderCachedData DataSetCache
unsigned int LastTimeIndex
vtkXdmfArraySelection * SetsCache
int GetSetArrayStatus(const char *name)
These methods are provided to make it easier to use the Sets/Grids in ParaView.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.