projects
/
occt-copy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6054db8
)
0032506: Visualization - add AIS_InteractiveContext::ObjectIterator() for iterating...
IR-2021-07-30
WEEK-30
author
kgv
<kgv@opencascade.com>
Fri, 30 Jul 2021 19:35:28 +0000
(22:35 +0300)
committer
bugmaster
<bugmaster@opencascade.com>
Sat, 31 Jul 2021 10:14:05 +0000
(13:14 +0300)
src/AIS/AIS_InteractiveContext.hxx
patch
|
blob
|
blame
|
history
diff --git
a/src/AIS/AIS_InteractiveContext.hxx
b/src/AIS/AIS_InteractiveContext.hxx
index
4262be3
..
222d5d3
100644
(file)
--- a/
src/AIS/AIS_InteractiveContext.hxx
+++ b/
src/AIS/AIS_InteractiveContext.hxx
@@
-824,6
+824,12
@@
public: //! @name common properties
const AIS_KindOfInteractive WhichKind = AIS_KindOfInteractive_None,
const Standard_Integer WhichSignature = -1) const;
+ //! Create iterator through all objects registered in context.
+ AIS_DataMapIteratorOfDataMapOfIOStatus ObjectIterator() const
+ {
+ return AIS_DataMapIteratorOfDataMapOfIOStatus (myObjects);
+ }
+
//! Rebuilds 1st level of BVH selection forcibly
Standard_EXPORT void RebuildSelectionStructs();