#include "SMDS_Mesh.hxx"
#include "SMESHDS_GroupBase.hxx"
#include "SMESHDS_SubMesh.hxx"
-#include "MEDA_Wrapper.hxx"
+#include "MED_Common.hxx"
#include <boost/shared_ptr.hpp>
#include <set>
// from <theGroups> and other sub-meshes from <theSubMeshes>.
// Resulting families have no common elements.
- MEDA::PFamilyInfo GetFamilyInfo (const MEDA::PMeshInfo& theMeshInfo) const;
+ MED::PFamilyInfo GetFamilyInfo (const MED::PWrapper& theWrapper,
+ const MED::PMeshInfo& theMeshInfo) const;
// Create TFamilyInfo for this family
const std::set<const SMDS_MeshElement *>& GetElements () const { return myElements; }
const MED::TStringSet& GetGroupNames () const { return myGroupNames; }
+ void SetId (const int theId) { myId = theId; }
+ // Sets a family ID
+
private:
void Init (SMESHDS_GroupBase* group);
// Initialize the tool by SMESHDS_GroupBase
// Remove from <by> elements, common with <Elements>,
// Create family <common> from common elements, with combined groups list.
- void SetId (const int theId) { myId = theId; }
- // Sets a family ID
-
bool IsEmpty () const { return myElements.empty(); }
// Check, if this family has empty list of elements