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
PR: synchro V6_main tag mergeto_V7_main_11Feb13
[modules/smesh.git]
/
src
/
SMESHDS
/
SMESHDS_GroupOnFilter.hxx
diff --git
a/src/SMESHDS/SMESHDS_GroupOnFilter.hxx
b/src/SMESHDS/SMESHDS_GroupOnFilter.hxx
index b1e33e5fc7ba4a9065bbdf074d9ec3df3f115f8f..9200744d29935f13818fd27ce776554c027ed456 100644
(file)
--- a/
src/SMESHDS/SMESHDS_GroupOnFilter.hxx
+++ b/
src/SMESHDS/SMESHDS_GroupOnFilter.hxx
@@
-46,7
+46,18
@@
class SMESHDS_EXPORT SMESHDS_GroupOnFilter: public SMESHDS_GroupBase
SMESH_PredicatePtr GetPredicate() const { return myPredicate; }
SMESH_PredicatePtr GetPredicate() const { return myPredicate; }
- virtual int Extent() const;
+ std::vector< int > GetMeshInfo() const;
+
+ template< typename IDTYPE >
+ int GetElementIds( IDTYPE* ids ) const
+ {
+ return getElementIds( (void*)ids, sizeof(IDTYPE));
+ }
+
+
+ virtual int Extent() const;
+
+ virtual bool IsEmpty();
virtual bool Contains (const int theID);
virtual bool Contains (const int theID);
@@
-54,21
+65,22
@@
class SMESHDS_EXPORT SMESHDS_GroupOnFilter: public SMESHDS_GroupBase
virtual SMDS_ElemIteratorPtr GetElements() const;
virtual SMDS_ElemIteratorPtr GetElements() const;
- virtual int GetID (const int theIndex);
-
- virtual int GetTic() const;
+ virtual int GetTic() const;
- bool IsUpToDate() const;
+ bool
IsUpToDate() const;
private:
void update() const;
void setChanged(bool changed=true);
private:
void update() const;
void setChanged(bool changed=true);
+ const SMDS_MeshElement* setNbElemToSkip( SMDS_ElemIteratorPtr& elIt );
+ int getElementIds( void* ids, size_t idSize ) const;
SMESH_PredicatePtr myPredicate;
SMESH_PredicatePtr myPredicate;
- std::vector<
const SMDS_MeshElement*> myElements
;
-
unsigned long myMeshModifTime; // when myElements was fill
ed
+ std::vector<
int > myMeshInfo
;
+
size_t myMeshModifTime; // when myMeshInfo was updat
ed
int myPredicateTic;
int myPredicateTic;
+ size_t myNbElemToSkip;
};
#endif
};
#endif