b586500b |
1 | puts "============" |
2 | puts "CR26209" |
3 | puts "============" |
4 | puts "" |
5 | |
6 | ########################################################################################## |
7 | puts "Visualization - provide a method to fit view to the specific bounding box" |
8 | ########################################################################################## |
9 | |
10 | pload VISUALIZATION MODELING |
11 | |
12 | box b 1 1 1 |
13 | vinit View1 |
14 | vdisplay b |
15 | vfit |
16 | vselmode b 2 1 |
17 | vselmode b 1 1 |
18 | |
19 | vselect 330 334 |
20 | vfit -selected |
21 | checkcolor 330 334 0 0 0 |
22 | checkcolor 330 131 0.8 0.8 0.8 |
23 | |
24 | vselect 0 0 |
25 | vfit |
26 | |
27 | vselect 29 104 |
e3d4b879 |
28 | vselect 204 2 -xor |
b586500b |
29 | vfit -selected |
30 | checkcolor 29 104 0 0 0 |
31 | checkcolor 2 317 0.8 0.8 0.8 |
32 | |
33 | vdump ${imagedir}/${casename}.png |