Loading...
Searching...
No Matches
WidgetFactory::MappedNormalizer< Mapper > Struct Template Reference

Detailed Description

template<typename Mapper>
struct WidgetFactory::MappedNormalizer< Mapper >

A LinearNormalizer seen through an avendish mapper (halp::log_mapper, halp::pow_mapper...): the position on the widget is map() of the linear position of the value in its range.

Static Public Member Functions

static double to01 (double min, double range, double val) noexcept
 
static double from01 (double min, double range, double val) noexcept
 
template<typename T >
static double to01 (const T &slider, double val) noexcept
 
template<typename T >
static double from01 (const T &slider, double val) noexcept
 

The documentation for this struct was generated from the following file: