mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
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.
18 lines
336 B
Plaintext
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
|