mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025629: Visualization, AIS_InteractiveContext - code clean up
Drop confusing method AIS_InteractiveContext::Clear() which is the same as ::Remove(). AIS_InteractiveContext::Display() - fix double viewer update on first display of presentation. AIS_InteractiveContext::DisplayedObjects() - fix objects retrieval from local contexts. AIS_InteractiveContext::Load() - do not bind object twice. Drop code blocks for debug output. Code clean up.
This commit is contained in:
@@ -268,15 +268,6 @@ is
|
||||
-- inWhichLocal gives the local context in which anIObj
|
||||
-- is displayed. By default, the index -1 refers to the last
|
||||
-- Local Context opened.
|
||||
|
||||
Clear(me : mutable;
|
||||
aniobj : InteractiveObject from AIS;
|
||||
updateviewer : Boolean from Standard = Standard_True);
|
||||
---Purpose: Removes the interactive object aniobj from all viewers.
|
||||
-- If a local context is open and if updateviewer equals
|
||||
-- Standard_False, the presentation of the Interactive
|
||||
-- Object activates the selection mode; the object is
|
||||
-- displayed but no viewer will be updated.
|
||||
|
||||
ClearPrs( me :mutable;
|
||||
aniobj : InteractiveObject from AIS;
|
||||
@@ -2046,6 +2037,16 @@ is
|
||||
PurgeViewer(me:mutable;Vwr:Viewer from V3d)
|
||||
returns Integer from Standard is static private;
|
||||
|
||||
redisplayPrsModes (me : mutable;
|
||||
theIObj : InteractiveObject from AIS;
|
||||
theToUpdateViewer : Boolean from Standard = Standard_True) is static private;
|
||||
---Purpose: UNKNOWN
|
||||
|
||||
redisplayPrsRecModes (me : mutable;
|
||||
theIObj : InteractiveObject from AIS;
|
||||
theToUpdateViewer : Boolean from Standard = Standard_True) is static private;
|
||||
---Purpose: UNKNOWN
|
||||
|
||||
fields
|
||||
|
||||
myObjects : DataMapOfIOStatus from AIS;
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user