Public Member Functions |
| virtual const std::string & | GetName () |
| | Get brief name of the corresponding source MED file.
|
| virtual int | IsDone () const |
| | Let known whether the source MED file parsed or not.
|
| virtual VISU_Convertor * | Build ()=0 |
| | This method perform first parsing of MED file to get known what MED entities are pressent in it.
|
| virtual VISU_Convertor * | BuildEntities ()=0 |
| | This method perform first parsing of MED file to get known what MED mesh entities are pressent in it.
|
| virtual VISU_Convertor * | BuildFields ()=0 |
| | This method perform first parsing of MED file to get known what MED fields are pressent in it.
|
| virtual VISU_Convertor * | BuildMinMax ()=0 |
| | This min /max calculation over existing MED fields.
|
| virtual VISU_Convertor * | BuildGroups ()=0 |
| | This method perform first parsing of MED file to get known what MED groups are pressent in it.
|
| virtual const VISU::TMeshMap & | GetMeshMap () |
| | This method allow to get known what MED entities are present is the MED file.
|
| virtual size_t | GetSize ()=0 |
| | Get amount of memory to build VTK representations for all existing MED entities.
|
| virtual VISU::PNamedIDMapper | GetMeshOnEntity (const std::string &theMeshName, const VISU::TEntity &theEntity)=0 |
| | Get mesh for corresponding MED ENTITY.
|
| virtual size_t | GetMeshOnEntitySize (const std::string &theMeshName, const VISU::TEntity &theEntity)=0 |
| | Get amount of memory to build mesh for corresponding MED ENTITY.
|
virtual
VISU::PUnstructuredGridIDMapper | GetFamilyOnEntity (const std::string &theMeshName, const VISU::TEntity &theEntity, const std::string &theFamilyName)=0 |
| | Get mesh for corresponding MED FAMILY.
|
| virtual size_t | GetFamilyOnEntitySize (const std::string &theMeshName, const VISU::TEntity &theEntity, const std::string &theFamilyName)=0 |
| | Get amount of memory to build mesh for corresponding MED FAMILY.
|
virtual
VISU::PUnstructuredGridIDMapper | GetMeshOnGroup (const std::string &theMeshName, const std::string &theGroupName)=0 |
| | Get mesh for corresponding MED GROUP.
|
| virtual size_t | GetMeshOnGroupSize (const std::string &theMeshName, const std::string &theGroupName)=0 |
| | Get amount of memory to build mesh for corresponding MED GROUP.
|
virtual
VISU::PUnstructuredGridIDMapper | GetTimeStampOnMesh (const std::string &theMeshName, const VISU::TEntity &theEntity, const std::string &theFieldName, int theTimeStampNumber)=0 |
| | Get mesh with attached values for corresponding MED TIMESTAMP.
|
| virtual VISU::PGaussPtsIDMapper | GetTimeStampOnGaussPts (const std::string &theMeshName, const VISU::TEntity &theEntity, const std::string &theFieldName, int theTimeStampNumber)=0 |
| | Get Gauss Points mesh with attached values for corresponding MED TIMESTAMP.
|
| virtual size_t | GetTimeStampOnMeshSize (const std::string &theMeshName, const VISU::TEntity &theEntity, const std::string &theFieldName, int theTimeStampNumber, bool &theIsEstimated)=0 |
| | Get amount of memory to build vtkDataSet for corresponding MED TIMESTAMP on mesh.
|
| virtual size_t | GetTimeStampOnGaussPtsSize (const std::string &theMeshName, const VISU::TEntity &theEntity, const std::string &theFieldName, int theTimeStampNumber, bool &theIsEstimated)=0 |
| | Get amount of memory to build vtkDataSet for corresponding MED TIMESTAMP on Gauss Points.
|
| virtual size_t | GetFieldOnMeshSize (const std::string &theMeshName, const VISU::TEntity &theEntity, const std::string &theFieldName)=0 |
| | Get amount of memory to build all MED TIMESTAMPS for corresponding MED FIELD.
|
| virtual const VISU::PField | GetField (const std::string &theMeshName, VISU::TEntity theEntity, const std::string &theFieldName)=0 |
| | Find MED FIELD container.
|
| virtual const VISU::PValForTime | GetTimeStamp (const std::string &theMeshName, const VISU::TEntity &theEntity, const std::string &theFieldName, int theTimeStampNumber)=0 |
| | Find MED TIMESTAMP container.
|
Static Public Member Functions |
| static std::string | GenerateName (const VISU::TTime &aTime) |
| | Allow to generate pretty name for MED TIMESTAMP.
|
| static std::string | GenerateName (const std::string &theName, unsigned int theTimeId) |
Protected Member Functions |
| | VISU_Convertor () |
Protected Attributes |
| std::string | myName |
| VISU::TMeshMap | myMeshMap |
| int | myIsDone |
It is the main class of the VISU CONVERTER package. Following MED entities can be retrived from any MED file:
- mesh from corresponding MED ENTITIES;
- MED TIMESTAMPS;
- MED FAMILIES;
- MED GROUPS. The class produce its work in two main steps: 1. Perfrom parsing of MED file to get known what MED entities are pressent in it 2. Get VTK representation for any existing MED entity Also, it can perform some additional work to calculate expected amount of memory to build defined VTK representation