Vuo
0.4.2
|
A 3D transformation (scale, rotation, translation).
Classes | |
struct | VuoTransform |
A 3D transformation (scale, rotation, translation). More... | |
Functions | |
VuoTransform | VuoTransform_valueFromString (const char *initializer) |
Parses the C string initializer to create a new value. | |
char * | VuoTransform_stringFromValue (const VuoTransform value) |
Serializes value as a C string. | |
char * | VuoTransform_summaryFromValue (const VuoTransform value) |
Produces a brief human-readable summary of value . | |
void | VuoTransform_getMatrix (const VuoTransform value, float *matrix) |
Converts value into a column-major matrix of 16 values, composed as a rotation followed by a scale followed by a translation. | |
VuoTransform | VuoTransform_makeEuler (VuoPoint3d translation, VuoPoint3d rotation, VuoPoint3d scale) |
Creates a VuoTransform from translation, rotation (Euler angles), and scale values. | |
struct VuoTransform |
Class Members | ||
---|---|---|
float | rotation[9] | Column-major 3x3 matrix. |
VuoPoint3d | scale | |
VuoPoint3d | translation |
char * VuoTransform_stringFromValue | ( | const VuoTransform | value | ) |
Serializes value
as a C string.
char * VuoTransform_summaryFromValue | ( | const VuoTransform | value | ) |
Produces a brief human-readable summary of value
.
VuoTransform VuoTransform_valueFromString | ( | const char * | initializer | ) |
Parses the C string initializer
to create a new value.