X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=idl%2FSMESH_Group.idl;h=d00fe0e9d4296b8b1101cf641ff4bc48b2eb852b;hb=62f76f744fbc2c66a2043826f34fa767625b9873;hp=4cfa47e98418960b182ee78276473b22410cae3e;hpb=2c607013a23bd4e7ba07e72e0c04dee2c1209cff;p=modules%2Fsmesh.git diff --git a/idl/SMESH_Group.idl b/idl/SMESH_Group.idl index 4cfa47e98..d00fe0e9d 100644 --- a/idl/SMESH_Group.idl +++ b/idl/SMESH_Group.idl @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -36,6 +36,7 @@ module SMESH { interface Predicate; + interface Filter; /*! * SMESH_Group: base interface of group object @@ -82,6 +83,23 @@ module SMESH */ long_array GetListOfID(); + /*! + * Get the number of nodes of cells included to the group + * For a nodal group returns the same value as Size() function + */ + long GetNumberOfNodes(); + + /*! + * Get IDs of nodes of cells included to the group + * For a nodal group returns result of GetListOfID() function + */ + long_array GetNodeIDs(); + + /*! + * Return true if GetNumberOfNodes() won't take a long time for computation + */ + boolean IsNodeInfoAvailable(); + /*! * Sets group color */ @@ -106,7 +124,7 @@ module SMESH }; /*! - * SMESH_Group: interface of group object + * SMESH_Group: interface of a standalone group object */ interface SMESH_Group : SMESH_GroupBase { @@ -138,14 +156,24 @@ module SMESH long RemoveByPredicate( in Predicate thePredicate ); }; + /*! - * SMESH_Group: interface of group object linked to geometry + * SMESH_GroupOnGeom: interface of a group object linked to geometry */ interface SMESH_GroupOnGeom : SMESH_GroupBase { GEOM::GEOM_Object GetShape(); }; + /*! + * SMESH_GroupOnFilter: interface of a group object defined by filter + */ + interface SMESH_GroupOnFilter : SMESH_GroupBase + { + void SetFilter( in Filter theFilter); + Filter GetFilter(); + }; + };