5 ###################################################################################
6 puts "Visualization, SelectMgr_ViewerSelector - Pixel tolerance is overridden by selection sensitivity"
7 ###################################################################################
9 pload VISUALIZATION MODELING
33 # check precise selection of the edge
34 vmoveto ${x_sel_precise} ${y_sel_precise}
35 checkcolor ${x_on_edge} ${y_on_edge} 0 1 1
36 # check selection in neighborhood of the edge
38 vmoveto ${x_sel_tol} ${y_sel_tol}
39 checkcolor ${x_on_edge} ${y_on_edge} 1 1 0
42 # increase selection precision
45 # check precise selection of the edge
46 vmoveto ${x_sel_precise} ${y_sel_precise}
47 checkcolor ${x_on_edge} ${y_on_edge} 0 1 1
48 # check selection in neighborhood of the edge
50 vmoveto $x_sel_tol ${y_sel_tol}
51 checkcolor ${x_on_edge} ${y_on_edge} 0 1 1
53 # check that after precision reset selection works as usual
56 vmoveto ${x_sel_precise} ${y_sel_precise}
57 checkcolor ${x_on_edge} ${y_on_edge} 0 1 1
59 vmoveto ${x_sel_tol} ${y_sel_tol}
60 checkcolor ${x_on_edge} ${y_on_edge} 1 1 0
62 # check that point sensitivity is inreased for all types of
68 vmoveto ${x_notol} ${y_notol}
69 # check that vertex is highlighted and edge is not
70 checkcolor ${x_on_edge} ${y_on_edge} 1 1 0
71 checkcolor ${x_on_vert} ${y_on_vert} 0 1 1
75 vmoveto ${x_tol} ${y_tol}
76 # check that vertex is highlighted and edge is not
77 checkcolor ${x_on_edge} ${y_on_edge} 1 1 0
78 checkcolor $x_on_vert $y_on_vert 0 1 1
80 vdump ${imagedir}/${casename}