1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00
occt/tests/bugs/vis/bug26960
vpa 5396886c90 0026960: Visualization, TKOpenGl - update transformation of dynamically highlighted presentation
- added method UpdateHighlightTrsf for immediate update of highlight presentation's transformation;
- interfaces for immediate transformation update of corresponding presentations were added to entity owner classes;
- test case for issue #26960
2015-12-23 11:36:44 +03:00

29 lines
672 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"
}
set only_screen 1