TName myName; //! Name of the corresponding MED MESH
int myDim; //! Dimension of the corresponding MED MESH
+ std::string myGroupsEntry; //!< To simplify publication of the groups in a data tree
+ std::string myFieldsEntry; //!< To simplify publication of the fiels in a data tree
+
TMesh(): myDim(0)
{}
};
//---------------------------------------------------------------
typedef std::map<vtkIdType,PValForTime> TValField;
- typedef std::pair<float,float> TMinMax;
+ typedef std::pair<vtkFloatingPointType,vtkFloatingPointType> TMinMax;
//! Define a basic class for MED FIELD entity
struct TField: virtual TIntId
//! Get amount of memory to build VTK representations for all existing MED entities
virtual
- float
+ vtkFloatingPointType
GetSize() = 0;
//! Get mesh for corresponding MED ENTITY
//! Get amount of memory to build mesh for corresponding MED ENTITY
virtual
- float
+ vtkFloatingPointType
GetMeshOnEntitySize(const std::string& theMeshName,
const VISU::TEntity& theEntity) = 0;
//! Get amount of memory to build mesh for corresponding MED FAMILY
virtual
- float
+ vtkFloatingPointType
GetFamilyOnEntitySize(const std::string& theMeshName,
const VISU::TEntity& theEntity,
const std::string& theFamilyName) = 0;
//! Get amount of memory to build mesh for corresponding MED GROUP
virtual
- float
+ vtkFloatingPointType
GetMeshOnGroupSize(const std::string& theMeshName,
const std::string& theGroupName) = 0;
//! Get amount of memory to build mesh for corresponding MED TIMESTAMP
virtual
- float
+ vtkFloatingPointType
GetTimeStampSize(const std::string& theMeshName,
const VISU::TEntity& theEntity,
const std::string& theFieldName,
//! Get amount of memory to build all MED TIMESTAMPS for corresponding MED FIELD
virtual
- float
+ vtkFloatingPointType
GetFieldOnMeshSize(const std::string& theMeshName,
const VISU::TEntity& theEntity,
const std::string& theFieldName) = 0;