Vuo
2.0.0
|
An enum defining different types of curves.
Enumerations | |
enum | VuoCurve { VuoCurve_Linear, VuoCurve_Quadratic, VuoCurve_Cubic, VuoCurve_Circular, VuoCurve_Exponential } |
An enum defining different types of curves. More... | |
Functions | |
VuoCurve | VuoCurve_makeFromJson (json_object *js) |
json_object * | VuoCurve_getJson (const VuoCurve value) |
char * | VuoCurve_getSummary (const VuoCurve value) |
VuoList_VuoCurve | VuoCurve_getAllowedValues (void) |
Returns a list of values that instances of this type can have. More... | |
VuoReal | VuoReal_curve (VuoReal time, VuoReal startPosition, VuoReal endPosition, VuoReal duration, VuoCurve curve, VuoCurveEasing easing, VuoLoopType loop) |
Returns an interpolated value between startPosition and endPosition . More... | |
VuoPoint2d | VuoPoint2d_curve (VuoReal time, VuoPoint2d startPosition, VuoPoint2d endPosition, VuoReal duration, VuoCurve curve, VuoCurveEasing easing, VuoLoopType loop) |
Returns an interpolated value between startPosition and endPosition . More... | |
VuoPoint3d | VuoPoint3d_curve (VuoReal time, VuoPoint3d startPosition, VuoPoint3d endPosition, VuoReal duration, VuoCurve curve, VuoCurveEasing easing, VuoLoopType loop) |
Returns an interpolated value between startPosition and endPosition . More... | |
VuoCurve | VuoCurve_makeFromString (const char *str) |
Automatically generated function. More... | |
char * | VuoCurve_getString (const VuoCurve value) |
Automatically generated function. More... | |
void | VuoCurve_retain (VuoCurve value) |
Automatically generated function. More... | |
void | VuoCurve_release (VuoCurve value) |
Automatically generated function. More... | |
enum VuoCurve |
An enum defining different types of curves.
Definition at line 34 of file VuoCurve.h.
VuoList_VuoCurve VuoCurve_getAllowedValues | ( | void | ) |
Returns a list of values that instances of this type can have.
Definition at line 77 of file VuoCurve.c.
struct json_object * VuoCurve_getJson | ( | const VuoCurve | value | ) |
Encodes value
as a JSON object.
Definition at line 58 of file VuoCurve.c.
char* VuoCurve_getString | ( | const VuoCurve | value | ) |
Automatically generated function.
char * VuoCurve_getSummary | ( | const VuoCurve | value | ) |
Same as VuoCurve_getString
()
Definition at line 92 of file VuoCurve.c.
VuoCurve VuoCurve_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
, expected to contain a string, to create a new VuoCurve
.
Definition at line 36 of file VuoCurve.c.
VuoCurve VuoCurve_makeFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoCurve_release | ( | VuoCurve | value | ) |
Automatically generated function.
void VuoCurve_retain | ( | VuoCurve | value | ) |
Automatically generated function.
VuoPoint2d VuoPoint2d_curve | ( | VuoReal | time, |
VuoPoint2d | startPosition, | ||
VuoPoint2d | endPosition, | ||
VuoReal | duration, | ||
VuoCurve | curve, | ||
VuoCurveEasing | easing, | ||
VuoLoopType | loop | ||
) |
Returns an interpolated value between startPosition
and endPosition
.
Definition at line 182 of file VuoCurve.c.
VuoPoint3d VuoPoint3d_curve | ( | VuoReal | time, |
VuoPoint3d | startPosition, | ||
VuoPoint3d | endPosition, | ||
VuoReal | duration, | ||
VuoCurve | curve, | ||
VuoCurveEasing | easing, | ||
VuoLoopType | loop | ||
) |
Returns an interpolated value between startPosition
and endPosition
.
Definition at line 193 of file VuoCurve.c.
VuoReal VuoReal_curve | ( | VuoReal | time, |
VuoReal | startPosition, | ||
VuoReal | endPosition, | ||
VuoReal | duration, | ||
VuoCurve | curve, | ||
VuoCurveEasing | easing, | ||
VuoLoopType | loop | ||
) |
Returns an interpolated value between startPosition
and endPosition
.
Definition at line 111 of file VuoCurve.c.