WidgetFactory::LinearNormalizer Struct Reference

Static Public Member Functions

static constexpr double to01 (double min, double range, double val) noexcept
 
static constexpr 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
 
template<typename T >
static ossia::vec2f to01 (const T &slider, ossia::vec2f val) noexcept
 
template<typename T >
static ossia::vec2f from01 (const T &slider, ossia::vec2f val) noexcept
 
template<typename T >
static ossia::vec3f to01 (const T &slider, ossia::vec3f val) noexcept
 
template<typename T >
static ossia::vec3f from01 (const T &slider, ossia::vec3f val) noexcept
 
template<typename T >
static ossia::vec4f to01 (const T &slider, ossia::vec4f val) noexcept
 
template<typename T >
static ossia::vec4f from01 (const T &slider, ossia::vec4f val) noexcept
 

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