1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/v3d/ivtk/erase
kgv 12e6d49993 0031713: Draw Harness, IVtkDraw - add commands ivtksetcolor, ivtkaxo, ivtkclose, ivtksettransparency
Added missing NULL checks before accessing GetInteractor().
Errors are now reported using Message::SendFail().
Not found actor names are now reported as syntax error instead of silently skipping them.

ivtkinit now accepts aguments -srgb and -msaa for overriding defaults.
Default MSAA settings have been changed from 8 to 0 to match vinit behavior.
Added command ivtkclose closing a Vtk view.

Added commands ivtkaxo, ivtkfront, ivtkback, ivtkleft, ivtkright,
ivtktop and ivtkbottom assigning view projection similar to sonamed commands in ViewerTest.

Added commands ivtksetcolor and ivtksettransparency assigning
color properties to shaded presentation.
2020-08-14 13:30:05 +03:00

18 lines
336 B
Plaintext

puts "============"
puts "erase: Tests erasing of shapes in the IVtk view"
puts "============"
puts ""
box b1 1 1 1
box b2 3 3 3 1 1 1
ivtkinit
ivtkdisplay b1 b2
ivtkdump $imagedir/${casename}_before.png
ivtkerase b1
ivtkdump $imagedir/${casename}_oneErased.png
ivtkdisplay b1
ivtkerase
ivtkdump $imagedir/${casename}_allErased.png