Vuo  0.4.9
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
VuoSceneObject.c File Reference

Description

VuoSceneObject implementation.

Functions

VuoSceneObject VuoSceneObject_makeEmpty (void)
 Creates a new, empty scene object.
 
VuoSceneObject VuoSceneObject_make (VuoList_VuoVertices verticesList, VuoShader shader, VuoTransform transform, VuoList_VuoSceneObject childObjects)
 Creates a scene object.
 
VuoSceneObject VuoSceneObject_valueFromJson (json_object *js)
 Decodes the JSON object js to create a new value.
 
json_object * VuoSceneObject_jsonFromValue (const VuoSceneObject value)
 Encodes value as a JSON object.
 
unsigned long VuoSceneObject_getVertexCount (const VuoSceneObject value)
 Returns the total number of vertices in the scene object (but not its descendants).
 
unsigned long VuoSceneObject_getElementCount (const VuoSceneObject value)
 Returns the total number of element in the scene object (but not its descendants).
 
void VuoSceneObject_getStatistics (const VuoSceneObject value, unsigned long *descendantCount, unsigned long *totalVertexCount, unsigned long *totalElementCount, unsigned long *totalTextureCount)
 Traverses the specified scenegraph and returns statistics about it.
 
char * VuoSceneObject_summaryFromValue (const VuoSceneObject value)
 Produces a brief human-readable summary of value.
 

Function Documentation

unsigned long VuoSceneObject_getElementCount ( const VuoSceneObject  value)

Returns the total number of element in the scene object (but not its descendants).

void VuoSceneObject_getStatistics ( const VuoSceneObject  value,
unsigned long *  descendantCount,
unsigned long *  totalVertexCount,
unsigned long *  totalElementCount,
unsigned long *  totalTextureCount 
)

Traverses the specified scenegraph and returns statistics about it.

unsigned long VuoSceneObject_getVertexCount ( const VuoSceneObject  value)

Returns the total number of vertices in the scene object (but not its descendants).