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
Merge remote branch 'origin/V8_5_asterstudy'
[modules/smesh.git]
/
src
/
SMESHDS
/
SMESHDS_GroupOnFilter.hxx
diff --git
a/src/SMESHDS/SMESHDS_GroupOnFilter.hxx
b/src/SMESHDS/SMESHDS_GroupOnFilter.hxx
index c53f3bc8fae1c50e4da1d06b57534c3ee7616105..9b235c1a318dc31a1da240da1d7adae7284350b7 100644
(file)
--- a/
src/SMESHDS/SMESHDS_GroupOnFilter.hxx
+++ b/
src/SMESHDS/SMESHDS_GroupOnFilter.hxx
@@
-27,13
+27,14
@@
#include "SMESH_SMESHDS.hxx"
#include "SMESH_SMESHDS.hxx"
+#include "SMDS_ElementHolder.hxx"
#include "SMESHDS_GroupBase.hxx"
#include "SMESH_Controls.hxx"
#include "SMESHDS_GroupBase.hxx"
#include "SMESH_Controls.hxx"
-
+
/*!
* \brief Groups whose contents is dynamically updated using the filter
*/
/*!
* \brief Groups whose contents is dynamically updated using the filter
*/
-class SMESHDS_EXPORT SMESHDS_GroupOnFilter: public SMESHDS_GroupBase
+class SMESHDS_EXPORT SMESHDS_GroupOnFilter: public SMESHDS_GroupBase
, SMDS_ElementHolder
{
public:
{
public:
@@
-69,9
+70,17
@@
class SMESHDS_EXPORT SMESHDS_GroupOnFilter: public SMESHDS_GroupBase
bool IsUpToDate() const;
bool IsUpToDate() const;
+ protected: // methods of SMDS_ElementHolder
+
+ virtual SMDS_ElemIteratorPtr getElements();
+ virtual void tmpClear();
+ virtual void add( const SMDS_MeshElement* element );
+ virtual void compact() {};
+
private:
void update() const;
private:
void update() const;
+ bool updateParallel() const;
void setChanged(bool changed=true);
const SMDS_MeshElement* setNbElemToSkip( SMDS_ElemIteratorPtr& elIt );
int getElementIds( void* ids, size_t idSize ) const;
void setChanged(bool changed=true);
const SMDS_MeshElement* setNbElemToSkip( SMDS_ElemIteratorPtr& elIt );
int getElementIds( void* ids, size_t idSize ) const;