55#include "vtkIOHDFModule.h"
62VTK_ABI_NAMESPACE_BEGIN
160 vtkGetMacro(TimeValue,
double);
161 const std::array<double, 2>&
GetTimeRange()
const {
return this->TimeRange; }
174 vtkGetMacro(UseCache,
bool);
175 vtkSetMacro(UseCache,
bool);
176 vtkBooleanMacro(UseCache,
bool);
199 vtkGetMacro(MergeParts,
bool);
201 vtkSetMacro(MergeParts,
bool);
203 virtual
void MergePartsOn();
205 virtual
void MergePartsOff();
215 vtkSetMacro(MaximumLevelsToReadByDefaultForAMR,
unsigned int);
216 vtkGetMacro(MaximumLevelsToReadByDefaultForAMR,
unsigned int);
224 void SetAttributeOriginalIdName(
vtkIdType attribute, const
std::
string& name);
234 int CanReadFileVersion(
int major,
int minor);
271 static
void SelectionModifiedCallback(
272 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
326 double TimeValue = 0.0;
327 std::array<
double, 2> TimeRange;
335 bool MergeParts = false;
337 unsigned int MaximumLevelsToReadByDefaultForAMR = 0;
339 bool UseCache = false;
341 std::shared_ptr<DataCache> Cache;
363 const
vtkHDFUtilities::TemporalHyperTreeGridOffsets& htgTemporalOffsets,
int filePiece,
369 void SetHasTemporalData(
bool useTemporalData);
374 void GenerateAssembly();
380 bool RetrieveStepsFromAssembly();
386 bool RetrieveDataArraysFromAssembly();
405 bool MeshGeometryChangedFromPreviousTimeStep = true;
414 bool HasTemporalData =
false;
415 std::string CompositeCachePath;
Abstract superclass for all arrays.
Appends one or more datasets together into a single output vtkPointSet.
supports function callbacks
represent and manipulate cell attribute data
superclass for callback/observer methods
Store on/off settings for data arrays, etc.
hierarchical representation to use with vtkPartitionedDataSetCollection
Superclass for algorithms that produce only data object as output.
vtkDataObjectMeshCache is a class to store and reuse the mesh of a vtkDataSet, while forwarding data ...
general representation of visualization data
represent and manipulate attribute data in a dataset
abstract class to specify dataset behavior
Implementation for the vtkHDFReader.
int GetNumberOfPointArrays()
Get the number of point or cell arrays available in the input.
int GetNumberOfCellArrays()
Get the number of point or cell arrays available in the input.
const char * GetCellArrayName(int index)
Get the name of the point or cell array with the given index in the input.
virtual vtkDataArraySelection * GetFieldDataArraySelection()
Get the data array selection tables used to configure which data arrays are loaded by the reader.
vtkDataSet * GetOutputAsDataSet(int index)
Get the output as a vtkDataSet pointer.
virtual int CanReadFile(const char *name)
Test whether the file (type) with the given name can be read by this reader.
virtual vtkDataArraySelection * GetCellDataArraySelection()
Get the data array selection tables used to configure which data arrays are loaded by the reader.
const std::array< double, 2 > & GetTimeRange() const
Getters and setters for temporal data.
vtkSetFilePathMacro(FileName)
Get/Set the name of the input file.
static vtkHDFReader * New()
vtkGetFilePathMacro(FileName)
Get/Set the name of the input file.
const char * GetPointArrayName(int index)
Get the name of the point or cell array with the given index in the input.
virtual vtkDataArraySelection * GetPointDataArraySelection()
Get the data array selection tables used to configure which data arrays are loaded by the reader.
bool GetHasTemporalData()
Getters and setters for temporal data.
vtkDataSet * GetOutputAsDataSet()
Get the output as a vtkDataSet pointer.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
topologically and geometrically regular array of data
a simple class to control print indentation
merges blocks in a composite dataset to a dataset.
Composite dataset that organizes datasets into blocks.
Allocate and hold a VTK object.
abstract base class for most VTK objects
a multi-resolution dataset based on vtkUniformGrid allowing overlaps
Composite dataset that groups datasets as a collection.
composite dataset to encapsulates a dataset consisting of partitions.
represent and manipulate point attribute data
concrete dataset represents vertices, lines, polygons, and triangle strips
Hold a reference to a vtkObjectBase instance.
dataset represents arbitrary combinations of all possible cell types
Common utility variables and functions for reader and writer of vtkHDF.
#define VTK_DEPRECATED_IN_9_5_0(reason)