AIS_InteractiveContext::SetPickClosest() has been removed from vmanipulator command,
and test cases using the manipulator have been updated.
//! aManipulator->Detach();
//! @endcode
//! The last method erases manipulator object.
-//! @warning
class AIS_Manipulator : public AIS_InteractiveObject
{
public:
{
Handle(V3d_View) aCurrentView = ViewerTest::CurrentView();
Handle(V3d_Viewer) aViewer = ViewerTest::GetViewerFromContext();
- ViewerTest::GetAISContext()->MainSelector()->SetPickClosest (Standard_False);
if (aCurrentView.IsNull()
|| aViewer.IsNull())
{
# rotate around y axis
# -------------------------------------------
-set mouse_pick {316 257}
+set mouse_pick {316 261}
set mouse_drag {279 286}
vmoveto {*}$mouse_pick
vmanipulator m -followRotation 1
-set mouse_pick {201 092}
+set mouse_pick {200 092}
set mouse_drag {176 142}
vmoveto {*}$mouse_pick
vmanipulator m -followRotation 1
set mouse_pick {173 137}
-set mouse_drag {233 140}
+set mouse_drag {233 144}
vmoveto {*}$mouse_pick
vselect {*}$mouse_pick
# test rotation around y axis (world reference frame)
# ---------------------------------------------------
-set mouse_pick {211 095}
-set mouse_drag {230 127}
+set mouse_pick {211 087}
+set mouse_drag {232 127}
vmoveto {*}$mouse_pick
vselect {*}$mouse_pick
# test rotation around z axis (world reference frame)
# ---------------------------------------------------
-set mouse_pick {225 143}
+set mouse_pick {228 141}
set mouse_drag {184 143}
vmoveto {*}$mouse_pick
# test hilight and detection
# --------------------------
-set mouse_pick {229 137}
+set mouse_pick {229 141}
vmoveto {*}$mouse_pick
vdump $anImage1
# test scaling of an object
# -------------------------
-set mouse_pick {229 137}
-set mouse_drag {210 127}
+set mouse_pick {229 141}
+set mouse_drag {210 129}
vmoveto {*}$mouse_pick
vselect {*}$mouse_pick
vmanipulator m -part 1 4 0
vmanipulator m -part 2 4 0
-set mouse_pick {223 143}
-set mouse_drag {181 141}
+set mouse_pick {223 144}
+set mouse_drag {181 140}
vmoveto {*}$mouse_pick
vselect {*}$mouse_pick
vmanipulator m1 -attach b1 -adjustPosition 1 -adjustSize 1 -enableModes 1 -zoomable 1
-set mouse_pick_1 {84 133}
+set mouse_pick_1 {80 133}
set mouse_pick_2 {29 103}
set mouse_pick_3 {29 103}
set mouse_drag_3 {121 126}
vmanipulator m2 -attach b2 -adjustPosition 1 -adjustSize 0 -enableModes 1 -zoomable 0 -size 40
-set mouse_pick_1 {341 282}
+set mouse_pick_1 {340 282}
set mouse_pick_2 {277 245}
set mouse_pick_3 {277 245}
set mouse_drag_3 {210 210}