View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0033209||Open CASCADE||OCCT:Visualization||public||2022-11-16 17:34||2022-11-16 17:36|
|Summary||0033209: No possibility to select only objects visible to user using API of AIS_InteractiveContext|
|Description||In contrast to SelectDetected() neither SelectPoint(), nor SelectPolygon(), nor SelectRectangle() allow to select objects that are visible to user only, i.e. having two objects one of which is behind another, both will be selected using these methods despite of the first one is visually hidden and may be omitted. In other words current selection scheme allows to select objects by X-Ray so it passes through the entire scene, however in some scenarios it is preferable to stop at the first hit on the closest object.|
Changing PickingStrategy parameter seems to have no effect.
|Steps To Reproduce||pload ALL|
box b 10 10 10
box c 20 0 0 10 10 10
vdisplay b c
# Select visible object in viewer using rectangular selection and rotate view so both boxes are visible.
# Result: both boxes are selected, despite one of them is completely hidden by an another.
|Tags||No tags attached.|
|Test case number|