Log Message: |
Fixes RTbug #1972, 1971.
Import used objects/class from color.
(generate_singletons): We don't
need the numGroups parameter anymore because we are using
the new ramps with GetProperties().
(generate_uniform_distribution): Use new ramp method
GetProperties().
(generate_quantiles, GenQuantiles0): Use new ramp method
GetProperties().
(CustomRamp.SetNumGroups): Removed. The ramps now map
a value from 0 to 1 to class properties so the number
of groups is not needed ahead of time.
(CustomRamp.next): Removed. CustomRamp does not support
interation anymore.
(CustomRamp.GetProperties): Returns a ClassGroupProperties
object based on the index value from 0 to 1 that is
passed to it.
(GreyRamp, RedRamp, GreenRamp, BlueRamp, GreenToRedRamp):
Made into instances of Monochromatic class instread of
deriving from it.
(HotToCold.SetNumGroups): Removed. See CustomRamp.
(HotToCold.next): Removed. See CustomRamp.
|