d7fa57a7 |
1 | puts "=============" |
2 | puts "0030906: Visualization, SelectMgr_ViewerSelector - Object clipping planes overrides View clipping plane for next objects" |
3 | puts "=============" |
4 | |
5 | pload MODELING VISUALIZATION |
6 | box b1 1 1 0 1 2 3 |
7 | box b2 3 0 0 1 2 3 |
8 | vclear |
9 | vinit View1 |
10 | vdisplay -dispMode 1 -highMode 1 b1 b2 |
11 | vfit |
12 | vzbufftrihedron |
13 | vpoint p0 0 0 0 |
14 | vclipplane c1 -equation 0 1 0 1 -setOverrideGlobal b1 |
15 | vclipplane c2 -equation 0 1 0 -1 -set |
16 | vmoveto 200 200 |
ba00aab7 |
17 | if { [vreadpixel 250 200 -rgb -name] != "DARKGOLDENROD" } { puts "Error: selection of clipped object" } |
18 | if { [vreadpixel 150 200 -rgb -name] != "CYAN2" } { puts "Error: object is not selected" } |
d7fa57a7 |
19 | |
20 | vdump ${imagedir}/${casename}.png |