]> OCCT Git - occt.git/commit
0022632: Visualization - provide logarithmic scale for Aspect_ColorScale class
authorisz <isz@opencascade.com>
Thu, 8 Oct 2015 09:07:59 +0000 (12:07 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 15 Oct 2015 09:15:06 +0000 (12:15 +0300)
commit24a886979e37e1d77eddd101980e392b84015421
treeac40309fe2a82cdc66d2568be1167b6d44cfc5e4
parent46767247422ebbf43533efaae2df5f62c4138e11
0022632: Visualization - provide logarithmic scale for Aspect_ColorScale class

Option "-logarithmic" is provided for draw command vcolorscale.
It changes color scale's labels to logarithmic values due to the min and max range and the number of intervals of the color scale.
New test case added. Fixed error when command vcolorscale was called without arguments.
src/AIS/AIS_ColorScale.cxx
src/AIS/AIS_ColorScale.hxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/bugs/vis/bug22632 [new file with mode: 0644]