]> OCCT Git - occt.git/commit
0032978: Visualization - AIS_ViewController::PickPoint() includes objects invisible...
authorkgv <kgv@opencascade.com>
Sat, 21 May 2022 14:18:43 +0000 (17:18 +0300)
committerkgv <kgv@opencascade.com>
Sat, 21 May 2022 14:25:43 +0000 (17:25 +0300)
commit86d6c284c2ed2d16fd247643f75476a29eb34492
tree6cd79cdbcf69e7b20f13759e7d234789790373ca
parent84d39c06fa79d4227c1bc415e36e3924f7ff64c6
0032978: Visualization - AIS_ViewController::PickPoint() includes objects invisible in current View

SelectMgr_ViewerSelector::TraverseSensitives() now takes into account object's view affinity.
AIS_InteractiveContext::moveTo() - dropped code SelectMgr_AndOrFilter::SetDisabledObjects()
as filtering is now done by selector itself.

ViewAffinity property has been moved to PrsMgr_PresentableObject for simplicity.
Removed redundant map Graphic3d_CView::HiddenObjects().
14 files changed:
src/AIS/AIS_InteractiveContext.cxx
src/AIS/AIS_Manipulator.cxx
src/AIS/AIS_ViewCube.cxx
src/Graphic3d/Graphic3d_CView.cxx
src/Graphic3d/Graphic3d_CView.hxx
src/Graphic3d/Graphic3d_StructureManager.cxx
src/Graphic3d/Graphic3d_StructureManager.hxx
src/IVtkOCC/IVtkOCC_ViewerSelector.cxx
src/PrsMgr/PrsMgr_PresentableObject.cxx
src/PrsMgr/PrsMgr_PresentableObject.hxx
src/PrsMgr/PrsMgr_PresentationManager.cxx
src/SelectMgr/SelectMgr_ViewerSelector.cxx
src/SelectMgr/SelectMgr_ViewerSelector.hxx
tests/v3d/bugs/bug32978 [new file with mode: 0644]