1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-10 12:25:50 +03:00
occt/tests/bugs/vis/bug26960
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

29 lines
716 B
Plaintext

puts "========"
puts "OCC26960"
puts "========"
puts ""
##################################################################
puts "Visualization, TKOpenGl - update transformation of dynamically highlighted presentation"
##################################################################
pload VISUALIZATION MODELING
box b 1 2 3
vclear
vinit View1
vdisplay -dispmode 1 -highmode 1 b
vfit
vselmode 4 1
vmoveto 250 250
if {[vreadpixel 350 140 rgb name] != "BLACK"} {
puts "ERROR: wrong inital location"
}
vsetlocation b 0.5 0 0
if {[vreadpixel 350 140 rgb name] != "CYAN1"} {
puts "ERROR: the transformation was not applied to highlight structure"
}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png