34 #ifndef vtkXdmfReader_h
35 #define vtkXdmfReader_h
38 #include "vtkIOXdmf2Module.h"
69 vtkSetStringMacro(DomainName);
70 vtkGetStringMacro(DomainName);
82 vtkSetStringMacro(FileName);
83 vtkGetStringMacro(FileName);
156 vtkSetVector3Macro(Stride,
int);
157 vtkGetVector3Macro(Stride,
int);
169 vtkGetMacro(SILUpdateStamp,
int);
204 vtkSetMacro(ReadFromInputString,
bool);
205 vtkGetMacro(ReadFromInputString,
bool);
206 vtkBooleanMacro(ReadFromInputString,
bool);
230 vtkGetStringMacro(InputString);
232 vtkGetMacro(InputStringLength,
int);
236 this->SetBinaryInputString(input.c_str(),
static_cast<int>(input.length()));
296 bool PrepareDocument();
298 void ClearDataSetCache();
dynamic, self-adjusting array of char
Superclass for algorithms that produce only data object as output.
abstract class to specify dataset behavior
Base class for graph data types.
a simple class to control print indentation
Reads eXtensible Data Model and Format files.
const char * GetGridName(int index)
vtkXdmfDocument * XdmfDocument
void SetBinaryInputString(const char *, int len)
vtkXdmfArraySelection * GridsCache
int GetNumberOfPointArrays()
Get information about point-based arrays.
unsigned int LastTimeIndex
vtkXdmfArraySelection * GetSetsSelection()
std::map< int, XdmfDataSetTopoGeoPath > XdmfReaderCachedData
vtkCharArray * InputArray
vtkXdmfArraySelection * GetCellArraySelection()
int GetSetStatus(const char *gridname)
void SetGridStatus(const char *gridname, int status)
int GetCellArrayStatus(const char *name)
vtkXdmfArraySelection * SetsCache
void SetInputString(const char *in, int len)
void SetPointArrayStatus(const char *name, int status)
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
see vtkAlgorithm for details
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
virtual int CanReadFile(const char *filename)
Determine if the file can be read with this reader.
int GetNumberOfSets()
Get/Set information about sets.
vtkXdmfArraySelection * CellArraysCache
void PassCachedSelections()
void SetCellArrayStatus(const char *name, int status)
XdmfReaderCachedData DataSetCache
void SetInputString(const char *in)
Specify the InputString for use when reading from a character array.
int GetSetArrayStatus(const char *name)
~vtkXdmfReader() override
const char * GetCellArrayName(int index)
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
int GetNumberOfSetArrays()
These methods are provided to make it easier to use the Sets in ParaView.
virtual void SetInputArray(vtkCharArray *)
Specify the vtkCharArray to be used when reading from a string.
int GetPointArrayStatus(const char *name)
Get/Set the point array status.
XdmfReaderCachedData & GetDataSetCache()
Get the data set cache.
const char * GetSetName(int index)
const char * GetSetArrayName(int index)
int GetGridStatus(const char *gridname)
void SetInputString(const std::string &input)
const char * GetPointArrayName(int index)
Returns the name of point array at the give index.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
static vtkXdmfReader * New()
vtkXdmfArraySelection * GetPointArraySelection()
int GetNumberOfGrids()
Get/Set information about grids.
vtkXdmfArraySelection * GetGridSelection()
virtual int RequestDataObjectInternal(vtkInformationVector *outputVector)
virtual vtkGraph * GetSIL()
SIL describes organization of/relationships between classifications eg.
vtkXdmfArraySelection * PointArraysCache
void SetSetStatus(const char *gridname, int status)
int GetNumberOfCellArrays()
Get information about cell-based arrays.