occt: master 71215351

Author Committer Branch Timestamp Parent
isz bugmaster master 2015-02-19 09:53:55 master 696d81d0
Changeset 0025136: Visualization - fix multiple Aspect_ColorScale usage issues

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.
mod - src/Aspect/Aspect_ColorScale.cdl Diff File
mod - src/Aspect/Aspect_ColorScale.cxx Diff File
mod - src/V3d/V3d_ColorScale.cdl Diff File
mod - src/V3d/V3d_ColorScale.cxx Diff File
mod - src/V3d/V3d_LayerMgr.cxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File
mod - tests/3rdparty/fonts/A1 Diff File
mod - tests/bugs/vis/bug21091_1 Diff File
mod - tests/bugs/vis/bug22819 Diff File
mod - tests/bugs/vis/bug25027 Diff File
add - tests/bugs/vis/bug25136 Diff File