24 #ifndef vtkXdmfReader_h
25 #define vtkXdmfReader_h
28 #include "vtkIOXdmf2Module.h"
32 VTK_ABI_NAMESPACE_BEGIN
60 vtkSetStringMacro(DomainName);
61 vtkGetStringMacro(DomainName);
73 vtkSetFilePathMacro(FileName);
74 vtkGetFilePathMacro(FileName);
82 int GetNumberOfPointArrays();
88 const char* GetPointArrayName(
int index);
94 int GetPointArrayStatus(
const char*
name);
95 void SetPointArrayStatus(
const char*
name,
int status);
104 int GetNumberOfCellArrays();
105 const char* GetCellArrayName(
int index);
106 void SetCellArrayStatus(
const char*
name,
int status);
107 int GetCellArrayStatus(
const char*
name);
116 int GetNumberOfGrids();
117 const char* GetGridName(
int index);
118 void SetGridStatus(
const char* gridname,
int status);
119 int GetGridStatus(
const char* gridname);
129 int GetNumberOfSets();
130 const char* GetSetName(
int index);
131 void SetSetStatus(
const char* gridname,
int status);
132 int GetSetStatus(
const char* gridname);
152 vtkSetVector3Macro(Stride,
int);
153 vtkGetVector3Macro(Stride,
int);
159 virtual int CanReadFile(
VTK_FILEPATH const char* filename);
165 vtkGetMacro(SILUpdateStamp,
int);
191 XdmfReaderCachedData& GetDataSetCache();
198 vtkSetMacro(ReadFromInputString,
bool);
199 vtkGetMacro(ReadFromInputString,
bool);
200 vtkBooleanMacro(ReadFromInputString,
bool);
223 void SetInputString(
const char* in);
224 vtkGetStringMacro(InputString);
225 void SetInputString(
const char* in,
int len);
226 vtkGetMacro(InputStringLength,
int);
227 void SetBinaryInputString(
const char*,
int len);
230 this->SetBinaryInputString(input.c_str(),
static_cast<int>(input.length()));
258 void PassCachedSelections();
289 bool PrepareDocument();
291 void ClearDataSetCache();
303 VTK_ABI_NAMESPACE_END
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.