 |
VTK
9.1.0
|
Go to the documentation of this file.
21 #ifndef vtkHDFReader_h
22 #define vtkHDFReader_h
25 #include "vtkIOHDFModule.h"
134 int Read(
const std::vector<vtkIdType>& numberOfPoints,
135 const std::vector<vtkIdType>& numberOfCells,
136 const std::vector<vtkIdType>& numberOfConnectivityIds,
int filePiece,
147 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
superclass for callback/observer methods
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
virtual vtkDataArraySelection * GetFieldDataArraySelection()
virtual int CanReadFile(VTK_FILEPATH const char *name)
Test whether the file (type) with the given name can be read by this reader.
char * FileName
The input file's name.
vtkDataSet * GetOutputAsDataSet()
Get the output as a vtkDataSet pointer.
void PrintPieceInformation(vtkInformation *outInfo)
Print update number of pieces, piece number and ghost levels.
represent and manipulate attribute data in a dataset
Implementation for the vtkHDFReader.
constexpr static int GetNumberOfAttributeTypes()
How many attribute types we have.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetNumberOfPointArrays()
Get the number of point or cell arrays available in the input.
const char * GetPointArrayName(int index)
Get the name of the point or cell array with the given index in the input.
abstract base class for most VTK objects
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Standard functions to specify the type, information and read the data from the file.
static vtkHDFReader * New()
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called within ProcessRequest when a request asks for Information.
Store on/off settings for data arrays for a vtkSource.
Superclass for algorithms that produce output of the same type as input.
vtkDataSet * GetOutputAsDataSet(int index)
virtual vtkDataArraySelection * GetPointDataArraySelection()
Get the data array selection tables used to configure which data arrays are loaded by the reader.
int GetNumberOfCellArrays()
int CanReadFileVersion(int major, int minor)
Test if the reader can read a file with the given version number.
virtual vtkDataArraySelection * GetCellDataArraySelection()
int Read(vtkInformation *outInfo, vtkImageData *data)
Reads the 'data' requested in 'outInfo' (through extents or pieces).
topologically and geometrically regular array of data
a simple class to control print indentation
vtkCallbackCommand * SelectionObserver
The observer to modify this object when the array selections are modified.
int Read(const std::vector< vtkIdType > &numberOfPoints, const std::vector< vtkIdType > &numberOfCells, const std::vector< vtkIdType > &numberOfConnectivityIds, int filePiece, vtkUnstructuredGrid *pieceData)
Read 'pieceData' specified by 'filePiece' where number of points, cells and connectivity ids store th...
abstract class to specify dataset behavior
Abstract superclass for all arrays.
int Read(vtkInformation *outInfo, vtkUnstructuredGrid *data)
static void SelectionModifiedCallback(vtkObject *caller, unsigned long eid, void *clientdata, void *calldata)
Modify this object when an array selection is changed.
supports function callbacks
const char * GetCellArrayName(int index)
dataset represents arbitrary combinations of all possible cell types
int AddFieldArrays(vtkDataSet *data)
Read the field arrays from the file and add them to the dataset.
vtkGetFilePathMacro(FileName)
vtkSetFilePathMacro(FileName)
Get/Set the name of the input file.