0024552: Convertation of the generic classes to the non-generic (BndLib).
[occt.git] / tests / bugs / vis / bug137_5
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 bottom face should be highlighted."
31
32OCC137 1
33OCC137_z
34
35vselmode 4 1
36
37set x_coord 105
38set y_coord 350
39
4754e164 40vmoveto $x_coord $y_coord
e54706ed 41
42set x_coord 105
43set y_coord 340
44
45checkcolor $x_coord $y_coord 0 1 1
46
4754e164 47vviewparams 60.6309 7.07107 4.08248 0.592163 -0.60038 -0.537482 0.369921 -0.390032 0.843228 -3.28175 3.38875 3.0464
e54706ed 48set x_coord 105
49set y_coord 340
50
51checkcolor $x_coord $y_coord 0.78 0.54 0.09
52
53set only_screen 1