16#include "vtkIOHDFModule.h"  
   20VTK_ABI_NAMESPACE_BEGIN
 
  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);
 
  157  int Read(
const std::vector<vtkIdType>& numberOfPoints,
 
  158    const std::vector<vtkIdType>& numberOfCells,
 
  159    const std::vector<vtkIdType>& numberOfConnectivityIds, 
vtkIdType partOffset,
 
  171    vtkObject* caller, 
unsigned long eid, 
void* clientdata, 
void* calldata);
 
  225  bool HasTransientData = 
false;
 
  228  double TimeValue = 0.0;
 
  232  unsigned int MaximumLevelsToReadByDefaultForAMR = 0;
 
Abstract superclass for all arrays.
 
supports function callbacks
 
superclass for callback/observer methods
 
Store on/off settings for data arrays, etc.
 
Superclass for algorithms that produce only data object as output.
 
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 vtkDataArraySelection * GetCellDataArraySelection()
Get the data array selection tables used to configure which data arrays are loaded by the reader.
 
int CanReadFileVersion(int major, int minor)
Test if the reader can read a file with the given version number.
 
int Read(vtkInformation *outInfo, vtkImageData *data)
Reads the 'data' requested in 'outInfo' (through extents or pieces).
 
const std::array< double, 2 > & GetTimeRange() const
Getters and setters for transient data.
 
int Read(const std::vector< vtkIdType > &numberOfPoints, const std::vector< vtkIdType > &numberOfCells, const std::vector< vtkIdType > &numberOfConnectivityIds, vtkIdType partOffset, vtkIdType startingPointOffset, vtkIdType startingCellOffset, vtkIdType startingConnectctivityIdOffset, int filePiece, vtkUnstructuredGrid *pieceData)
Read 'pieceData' specified by 'filePiece' where number of points, cells and connectivity ids store th...
 
vtkSetFilePathMacro(FileName)
Get/Set the name of the input file.
 
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Standard functions to specify the type, information and read the data from the file.
 
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Standard functions to specify the type, information and read the data from the file.
 
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Standard functions to specify the type, information and read the data from the file.
 
static vtkHDFReader * New()
 
static constexpr int GetNumberOfAttributeTypes()
How many attribute types we have.
 
vtkGetFilePathMacro(FileName)
Get/Set the name of the input file.
 
static void SelectionModifiedCallback(vtkObject *caller, unsigned long eid, void *clientdata, void *calldata)
Modify this object when an array selection is changed.
 
int AddFieldArrays(vtkDataObject *data)
Read the field arrays from the file and add them to the dataset.
 
std::array< double, 2 > TimeRange
Transient data properties.
 
const char * GetPointArrayName(int index)
Get the name of the point or cell array with the given index in the input.
 
char * FileName
The input file's name.
 
virtual vtkDataArraySelection * GetPointDataArraySelection()
Get the data array selection tables used to configure which data arrays are loaded by the reader.
 
vtkCallbackCommand * SelectionObserver
The observer to modify this object when the array selections are modified.
 
virtual int CanReadFile(VTK_FILEPATH const char *name)
Test whether the file (type) with the given name can be read by this reader.
 
int Read(vtkInformation *outInfo, vtkOverlappingAMR *data)
Reads the 'data' requested in 'outInfo' (through extents or pieces).
 
void PrintPieceInformation(vtkInformation *outInfo)
Print update number of pieces, piece number and ghost levels.
 
int Read(vtkInformation *outInfo, vtkUnstructuredGrid *data)
Reads the 'data' requested in 'outInfo' (through extents or pieces).
 
int Read(vtkInformation *outInfo, vtkPolyData *data)
Reads the 'data' requested in 'outInfo' (through extents or pieces).
 
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.
 
topologically and geometrically regular array of data
 
a simple class to control print indentation
 
abstract base class for most VTK objects
 
hierarchical dataset of vtkUniformGrids
 
concrete dataset represents vertices, lines, polygons, and triangle strips
 
dataset represents arbitrary combinations of all possible cell types