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