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