1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/v3d/manipulator/view_affinity
aba bbf3fcdecd 0030806: Visualization - AIS Manipulator highlighting is not affected by the view affinity
- AIS_Manipalator object view affinity is now applied to presentation for highlighting.
2019-06-25 19:44:07 +03:00

31 lines
635 B
Plaintext

puts "====================================="
puts "Display manipulator in one view only"
puts "====================================="
pload MODELING VISUALIZATION
vclear
vclose ALL
vinit View1
vinit View2
vaxo
box b 500 500 1 50 100 150
vdisplay b -dispMode 1
vfit
vactivate View1
vmanipulator m -attach b -view active
vfit
vmoveto 200 200
vdump $imagedir/${casename}_View1_1.png
vactivate View2
vdump $imagedir/${casename}_View2_1.png
vmanipulator m -detach
vmanipulator m -attach b -view View2
vmoveto 200 200
vdump $imagedir/${casename}_View2_2.png
vactivate View1
vdump $imagedir/${casename}_View1_2.png
vmanipulator m -detach