MantisBT - Community
View Issue Details
0027874Community[OCCT] OCCT:Visualizationpublic2016-09-14 14:512017-02-28 11:49
closedno change required 
[OCCT] 7.0.0 
[OCCT] Unscheduled 
0027874: Visualization - There are no way to add local selection in Global Context.
The local context functionality in AIS_InteractiveContext has been deprecated since OCCT 7.0.0 in release notes. But there is no way to add "local" selection in Global Context.
void AIS_InteractiveContext::AddOrRemoveSelected (const TopoDS_Shape& aShap, const Standard_Boolean updateviewer) do nothing in Global Context.
No tags attached.
child of 0025467closed kgv Open CASCADE Visualization - Possibility to remove AIS_LocalContext class 
Issue History
2016-09-14 14:51solomin_sNew Issue
2016-09-14 14:51solomin_sAssigned To => kgv
2016-09-14 15:19solomin_sNote Added: 0057785
2016-10-25 09:30kgvTarget Version7.1.0 => 7.2.0
2016-11-11 11:06kgvNote Added: 0060225
2016-11-11 11:06kgvResolutionopen => no change required
2016-11-11 11:06kgvTarget Version7.2.0 => Unscheduled
2016-11-11 11:09kgvRelationship addedchild of 0025467
2016-12-27 21:45kgvNote Added: 0062207
2016-12-27 21:45kgvAssigned Tokgv => bugmaster
2016-12-27 21:45kgvStatusnew => feedback
2017-02-28 11:49bugmasterStatusfeedback => closed

2016-09-14 15:19   
Implementation like local context can be very costly: iterates all SelectBasics_EntityOwner in context will inefficiently if we know owner (SelectMgr_SelectableObject) of TopoDS_Shape. I think API should be extended to select TopoDS_Shape of known AIS_InteractiveObject.
2016-11-11 11:06   
The functionality for working with TopoDS_Shape within AIS_InteractiveContext is deprecated - it is better implementing necessary logic at application level rather then relying on TopoDS_Shape as identifier for selection.
2016-12-27 21:45   
Dear bugmaster,

please close the bug as no change required.