31 static void mapRange(
float &min,
float &max,
float thresh = -10);
38 static float map(
float value,
float thresh = -10);
44 static float unmap(
float value);
static void mapRange(float &min, float &max, float thresh=-10)
Map a linear range onto a logarithmic range.
static bool useLogScale(std::vector< float > values)
Estimate whether a set of values would be more properly shown using a logarithmic than a linear scale...
static float map(float value, float thresh=-10)
Map a value onto a logarithmic range.
static float unmap(float value)
Map a value from the logarithmic range back again.