0032208: Tests - refactor visualization tests to cover several graphic drivers
[occt.git] / tests / v3d / trihedron / bug25340
CommitLineData
54a16ee4 1puts "========"
ba00aab7 2puts "0025340: Visualization, AIS_InteractiveContext - properly apply selection filters at Neutral point"
54a16ee4 3puts "========"
4puts ""
54a16ee4 5
0d828ac8 6pload MODELING VISUALIZATION QAcommands
54a16ee4 7
ba00aab7 8vinit View1
54a16ee4 9
10box b 1 2 3
11vdisplay b
12vfit
13vtrihedron t
ba00aab7 14set color_1 [vreadpixel 87 25 -rgb -name]
54a16ee4 15
16OCC25340
17vselect 87 25
ba00aab7 18set color_2 [vreadpixel 87 25 -rgb -name]
54a16ee4 19
20if {$color_2 != $color_1} {
21 puts "ERROR: OCC25340 is reproduced"
22 puts " initial color of trihedron is: $color_1"
23 puts " final color of trihedron is: $color_2"
24}
25
ba00aab7 26if {$color_2 != "LIGHTSTEELBLUE4"} {
54a16ee4 27 puts "ERROR: OCC25340 is reproduced"
28 puts " additional investigation is needed"
ba00aab7 29 puts " expected color is: LIGHTSTEELBLUE4"
30 puts " current color is: $color_2"
54a16ee4 31}
32
0d828ac8 33vdump $imagedir/${casename}.png