Vuo  0.5.7
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Enumerations | Functions
VuoVertices.h File Reference

Description

VuoVertices C type definition.

Classes

struct  VuoVertices
 A 3d mesh. More...
 

Enumerations

enum  VuoVertices_ElementAssemblyMethod {
  VuoVertices_IndividualTriangles, VuoVertices_TriangleStrip, VuoVertices_TriangleFan, VuoVertices_IndividualLines,
  VuoVertices_LineStrip, VuoVertices_Points
}
 The way in which an elements array should be interpreted during rasterization. More...
 

Functions

VuoVertices VuoVertices_alloc (unsigned int vertexCount, unsigned int elementCount)
 Allocates and registers the vertex (position, normal, ...) and element arrays.
 
VuoVertices VuoVertices_getQuad (void)
 Returns a quad with dimensions 1x1, on the XY plane, centered at the origin.
 
VuoVertices VuoVertices_getQuadWithoutNormals (void)
 Returns a quad with dimensions 1x1, on the XY plane, centered at the origin.
 
VuoVertices VuoVertices_getEquilateralTriangle (void)
 Returns an equilateral triangle with bottom edge length 1, pointing upward on the XY plane, centered at the origin.
 
VuoVertices VuoVertices_makeFrom2dPoints (VuoList_VuoPoint2d positions, VuoVertices_ElementAssemblyMethod elementAssemblyMethod)
 Returns a VuoVertices consisting of the given positions and element assembly method.
 
VuoVertices VuoVertices_makeFrom3dPoints (VuoList_VuoPoint3d positions, VuoVertices_ElementAssemblyMethod elementAssemblyMethod)
 Returns a VuoVertices consisting of the given positions and element assembly method.
 
VuoVertices VuoVertices_valueFromJson (json_object *js)
 Decodes the JSON object js to create a new value.
 
json_object * VuoVertices_jsonFromValue (const VuoVertices value)
 Encodes value as a JSON object.
 
char * VuoVertices_summaryFromValue (const VuoVertices value)
 A brief summary of the contents of this mesh.
 
VuoVertices VuoVertices_valueFromString (const char *str)
 Automatically generated function.
 
char * VuoVertices_stringFromValue (const VuoVertices value)
 Automatically generated function.
 
void VuoVertices_retain (const VuoVertices v)
 Automatically generated function.
 
void VuoVertices_release (const VuoVertices v)
 Automatically generated function.