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
 
template<typename T , std::size_t N>
static std::array< float, N > from01 (const T &slider, std::array< double, N > val) noexcept
 

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