From: eap Date: Thu, 19 Jul 2012 13:20:15 +0000 (+0000) Subject: 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes X-Git-Tag: V6_6_0a1~241 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b6c4d708d5351e2c32bba78a81f0095110bc3b8c;p=modules%2Fsmesh.git 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes + GROUP_BALL, --- diff --git a/src/SMESHFiltersSelection/SMESH_Type.h b/src/SMESHFiltersSelection/SMESH_Type.h index 9eb30cb03..e29c918a0 100644 --- a/src/SMESHFiltersSelection/SMESH_Type.h +++ b/src/SMESHFiltersSelection/SMESH_Type.h @@ -56,6 +56,7 @@ enum MeshObjectType { GROUP_FACE, GROUP_VOLUME, GROUP_0D, + GROUP_BALL, COMPONENT, IDSOURCE }; diff --git a/src/SMESHFiltersSelection/SMESH_TypeFilter.cxx b/src/SMESHFiltersSelection/SMESH_TypeFilter.cxx index 26a9dc0a6..e9b83166c 100644 --- a/src/SMESHFiltersSelection/SMESH_TypeFilter.cxx +++ b/src/SMESHFiltersSelection/SMESH_TypeFilter.cxx @@ -199,7 +199,13 @@ bool SMESH_TypeFilter::isOk (const SUIT_DataOwner* theDataOwner) const } case GROUP_0D: { - if (aLevel == 3 && (objFather->Tag() == SMESH::Tag_VolumeGroups+1)) + if (aLevel == 3 && (objFather->Tag() == SMESH::Tag_0DElementsGroups)) + Ok = true; + break; + } + case GROUP_BALL: + { + if (aLevel == 3 && (objFather->Tag() == SMESH::Tag_BallElementsGroups)) Ok = true; break; }