Loading...
Searching...
No Matches
avnd_tools::Interpolator Struct Reference

Public Member Functions

 halp_meta (name, "Interpolator") halp_meta(c_name
 
avnd_interpolator halp_meta (author, "ossia team") halp_meta(category
 
avnd_interpolator Control Data processing halp_meta (description, "Linear interpolation of multiple values using weight coefficients") halp_meta(uuid
 
template<typename T >
interpolate_scalar (const std::vector< T > &values, const std::vector< float > &weights) const
 
template<typename VecType >
VecType interpolate_vector (const std::vector< VecType > &values, const std::vector< float > &weights) const
 
std::vector< ossia::value > interpolate_value_vector (const std::vector< std::vector< ossia::value > > &value_vectors, const std::vector< float > &weights) const
 
ossia::value interpolate_values (const std::vector< ossia::value > &values, const std::vector< float > &weights) const
 
void operator() ()
 

Public Attributes

struct { 
 
   halp::val_port<"Weights", std::vector< float > >   weights 
 
      controller 
 
   halp::dynamic_port< halp::val_port<"Value {}", ossia::value > >   values 
 
inputs 
 
struct { 
 
   halp::val_port<"Output", ossia::value >   output 
 
outputs 
 

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