mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-06 10:36:12 +03:00
Update documentat if the class. SetColor() and SetLabel() now work with 0-based index. SetColor() now checks length of myColors. Remove methods GetCurrentColor() and GetCurrentLabel(). Methods GetColor() and GetLabel() now can be used to get user-specified and default colors / labels. Round down IntervNumber in FindColor(). DrawScale() - show labels even for one interval. Redesign Draw Harness command vcolorscale, provide new options. Update test cases which use vcolorscale command.
20 lines
354 B
Plaintext
Executable File
20 lines
354 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 -demo
|
|
vsetdispmode result 1
|
|
|
|
set square 11309.6
|
|
set only_screen 1
|