5396886c |
1 | puts "========" |
2 | puts "OCC26960" |
3 | puts "========" |
4 | puts "" |
5 | ################################################################## |
6 | puts "Visualization, TKOpenGl - update transformation of dynamically highlighted presentation" |
7 | ################################################################## |
8 | |
9 | pload VISUALIZATION MODELING |
10 | |
11 | box b 1 2 3 |
12 | |
13 | vclear |
14 | vinit View1 |
15 | |
16 | vdisplay -dispmode 1 -highmode 1 b |
17 | vfit |
18 | vselmode 4 1 |
19 | vmoveto 250 250 |
20 | if {[vreadpixel 350 140 rgb name] != "BLACK"} { |
21 | puts "ERROR: wrong inital location" |
22 | } |
23 | vsetlocation b 0.5 0 0 |
24 | if {[vreadpixel 350 140 rgb name] != "CYAN1"} { |
25 | puts "ERROR: the transformation was not applied to highlight structure" |
26 | } |
27 | |
5747059b |
28 | checkview -screenshot -3d -path ${imagedir}/${test_image}.png |