Vuo
0.4.2
|
VuoVertices implementation.
Functions | |
VuoVertices | VuoVertices_getQuad (void) |
Returns a quad with dimensions 1x1, centered at the origin. | |
VuoVertices_ElementAssemblyMethod | VuoVertices_elementAssemblyMethodFromCString (const char *elementAssemblyMethodString) |
Returns the VuoVertices_ElementAssemblyMethod corresponding with the string elementAssemblyMethodString . | |
const char * | VuoVertices_cStringForElementAssemblyMethod (VuoVertices_ElementAssemblyMethod elementAssemblyMethod) |
Returns a string constant representing elementAssemblyMethod . | |
VuoPoint4d * | VuoVertices_verticesWithJsonArray (json_object *o) |
Helper method for VuoVertices_valueFromString . | |
VuoVertices | VuoVertices_valueFromString (const char *initializer) |
Parses initializer , a mesh represented as a JSON C string, and returns a VuoVertices structure. | |
json_object * | VuoVertices_jsonArrayWithVertices (VuoPoint4d *vertices, unsigned int vertexCount) |
Helper method for VuoVertices_stringFromValue . | |
char * | VuoVertices_stringFromValue (const VuoVertices value) |
Returns a JSON string representing the specified mesh, in the same format as typeInitWithValue . | |
char * | VuoVertices_summaryFromValue (const VuoVertices value) |
A brief summary of the contents of this mesh. | |
void | VuoVertices_retain (const VuoVertices v) |
Retains memory allocated for this mesh. | |
void | VuoVertices_release (const VuoVertices v) |
Releases memory allocated for this mesh. | |
json_object* VuoVertices_jsonArrayWithVertices | ( | VuoPoint4d * | vertices, |
unsigned int | vertexCount | ||
) |
Helper method for VuoVertices_stringFromValue
.
Turns a C array of VuoPoint4ds
into a json_object
array.
VuoPoint4d* VuoVertices_verticesWithJsonArray | ( | json_object * | o | ) |
Helper method for VuoVertices_valueFromString
.
Turns a json_object
array into a C array of VuoPoint4ds
.