1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/vis/bug28205_2
isk decdee7d3f 0028205: Visualization - add functionality for dumping results of detection algorithms into image
StdSelect_ViewerSelector3d::ToPixMap() - added new method for dumping
detection results into an image.
2016-12-22 12:46:49 +03:00

25 lines
716 B
Plaintext

puts "================================================================================================="
puts "0028205: Visualization - add functionality for dumping results of detection algorithms into image"
puts "Selection image from colors of selection modes."
puts "================================================================================================="
pload MODELING VISUALIZATION
vclear
vinit View1
box b0 0 0 0 1 1 1
box b1 2 2 2 1 1 1
box b2 4 4 4 1 1 1
box b3 6 6 6 1 1 1
vdisplay -dispMode 1 b0 b1 b2 b3
vfit
vselmode b0 1 1
vselmode b0 2 1
vselmode b1 4 1
vselmode b2 2 1
vselmode b3 3 1
vseldump $imagedir/${casename}_selmode.png -type selectionModeColor
vdump $imagedir/${casename}.png