6#include "vtkIOERFModule.h"
14VTK_ABI_NAMESPACE_BEGIN
99 vtkSetMacro(FileName, std::string);
100 vtkGetMacro(FileName, std::string);
174 bool IsValidERFDataset(
const hid_t& fileId)
const;
182 bool ExtractTemporalData(
const hid_t& rootIdx);
209 void AppendSinglestateGroupData(
hid_t fileId);
223 void AppendSinglestateBlock(
const hid_t& fileId);
228 void AppendFieldDataByName(
235 void BuildMesh(
const hid_t& fileId);
246 int& streamNodeId,
int& meshNodeId,
int& meshStartId);
251 int GetTimeValuesIndex();
257 std::string GetAttributeValueAsStr(
const hid_t& erfIdx,
const std::string& attributeName)
const;
258 int GetAttributeValueAsInt(
const hid_t& erfIdx,
const std::string& attributeName)
const;
277 bool IsCellSupported(
int ndim,
int npelem);
278 bool Is0DCellSupported(
int npelem);
279 bool Is1DCellSupported(
int npelem);
280 bool Is2DCellSupported(
int npelem);
281 bool Is3DCellSupported(
int npelem);
288 hid_t arrayId,
vtkIntArray* entid,
int numberOfDimensions,
int numberOfIndicePerCell,
296 const std::vector<int>& resData,
int numberOfIndicePerCell,
int numberOfCell);
298 const std::vector<int>& resData,
int numberOfIndicePerCell,
int numberOfCell);
300 const std::vector<int>& resData,
int numberOfIndicePerCell,
int numberOfCell);
302 const std::vector<int>& resData,
int numberOfIndicePerCell,
int numberOfCell);
305 std::string FileName;
306 std::string CurrentName;
315 std::vector<int> States;
316 std::vector<double> TimeValues;
317 double TimeRanges[2] = { 0.0, 0.0 };
318 double CurrentTimeValue = 0.0;
320 std::map<std::string, vtkSmartPointer<vtkUnstructuredGrid>> MeshPoints;
321 std::map<std::string, vtkSmartPointer<vtkUnstructuredGrid>> Meshs;
object to represent cell connectivity
Store on/off settings for data arrays, etc.
hierarchical representation to use with vtkPartitionedDataSetCollection
vtkGetNewMacro(BlocksSelection, vtkDataArraySelection)
Get the data array selections used to configure which data arrays are loaded by the reader.
std::string GetStage() const
Return the current stage.
vtkGetNewMacro(VariablesSelection, vtkDataArraySelection)
Get the data array selections used to configure which data arrays are loaded by the reader.
void SetVariablesStatus(const char *name, int status)
Get/Set whether the point or cell array with the given name is enabled.
void EnableAllBlocks()
Enable all arrays to be read.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkERFReader * New()
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Standard method herited from the superclass.
void SetBlocksStatus(const char *name, int status)
Get/Set whether the point or cell array with the given name is enabled.
vtkGetNewMacro(StagesSelection, vtkDataArraySelection)
Get the data array selections used to configure which data arrays are loaded by the reader.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Standard method herited from the superclass.
void EnableAllVariables()
Enable all arrays to be read.
void SetStagesStatus(const char *name, int status)
Get/Set whether the point or cell array with the given name is enabled.
a simple class to control print indentation
dynamic, self-adjusting array of int
Allocate and hold a VTK object.
Superclass for algorithms that produce vtkPartitionedDataSetCollectionAlgorithm.
Composite dataset that groups datasets as a collection.
dynamic, self-adjusting array of unsigned char
dataset represents arbitrary combinations of all possible cell types