struct TGaussSubMeshImpl: virtual TGaussSubMesh, virtual TSource
{
TGaussSubMeshImpl();
+
+ virtual
+ vtkIdType
+ GetObjID(vtkIdType theID) const
+ {
+ return theID;
+ }
+
TPointCoords myPointCoords;
ESubMeshStatus myStatus;
};
aMEntity,
aMGeom);
+ aGaussSubMesh->myIsElemNum = aCellInfo->IsElemNum();
+ if(aGaussSubMesh->myIsElemNum)
+ aGaussSubMesh->myElemNum = aCellInfo->myElemNum;
+
std::string aName;
MED::TGaussCoord aGaussCoord;
bool anIsGaussCoord3D = false;
#include "VISU_Convertor_impl.hxx"
#include "MED_Common.hxx"
+#include "MED_Structures.hxx"
#include <qfileinfo.h>
//---------------------------------------------------------------
struct TMEDGaussSubMesh: virtual TGaussSubMeshImpl
- {};
+ {
+ MED::EBooleen myIsElemNum;
+ MED::TElemNum myElemNum;
+
+ virtual
+ vtkIdType
+ GetObjID(vtkIdType theID) const
+ {
+ if(myIsElemNum)
+ return myElemNum[theID];
+ else
+ return theID;
+ }
+ };
typedef SharedPtr<TMEDGaussSubMesh> PMEDGaussSubMesh;