Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0052451: "Assign a set of hypotheses" is disabled by mistake
[modules/smesh.git]
/
src
/
SMESH_I
/
SMESH_Group_i.hxx
diff --git
a/src/SMESH_I/SMESH_Group_i.hxx
b/src/SMESH_I/SMESH_Group_i.hxx
index dcb441057e0399e8978bae67fc1392c0474c78c4..f08e51b2440772c3d89ebf24d132797766a2b968 100644
(file)
--- a/
src/SMESH_I/SMESH_Group_i.hxx
+++ b/
src/SMESH_I/SMESH_Group_i.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
4
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
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-6,7
+6,7
@@
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License
, or (at your option) any later version
.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-72,15
+72,19
@@
class SMESH_I_EXPORT SMESH_GroupBase_i:
virtual SMESH::SMESH_Mesh_ptr GetMesh();
/*!
virtual SMESH::SMESH_Mesh_ptr GetMesh();
/*!
- * Returns
statistic of mesh elements
- * Result array of number
enityties
+ * Returns
number of mesh elements of each \a EntityType
+ * Result array of number
of elements per \a EntityType
* Inherited from SMESH_IDSource
*/
virtual SMESH::long_array* GetMeshInfo();
* Inherited from SMESH_IDSource
*/
virtual SMESH::long_array* GetMeshInfo();
-
- // Inherited from SMESH_IDSource interface
+ /*!
+ * Returns number of mesh elements of each \a ElementType
+ */
+ virtual SMESH::long_array* GetNbElementsByType();
+ /*!
+ * Returns a sequence of all element IDs
+ */
virtual SMESH::long_array* GetIDs();
virtual SMESH::long_array* GetIDs();
-
/*!
* Returns types of elements it contains
* Inherited from SMESH_IDSource interface
/*!
* Returns types of elements it contains
* Inherited from SMESH_IDSource interface
@@
-110,14
+114,14
@@
protected:
SMESH_PreMeshInfo* myPreMeshInfo; // mesh info before full loading from study file
friend class SMESH_PreMeshInfo;
SMESH_PreMeshInfo* myPreMeshInfo; // mesh info before full loading from study file
friend class SMESH_PreMeshInfo;
+ int myNbNodes, myGroupDSTic;
+
private:
SMESH_Mesh_i* myMeshServant;
int myLocalID;
void changeLocalId(int localId) { myLocalID = localId; }
friend class SMESH_Mesh_i;
private:
SMESH_Mesh_i* myMeshServant;
int myLocalID;
void changeLocalId(int localId) { myLocalID = localId; }
friend class SMESH_Mesh_i;
-
- int myNbNodes, myGroupDSTic;
};
// ======
};
// ======
@@
-183,6
+187,8
@@
class SMESH_I_EXPORT SMESH_GroupOnFilter_i:
// CORBA interface implementation
void SetFilter(SMESH::Filter_ptr theFilter);
SMESH::Filter_ptr GetFilter();
// CORBA interface implementation
void SetFilter(SMESH::Filter_ptr theFilter);
SMESH::Filter_ptr GetFilter();
+ virtual SMESH::long_array* GetListOfID();
+ virtual SMESH::long_array* GetMeshInfo();
// method of SMESH::Filter_i::TPredicateChangeWaiter
virtual void PredicateChanged();
// method of SMESH::Filter_i::TPredicateChangeWaiter
virtual void PredicateChanged();