0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug137_2
CommitLineData
746bb46a 1
e54706ed 2puts "========================"
3puts "OCC137"
4puts "========================"
5###############################################################
6#Patch description:
7#
8#MIT010717 : 3D selection management
9#>>> MIT010717 : Selection management
10#
11# * Package OpenGl (OpenGl_execstruct.c)
12#
13# @ Avoid drawing quality problem on selected face,
14# enable/disable Z offset on highlighted faces.
15#
16#>>> MIT010717 : drawing management
17#
18# * Package OpenGl (OpenGl_indexpolygon.c, ...)
19#
20# @ Avoid to undraw faces with confused points
21###############################################################
22puts "========================"
23
24vinit
25box b 10 10 10
26vdisplay b
27vfit
28vsetdispmode 1
29
30puts "Only top face should be highlighted."
31
32vselmode 4 1
33
34OCC137 1
35
36set x_coord 105
37set y_coord 100
38
4754e164 39vmoveto $x_coord $y_coord
e54706ed 40
41checkcolor $x_coord $y_coord 0 1 1
42
43set x_coord 105
44set y_coord 340
45
46checkcolor $x_coord $y_coord 0.78 0.54 0.09
47
5747059b 48checkview -screenshot -3d -path ${imagedir}/${test_image}.png