24#ifndef vtkXdmfReader_h
25#define vtkXdmfReader_h
28#include "vtkIOXdmf2Module.h"
32VTK_ABI_NAMESPACE_BEGIN
60 vtkSetStringMacro(DomainName);
61 vtkGetStringMacro(DomainName);
152 vtkSetVector3Macro(Stride,
int);
153 vtkGetVector3Macro(Stride,
int);
165 vtkGetMacro(SILUpdateStamp,
int);
198 vtkSetMacro(ReadFromInputString,
bool);
199 vtkGetMacro(ReadFromInputString,
bool);
200 vtkBooleanMacro(ReadFromInputString,
bool);
224 vtkGetStringMacro(InputString);
226 vtkGetMacro(InputStringLength,
int);
230 this->SetBinaryInputString(input.c_str(),
static_cast<int>(input.length()));
289 bool PrepareDocument();
291 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.
XdmfReaderCachedData & GetDataSetCache()
Get the data set cache.
vtkXdmfDocument * XdmfDocument
void SetBinaryInputString(const char *, int len)
Specify the InputString for use when reading from a character array.
vtkXdmfArraySelection * GridsCache
vtkXdmfArraySelection * GetSetsSelection()
const char * GetSetName(int index)
Get/Set information about sets.
int GetNumberOfPointArrays()
Get information about point-based arrays.
unsigned int LastTimeIndex
std::map< int, XdmfDataSetTopoGeoPath > XdmfReaderCachedData
vtkCharArray * InputArray
int GetSetStatus(const char *gridname)
Get/Set information about sets.
void SetGridStatus(const char *gridname, int status)
Get/Set information about grids.
vtkXdmfArraySelection * GetCellArraySelection()
int GetCellArrayStatus(const char *name)
Get information about cell-based arrays.
const char * GetGridArrayName(int index)
These methods are provided to make it easier to use the Sets/Grids in ParaView.
vtkXdmfArraySelection * SetsCache
int GetGridArrayStatus(const char *name)
These methods are provided to make it easier to use the Sets/Grids in ParaView.
int GetNumberOfGridArrays()
These methods are provided to make it easier to use the Sets/Grids in ParaView.
void SetInputString(const char *in, int len)
Specify the InputString for use when reading from a character array.
void SetPointArrayStatus(const char *name, int status)
Get/Set the point array status.
static vtkXdmfReader * New()
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
see vtkAlgorithm for details
virtual vtkGraph * GetSIL()
SIL describes organization of/relationships between classifications eg.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkXdmfArraySelection * GetGridSelection()
vtkGetFilePathMacro(FileName)
Name of the file to read.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
virtual int CanReadFile(VTK_FILEPATH const char *filename)
Determine if the file can be read with this reader.
const char * GetPointArrayName(int index)
Returns the name of point array at the give index.
int GetNumberOfSets()
Get/Set information about sets.
vtkXdmfArraySelection * GetPointArraySelection()
vtkXdmfArraySelection * CellArraysCache
void PassCachedSelections()
void SetCellArrayStatus(const char *name, int status)
Get information about cell-based arrays.
XdmfReaderCachedData DataSetCache
void SetInputString(const char *in)
Specify the InputString for use when reading from a character array.
int GetSetArrayStatus(const char *name)
These methods are provided to make it easier to use the Sets/Grids in ParaView.
~vtkXdmfReader() override
const char * GetGridName(int index)
Get/Set information about grids.
const char * GetSetArrayName(int index)
These methods are provided to make it easier to use the Sets/Grids in ParaView.
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/Grids 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.
const char * GetCellArrayName(int index)
Get information about cell-based arrays.
int GetGridStatus(const char *gridname)
Get/Set information about grids.
void SetInputString(const std::string &input)
Specify the InputString for use when reading from a character array.
vtkSetFilePathMacro(FileName)
Name of the file to read.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
int GetNumberOfGrids()
Get/Set information about grids.
virtual int RequestDataObjectInternal(vtkInformationVector *outputVector)
vtkXdmfArraySelection * PointArraysCache
void SetSetStatus(const char *gridname, int status)
Get/Set information about sets.
int GetNumberOfCellArrays()
Get information about cell-based arrays.