mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
1) Zoom persistence mode now fixes object in pixel coordinates and is independent on view size 2) Used gp_GTrsf instead of gp_Trsf SelectMgr_ViewerSelector to store Graphic3d_Mat4d 3) Zoom persisted objects changed behavior (become bigger) therefore test cases were updated according to new state. 4) Corrected scale for rectangular frustum Updated test for manipulator
21 lines
584 B
Plaintext
21 lines
584 B
Plaintext
puts "============"
|
|
puts "OCC25867"
|
|
puts "============"
|
|
puts ""
|
|
#################################################################################
|
|
puts "Visualization, TKOpenGl - fix misprint in transformation persistence math"
|
|
#################################################################################
|
|
|
|
set anImage1 $imagedir/${casename}_1.png
|
|
set anImage2 $imagedir/${casename}_2.png
|
|
vinit
|
|
box b1 -1 -1 -1 3 3 3
|
|
box b2 4 4 4 15 10 10
|
|
vdisplay b1
|
|
vdisplay b2 -trsfPers zoom -trsfPersPos 0 0 0
|
|
vfit
|
|
vdump $anImage1
|
|
|
|
vdisplay b2 -trsfPers zoom -trsfPersPos 1 1 1
|
|
vdump $anImage2
|