mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-11 10:44:53 +03:00
Add one more pre-defined Z-layer Graphic3d_ZLayerId_BotOSD. Define new Transformation Persistence flags Graphic3d_TMF_2d and Graphic3d_TMF_2d_IsTopDown for displaying objects in screen coordinates. Anchor point defines angle of the screen to display the object in similar way as for Graphic3d_TMF_TriedronPers. Extend Draw Harness command vdisplay with new options: -overlay as alias for -toposd. -underlay and -botosd. -noselect to prevent automatic selection activation. -dispMode and -highMode to define displaying and highlighting modes. -2d, -2dtopdown and -3d to manage displaying in screen coordinates. -trsfPers and -trsfPersPos for Transformation Persistence options. Drop command vsettransmode, replaced by vdisplay. Correction of test-case bugs vis bug641
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 30 20 20
|
|
vdisplay b1
|
|
vdisplay b2 -trsfPers zoom -trsfPersPos 0 0 0
|
|
vfit
|
|
vdump $anImage1
|
|
|
|
vdisplay b2 -trsfPers zoom -trsfPersPos 1 1 1
|
|
vdump $anImage2
|