Files
OCCT/tests/bugs/vis/bug22819
isz 7a324550c8 0025785: Visualization - introduce AIS_ColorScale presentation for Color Scale
Color scale is implemented on AIS. Draw command vcolorscale now works with AIS_ColorScale.
In a qt sample VoxelDemo there was added a field AIS_ColorScale myColorsScale to control a color scale. Method displayColorScale and other methods were changed in order to work with this field.
2015-08-13 11:00:58 +03:00

20 lines
357 B
Plaintext
Executable File

puts "============"
puts "OCC22819"
puts "Redesign of OpenGl driver(Tests ColorScale)"
puts "============"
puts ""
set BugNumber OCC22819
plane p 100 100 100 0 0 1 1 0 0
psphere result p 30
vinit View1
vdisplay result
vsetmaterial result SILVER
vsettransparency result 0.6
vcolorscale cs -demo
vsetdispmode result 1
set square 11309.6
set only_screen 1