#include <Extrema_POnSurf.hxx>
#include <GeomAdaptor_Surface.hxx>
#include <ElCLib.hxx>
+#include <TColStd_ListOfInteger.hxx>
#include <map>
}
// make new elements
sweepElement( aMesh, elem, newNodesItVec, newElemsMap[elem] );
+
+ // fill history
+ TColStd_ListOfInteger ListNewID;
+ list<const SMDS_MeshElement*> tmpList = newElemsMap[elem];
+ for(list<const SMDS_MeshElement*>::iterator ite = tmpList.begin();
+ ite!=tmpList.end(); ite++) {
+ ListNewID.Append((*ite)->GetID());
+ }
+ myExtrusionHistory.Bind(elem->GetID(),ListNewID);
+ // end fill history
+
}
makeWalls( aMesh, mapNewNodes, newElemsMap, mapElemNewNodes, theElems );
}
#include <list>
#include <map>
+#include <TColStd_DataMapOfIntegerListOfInteger.hxx>
class SMDS_MeshElement;
class SMDS_MeshFace;
SMESHDS_Mesh * GetMeshDS() { return myMesh->GetMeshDS(); }
+ const TColStd_DataMapOfIntegerListOfInteger& GetExtrusionHistory() const
+ { return myExtrusionHistory; }
private:
SMESH_Mesh * myMesh;
+ TColStd_DataMapOfIntegerListOfInteger myExtrusionHistory;
+
};
#endif