0032366: Visualization, SelectMgr_ViewerSelector3d::ToPixMap() - add option dumping...
[occt.git] / tests / vselect / sphere / single_click_selection
CommitLineData
114e7a90 1puts "================================="
2puts "0032182: Visualization - add Select3D_SensitiveSphere"
3puts "Tests selection of Select3D_SenstiveSphere"
4puts "================================="
5
6psphere s 1
7vdisplay -dispMode 1 s
8vfit
9vselect 300 200
10if { ![string match "*Selected*" [vstate s]] } { puts "Error: sphere should be selected" }
11vselect 195 110
12if { [string match "*Selected*" [vstate s]] } { puts "Error: sphere should be unselected" }
13vselect 390 110
14if { [string match "*Selected*" [vstate s]] } { puts "Error: sphere should be unselected" }
15vselect 390 282
16if { [string match "*Selected*" [vstate s]] } { puts "Error: sphere should be unselected" }
17vselect 213 291
18if { [string match "*Selected*" [vstate s]] } { puts "Error: sphere should be unselected" }
19vselect 300 200 -allowoverlap 1
20if { ![string match "*Selected*" [vstate s]] } { puts "Error: sphere should be selected" }
21vselect 195 110 -allowoverlap 1
22if { [string match "*Selected*" [vstate s]] } { puts "Error: sphere should be unselected" }