0032387: Visualization - use interface of ray-picking for selection/highlighting...
authorosa <osa@opencascade.com>
Mon, 24 May 2021 12:27:33 +0000 (15:27 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 26 May 2021 17:06:45 +0000 (20:06 +0300)
commit807340d924902c6b7acd36574db5a2a1342eb930
tree1c6f067617462999f13a7ac13461faf4a5c77713
parent03c9cc86c6674ffb2ba8fd5ce68f5d2dfc34a443
0032387: Visualization - use interface of ray-picking for selection/highlighting for XR pose

Fixed regression of SelectMgr_ViewerSelector::SetPixelTolerance(). Removed redundant myToUpdateTolerance flag.

SelectMgr_AxisIntersector::raySegmentDistance() - fixed usage of SquareModulus() instead of Modulus().
SelectMgr_ViewerSelector::TraverseSensitives() now skips both BVHSubset_2dPersistent and BVHSubset_3dPersistent relying on Camera.

AIS_ViewController::handleXRMoveTo() now uses interface for picking by Axis explicitly
instead of emulating axis by point picking.
12 files changed:
src/AIS/AIS_InteractiveContext.cxx
src/AIS/AIS_InteractiveContext.hxx
src/AIS/AIS_ViewController.cxx
src/AIS/AIS_ViewController.hxx
src/Graphic3d/Graphic3d_CView.hxx
src/IVtkOCC/IVtkOCC_ViewerSelector.cxx
src/SelectMgr/SelectMgr_AxisIntersector.cxx
src/SelectMgr/SelectMgr_SelectionManager.cxx
src/SelectMgr/SelectMgr_ViewerSelector.cxx
src/SelectMgr/SelectMgr_ViewerSelector.hxx
src/SelectMgr/SelectMgr_ViewerSelector3d.cxx
tests/vselect/axis/A2 [new file with mode: 0644]