Go to the documentation of this file.
26 #ifndef vtkTRUCHASReader_h
27 #define vtkTRUCHASReader_h
29 #include "vtkIOTRUCHASModule.h"
46 vtkSetStringMacro(FileName);
47 vtkGetStringMacro(FileName);
128 friend class Internal;
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static int CanReadFile(const char *filename)
A simple, non-exhaustive check to see if a file is a valid truchas file.
int GetCellArrayStatus(const char *name)
Get/Set the cell array status.
void SetBlockArrayStatus(const char *gridname, int status)
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to announce timesteps we can produce.
Store on/off settings for data arrays for a vtkSource.
const char * GetCellArrayName(int index)
Returns the name of cell array at the give index.
vtkDataArraySelection * PointArrayChoices
void SetCellArrayStatus(const char *name, int status)
void SetPointArrayStatus(const char *name, int status)
const char * GetPointArrayName(int index)
Returns the name of point array at the give index.
a simple class to control print indentation
int GetNumberOfCellArrays()
Get information about cell-based arrays.
int GetNumberOfBlockArrays()
Get/Set information about blocks.
static vtkTRUCHASReader * New()
vtkDataArraySelection * BlockChoices
read GE TRUCHAS format HDF5 files
int GetPointArrayStatus(const char *name)
Get/Set the point array status.
int GetNumberOfPointArrays()
Get information about point-based arrays.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to read the file and parse into an output.
const char * GetBlockArrayName(int index)
int GetBlockArrayStatus(const char *gridname)
~vtkTRUCHASReader() override
vtkDataArraySelection * CellArrayChoices
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.