![]() |
libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
|
#include <moParam.h>
Public Member Functions | |
| moParamInterpolation () | |
| moParamInterpolation (const moParamInterpolation &src) | |
| virtual | ~moParamInterpolation () |
| moParamInterpolation & | operator= (const moParamInterpolation &src) |
| void | StartInterpolation (const moData &p_data_in, const moData &p_data_out) |
| void | StartInterpolation (const moValue &p_value_in, const moValue &p_value_out) |
| void | StopInterpolation () |
| const moTimer & | GetTimer () const |
| bool | IsOn () const |
| void | Activate () |
| void | SetInterpolationFunction (const moText &p_interpol_fun) |
| void | SetInterpolation (const moText &p_interpol_fun, const moText &p_fun_duration=moText(1000), const moText &p_fun_expression=moText()) |
| void | SetInterpolation (moParamInterpolationFunction p_interpol_fun, const moText &p_fun_duration=moText("1000"), const moText &p_fun_expression=moText("")) |
| void | SetDuration (MOlong p_fun_duration) |
| MOlong | GetDuration () |
| moText | GetFunctionToText () |
| moData * | InterpolateData (moData &pParamData) |
| moValue * | InterpolateValue (moValue &pParamValue) |
| const moText & | ToJSON () |
| double | bezier_x (double t, double Ax, double Bx, double Cx) |
| double | bezier_y (double t, double Ay, double By, double Cy) |
| double | bezier_x_der (double t, double Ax, double Bx, double Cx) |
| double | find_x_for (double t, double Ax, double Bx, double Cx) |
| double | cubic_bezier (double t, double p1, double p2, double p3, double p4) |
| moParamInterpolation::moParamInterpolation | ( | ) |
Definition at line 686 of file moParam.cpp.
| moParamInterpolation::moParamInterpolation | ( | const moParamInterpolation & | src | ) |
Definition at line 691 of file moParam.cpp.
|
virtual |
Definition at line 695 of file moParam.cpp.
| void moParamInterpolation::Activate | ( | ) |
Definition at line 879 of file moParam.cpp.
| double moParamInterpolation::bezier_x | ( | double | t, |
| double | Ax, | ||
| double | Bx, | ||
| double | Cx | ||
| ) |
Definition at line 899 of file moParam.cpp.
| double moParamInterpolation::bezier_x_der | ( | double | t, |
| double | Ax, | ||
| double | Bx, | ||
| double | Cx | ||
| ) |
Definition at line 907 of file moParam.cpp.
| double moParamInterpolation::bezier_y | ( | double | t, |
| double | Ay, | ||
| double | By, | ||
| double | Cy | ||
| ) |
Definition at line 903 of file moParam.cpp.
| double moParamInterpolation::cubic_bezier | ( | double | t, |
| double | p1, | ||
| double | p2, | ||
| double | p3, | ||
| double | p4 | ||
| ) |
Definition at line 927 of file moParam.cpp.
| double moParamInterpolation::find_x_for | ( | double | t, |
| double | Ax, | ||
| double | Bx, | ||
| double | Cx | ||
| ) |
Definition at line 911 of file moParam.cpp.
| MOlong moParamInterpolation::GetDuration | ( | ) |
Definition at line 739 of file moParam.cpp.
| moText moParamInterpolation::GetFunctionToText | ( | ) |
Definition at line 799 of file moParam.cpp.
| const moTimer & moParamInterpolation::GetTimer | ( | ) | const |
Definition at line 885 of file moParam.cpp.
cout << "moParamInterpolation::InterpolateData > datain or out UNDEFINED : resetting " << endl;
cout << "moParamInterpolation::InterpolateData > StartInterpolation: " << m_DataIn.ToText() << " --> TO --> m_DataOut: " << m_DataOut.ToText() << endl;
Definition at line 941 of file moParam.cpp.
Definition at line 1013 of file moParam.cpp.
| bool moParamInterpolation::IsOn | ( | ) | const |
Definition at line 874 of file moParam.cpp.
| moParamInterpolation & moParamInterpolation::operator= | ( | const moParamInterpolation & | src | ) |
Definition at line 700 of file moParam.cpp.
| void moParamInterpolation::SetDuration | ( | MOlong | p_fun_duration | ) |
Definition at line 734 of file moParam.cpp.
| void moParamInterpolation::SetInterpolation | ( | const moText & | p_interpol_fun, |
| const moText & | p_fun_duration = moText(1000), |
||
| const moText & | p_fun_expression = moText() |
||
| ) |
Definition at line 755 of file moParam.cpp.
| void moParamInterpolation::SetInterpolation | ( | moParamInterpolationFunction | p_interpol_fun, |
| const moText & | p_fun_duration = moText("1000"), |
||
| const moText & | p_fun_expression = moText("") |
||
| ) |
Definition at line 849 of file moParam.cpp.
| void moParamInterpolation::SetInterpolationFunction | ( | const moText & | p_interpol_fun | ) |
Definition at line 749 of file moParam.cpp.
| void moParamInterpolation::StartInterpolation | ( | const moData & | p_data_in, |
| const moData & | p_data_out | ||
| ) |
Definition at line 714 of file moParam.cpp.
| void moParamInterpolation::StartInterpolation | ( | const moValue & | p_value_in, |
| const moValue & | p_value_out | ||
| ) |
m_ValueOut.Eval();
Definition at line 724 of file moParam.cpp.
| void moParamInterpolation::StopInterpolation | ( | ) |
Definition at line 744 of file moParam.cpp.