0025467: Visualization - Possibility to remove AIS_LocalContext class
authorkgv <kgv@opencascade.com>
Wed, 20 Jun 2018 05:48:40 +0000 (08:48 +0300)
committerkgv <kgv@opencascade.com>
Sat, 23 Jun 2018 10:21:03 +0000 (13:21 +0300)
commit68dcee028df46bf2677e05c00bb1099cdecb994e
treef7b9b26b79e99336de3d967b6f3a638297a051f8
parentd9f79dae49e0e0cdf2e5fdb440b030e6362dd7bd
0025467: Visualization - Possibility to remove AIS_LocalContext class

Deprecated functionality related to Local Context has been removed.

The following classes and types have been removed:
AIS_LocalContext, AIS_DataMapOfILC, AIS_LocalStatus, SelectMgr_SequenceOfSelector, SelectMgr_DataMapOfObjectSelectors.
Value AIS_DS_Temporary has been removed from enumeration AIS_DisplayStatus.

The following methods related to Local Context have been removed from AIS_InteractiveContext:
::HasOpenedContext(), ::HighestIndex(), ::LocalContext(),
::LocalSelector(), ::OpenLocalContext(), ::CloseLocalContext(),
::IndexOfCurrentLocal(), ::CloseAllContexts(), ::ResetOriginalState(),
::ClearLocalContext(), ::UseDisplayedObjects(), ::NotUseDisplayedObjects(),
::SetShapeDecomposition(), ::SetTemporaryAttributes(),
::ActivateStandardMode(), ::DeactivateStandardMode(), ::KeepTemporary(),
::SubIntensityOn(), ::SubIntensityOff(),
::ActivatedStandardModes(), ::IsInLocal()
and ::AddOrRemoveSelected() taking TopoDS_Shape.

The methods AIS_InteractiveContext::Display() and ::Load()
taking argument theToAllowDecomposition have been marked as deprecated;
the new methods without this unused argument should be used instead.
AIS_InteractiveContext::DisplayedObjects() - removed argument theOnlyFromNeutral.

SelectMgr_SelectionManager has been simplified so that now it support only single Viewer Selector.

The argument -local has been removed from Draw Harness commands vselmode, vremove, vdisplay, vdisplayall, verase.
58 files changed:
dox/dev_guides/upgrade/upgrade.md
samples/mfc/standard/09_Animation/src/AnimationDoc.cpp
src/AIS/AIS_DataMapIteratorOfDataMapOfILC.hxx [deleted file]
src/AIS/AIS_DataMapOfILC.hxx [deleted file]
src/AIS/AIS_DisplayStatus.hxx
src/AIS/AIS_InteractiveContext.cxx
src/AIS/AIS_InteractiveContext.hxx
src/AIS/AIS_InteractiveContext_1.cxx
src/AIS/AIS_InteractiveContext_2.cxx
src/AIS/AIS_LocalContext.cxx [deleted file]
src/AIS/AIS_LocalContext.hxx [deleted file]
src/AIS/AIS_LocalContext.lxx [deleted file]
src/AIS/AIS_LocalContext_1.cxx [deleted file]
src/AIS/AIS_LocalStatus.cxx [deleted file]
src/AIS/AIS_LocalStatus.hxx [deleted file]
src/AIS/AIS_LocalStatus.lxx [deleted file]
src/AIS/FILES
src/QABugs/QABugs_14.cxx
src/QABugs/QABugs_17.cxx
src/QABugs/QABugs_19.cxx
src/QABugs/QABugs_3.cxx
src/SelectMgr/FILES
src/SelectMgr/SelectMgr_DataMapIteratorOfDataMapOfObjectSelectors.hxx [deleted file]
src/SelectMgr/SelectMgr_DataMapOfObjectSelectors.hxx [deleted file]
src/SelectMgr/SelectMgr_SelectionManager.cxx
src/SelectMgr/SelectMgr_SelectionManager.hxx
src/SelectMgr/SelectMgr_SequenceOfSelector.hxx [deleted file]
src/ViewerTest/ViewerTest.cxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/bugs/vis/buc26658 [deleted file]
tests/bugs/vis/buc60574 [deleted file]
tests/bugs/vis/buc60614 [deleted file]
tests/bugs/vis/buc60818 [deleted file]
tests/bugs/vis/bug1629 [deleted file]
tests/bugs/vis/bug1786 [deleted file]
tests/bugs/vis/bug232 [deleted file]
tests/bugs/vis/bug24965 [deleted file]
tests/bugs/vis/bug24966 [deleted file]
tests/bugs/vis/bug25528 [deleted file]
tests/bugs/vis/bug26076 [deleted file]
tests/bugs/vis/bug26172 [deleted file]
tests/bugs/vis/bug26945 [deleted file]
tests/bugs/vis/bug597_1 [deleted file]
tests/bugs/vis/bug597_2 [deleted file]
tests/bugs/vis/bug597_3 [deleted file]
tests/bugs/vis/bug597_4 [deleted file]
tests/bugs/vis/bug597_5 [deleted file]
tests/bugs/vis/bug597_6 [deleted file]
tests/bugs/vis/bug597_7 [deleted file]
tests/bugs/vis/ger61351_1 [deleted file]
tests/bugs/vis/ger61351_2 [deleted file]
tests/bugs/vis/ger61351_3 [deleted file]
tests/bugs/vis/ger61351_4 [deleted file]
tests/bugs/vis/ger61351_5 [deleted file]
tests/bugs/vis/ger61351_6 [deleted file]
tools/VInspector/VInspector_Tools.cxx
tools/VInspector/VInspector_Window.cxx