12 #ifndef vtkHDFReader_h
13 #define vtkHDFReader_h
16 #include "vtkIOHDFModule.h"
20 VTK_ABI_NAMESPACE_BEGIN
59 vtkSetFilePathMacro(FileName);
60 vtkGetFilePathMacro(FileName);
94 int GetNumberOfPointArrays();
95 int GetNumberOfCellArrays();
103 const char* GetPointArrayName(
int index);
104 const char* GetCellArrayName(
int index);
116 vtkGetMacro(HasTransientData,
bool);
120 vtkGetMacro(TimeValue,
double);
121 const std::array<double, 2>&
GetTimeRange()
const {
return this->TimeRange; }
124 vtkSetMacro(MaximumLevelsToReadByDefaultForAMR,
unsigned int);
125 vtkGetMacro(MaximumLevelsToReadByDefaultForAMR,
unsigned int);
140 int CanReadFileVersion(
int major,
int minor);
157 int Read(
const std::vector<vtkIdType>& numberOfPoints,
158 const std::vector<vtkIdType>& numberOfCells,
159 const std::vector<vtkIdType>& numberOfConnectivityIds,
vtkIdType partOffset,
170 static void SelectionModifiedCallback(
171 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
225 bool HasTransientData =
false;
228 double TimeValue = 0.0;
232 unsigned int MaximumLevelsToReadByDefaultForAMR = 0;
238 VTK_ABI_NAMESPACE_END
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkCallbackCommand * SelectionObserver
The observer to modify this object when the array selections are modified.
abstract base class for most VTK objects
abstract class to specify dataset behavior
Abstract superclass for all arrays.
static vtkDataObjectAlgorithm * New()
Implementation for the vtkHDFReader.
const std::array< double, 2 > & GetTimeRange() const
Getters and setters for transient data.
concrete dataset represents vertices, lines, polygons, and triangle strips
superclass for callback/observer methods
supports function callbacks
a simple class to control print indentation
topologically and geometrically regular array of data
Store on/off settings for data arrays, etc.
dataset represents arbitrary combinations of all possible cell types
represent and manipulate attribute data in a dataset
char * FileName
The input file's name.
Superclass for algorithms that produce only data object as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static constexpr int GetNumberOfAttributeTypes()
How many attribute types we have.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
hierarchical dataset of vtkUniformGrids
general representation of visualization data
std::array< double, 2 > TimeRange
Transient data properties.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.