synfig-core
1.0.3
|
#include <valueoperations.h>
Static Public Member Functions | |
static types_namespace::TypeWeightedValueBase * | get_weighted_type_for (Type &type) |
static Type & | convert_to_weighted_type (Type &type) |
static Type & | get_type_from_weighted (Type &type) |
static bool | check_weighted_type (Type &type) |
static bool | check_type (Type &type) |
static bool | check_type (const ValueBase &value) |
static ValueBase | add (const ValueBase &value_a, const ValueBase &value_b, const ValueBase &default_value) |
static ValueBase | add (const ValueBase &value_a, const ValueBase &value_b) |
static ValueBase | multiply (const ValueBase &value, Real amplifier) |
template<typename ConstIterator , typename ConstWeightIterator > | |
static ValueBase | average_generic (ConstIterator begin, ConstIterator end, ConstWeightIterator weight_begin, ConstWeightIterator weight_end, const ValueBase &default_value=ValueBase()) |
template<typename ConstIterator > | |
static ValueBase | average_generic (ConstIterator begin, ConstIterator end, const ValueBase &default_value=ValueBase()) |
static ValueBase | average (const ValueBase &list, const ValueBase &weights, const ValueBase &default_value) |
static ValueBase | average (const ValueBase &list, const ValueBase &weights) |
static ValueBase | average (const ValueBase &list) |
static ValueBase | average_weighted (const ValueBase &weighted_list, const ValueBase &default_value) |
static ValueBase | average_weighted (const ValueBase &weighted_list) |
template<typename Iterator , typename ConstWeightIterator > | |
static void | set_average_value_generic (Iterator begin, Iterator end, ConstWeightIterator weight_begin, ConstWeightIterator weight_end, const ValueBase &value) |
template<typename Iterator > | |
static void | set_average_value_generic (Iterator begin, Iterator end, const ValueBase &value) |
static void | set_average_value (ValueBase &list, const ValueBase &weights, const ValueBase &value) |
static void | set_average_value (ValueBase &list, const ValueBase &value) |
static void | set_average_value_weighted (ValueBase &weighted_list, const ValueBase &value) |
|
static |
Referenced by check_type(), and synfig::ValueNode_WeightedAverage::create().
References synfig::type_nil.
References synfig::type_nil.
|
static |
|
inlinestatic |
References get_weighted_type_for().
Referenced by average_generic(), and set_average_value_generic().
|
inlinestatic |
References check_type(), and synfig::ValueBase::get_type().
Referenced by check_type().
|
inlinestatic |
References synfig::ValueBase::get(), synfig::ValueBase::get_type(), synfig::type_bline_point, synfig::type_matrix, synfig::type_real, synfig::type_segment, synfig::type_transformation, synfig::type_vector, and synfig::type_width_point.
Referenced by average_generic(), and set_average_value_generic().
|
inlinestatic |
References synfig::ValueBase::get(), synfig::ValueBase::get_type(), synfig::Segment::p1, synfig::BLinePoint::set_vertex(), synfig::WidthPoint::set_width(), synfig::type_bline_point, synfig::type_matrix, synfig::type_real, synfig::type_segment, synfig::type_transformation, synfig::type_vector, and synfig::type_width_point.
Referenced by average_generic(), and set_average_value_generic().
|
inlinestatic |
References add(), check_type(), synfig::ValueBase::get_type(), synfig::Type::get_type(), multiply(), and synfig::type_nil.
Referenced by average(), and set_average_value_generic().
|
inlinestatic |
References average_generic().
Referenced by average_generic().
|
inlinestatic |
References average_generic(), synfig::ValueBase::get_list(), synfig::ValueBase::get_type(), synfig::type_list, and synfig::type_real.
Referenced by synfig::ValueNode_Average::operator()().
|
inlinestatic |
References average_weighted().
Referenced by average_weighted().
|
inlinestatic |
References add(), average_generic(), check_type(), synfig::Type::get_type(), and multiply().
Referenced by set_average_value().
|
inlinestatic |
References set_average_value_generic().
Referenced by set_average_value_generic().
|
inlinestatic |
References set_average_value().
Referenced by set_average_value().