ColorInterpolationManager

class ColorInterpolationManager

Bases: ReferenceCount

Inheritance diagram

Inheritance diagram of ColorInterpolationManager

ColorInterpolationManager(void)
ColorInterpolationManager(LColor const &c)
ColorInterpolationManager(ColorInterpolationManager const &copy)
int add_constant(PN_stdfloat const time_begin = 0.0, PN_stdfloat const time_end = 1.0, LColor const &color = LColor(1.0, 1.0, 1.0, 1.0), bool const is_modulated = true)
int add_linear(PN_stdfloat const time_begin = 0.0, PN_stdfloat const time_end = 1.0, LColor const &color_a = LColor(1.0, 0.0, 0.0, 1.0), LColor const &color_b = LColor(0.0, 1.0, 0.0, 1.0), bool const is_modulated = true)
int add_sinusoid(PN_stdfloat const time_begin = 0.0, PN_stdfloat const time_end = 1.0, LColor const &color_a = LColor(1.0, 0.0, 0.0, 1.0), LColor const &color_b = LColor(0.0, 1.0, 0.0, 1.0), PN_stdfloat const period = 1.0, bool const is_modulated = true)
int add_stepwave(PN_stdfloat const time_begin = 0.0, PN_stdfloat const time_end = 1.0, LColor const &color_a = LColor(1.0, 0.0, 0.0, 1.0), LColor const &color_b = LColor(0.0, 1.0, 0.0, 1.0), PN_stdfloat const width_a = 0.5, PN_stdfloat const width_b = 0.5, bool const is_modulated = true)
void clear_segment(int const seg_id)
void clear_to_initial(void)
ColorInterpolationSegment *get_segment(int const seg_id)
std::string get_segment_id_list(void)
void set_default_color(LColor const &c)