Vuo  1.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Functions
VuoRenderedLayers

Description

A layer (or hierarchical structure of layers) and its dimensions in pixels.

Classes

struct  VuoRenderedLayers
 A layer (or hierarchical structure of layers) and its dimensions in pixels. More...
 

Typedefs

typedef struct VuoRenderedLayers VuoRenderedLayers
 A layer (or hierarchical structure of layers) and its dimensions in pixels.
 

Functions

VuoRenderedLayers VuoRenderedLayers_makeFromJson (json_object *js)
 
json_objectVuoRenderedLayers_getJson (const VuoRenderedLayers value)
 
char * VuoRenderedLayers_getSummary (const VuoRenderedLayers value)
 
VuoRenderedLayers VuoRenderedLayers_makeEmpty (void)
 Creates a VuoRenderedLayers with no root layer and zero size.
 
VuoRenderedLayers VuoRenderedLayers_make (VuoSceneObject rootSceneObject, unsigned long int pixelsWide, unsigned long int pixelsHigh, float backingScaleFactor)
 Creates a VuoRenderedLayers with the given rendering root layer, rendering dimensions, and no window.
 
VuoRenderedLayers VuoRenderedLayers_makeWithWindow (VuoSceneObject rootSceneObject, unsigned long int pixelsWide, unsigned long int pixelsHigh, float backingScaleFactor, VuoWindowReference window)
 Creates a VuoRenderedLayers with the given rendering root layer, rendering dimensions, and window.
 
bool VuoRenderedLayers_findLayer (VuoRenderedLayers renderedLayers, VuoText layerName, VuoList_VuoSceneObject ancestorObjects, VuoSceneObject *foundObject)
 Finds the layer with the given name, along with its ancestor layers.
 
void VuoRenderedLayers_getTransformedLayer (VuoRenderedLayers renderedLayers, VuoList_VuoSceneObject ancestorObjects, VuoSceneObject targetObject, VuoPoint2d *layerCenter, VuoPoint2d layerCorners[4])
 Outputs the center and corner points of the layer with the given name, as transformed in renderedLayers.
 
VuoRectangle VuoRenderedLayers_getBoundingBox (VuoPoint2d layerCorners[4])
 Returns the axis-aligned bounding box for the 4 points.
 
bool VuoRenderedLayers_isPointInQuad (VuoPoint2d corners[4], VuoPoint2d point)
 Returns true if the given point is within (or on the boundary) of the quad with the given corner points.
 
bool VuoRenderedLayers_isPointInLayer (VuoRenderedLayers renderedLayers, VuoText layerName, VuoPoint2d point)
 Returns true if the given point is within (or on the boundary) of the layer with the given name.
 
VuoRenderedLayers VuoRenderedLayers_makeFromString (const char *str)
 Automatically generated function.
 
char * VuoRenderedLayers_getString (const VuoRenderedLayers value)
 Automatically generated function.
 
void VuoRenderedLayers_retain (VuoRenderedLayers value)
 Automatically generated function.
 
void VuoRenderedLayers_release (VuoRenderedLayers value)
 Automatically generated function.
 

Class Documentation

struct VuoRenderedLayers
Class Members
float backingScaleFactor
unsigned long int pixelsHigh
unsigned long int pixelsWide
VuoSceneObject rootSceneObject
VuoWindowReference window

Typedef Documentation

A layer (or hierarchical structure of layers) and its dimensions in pixels.

Function Documentation

bool VuoRenderedLayers_findLayer ( VuoRenderedLayers  renderedLayers,
VuoText  layerName,
VuoList_VuoSceneObject  ancestorObjects,
VuoSceneObject foundObject 
)

Finds the layer with the given name, along with its ancestor layers.

VuoRectangle VuoRenderedLayers_getBoundingBox ( VuoPoint2d  layerCorners[4])

Returns the axis-aligned bounding box for the 4 points.

struct json_object * VuoRenderedLayers_getJson ( const VuoRenderedLayers  value)
read
char* VuoRenderedLayers_getString ( const VuoRenderedLayers  value)

Automatically generated function.

char * VuoRenderedLayers_getSummary ( const VuoRenderedLayers  value)
void VuoRenderedLayers_getTransformedLayer ( VuoRenderedLayers  renderedLayers,
VuoList_VuoSceneObject  ancestorObjects,
VuoSceneObject  targetObject,
VuoPoint2d layerCenter,
VuoPoint2d  layerCorners[4] 
)

Outputs the center and corner points of the layer with the given name, as transformed in renderedLayers.

Return true if the layer is found in renderedLayers.

bool VuoRenderedLayers_isPointInLayer ( VuoRenderedLayers  renderedLayers,
VuoText  layerName,
VuoPoint2d  point 
)

Returns true if the given point is within (or on the boundary) of the layer with the given name.

point should be in the same coordinate space as renderedLayers.

bool VuoRenderedLayers_isPointInQuad ( VuoPoint2d  corners[4],
VuoPoint2d  point 
)

Returns true if the given point is within (or on the boundary) of the quad with the given corner points.

VuoRenderedLayers VuoRenderedLayers_make ( VuoSceneObject  rootSceneObject,
unsigned long int  pixelsWide,
unsigned long int  pixelsHigh,
float  backingScaleFactor 
)

Creates a VuoRenderedLayers with the given rendering root layer, rendering dimensions, and no window.

VuoRenderedLayers VuoRenderedLayers_makeEmpty ( void  )

Creates a VuoRenderedLayers with no root layer and zero size.

VuoRenderedLayers VuoRenderedLayers_makeFromJson ( json_object js)
VuoRenderedLayers VuoRenderedLayers_makeFromString ( const char *  str)

Automatically generated function.

VuoRenderedLayers VuoRenderedLayers_makeWithWindow ( VuoSceneObject  rootSceneObject,
unsigned long int  pixelsWide,
unsigned long int  pixelsHigh,
float  backingScaleFactor,
VuoWindowReference  window 
)

Creates a VuoRenderedLayers with the given rendering root layer, rendering dimensions, and window.

void VuoRenderedLayers_release ( VuoRenderedLayers  value)

Automatically generated function.

void VuoRenderedLayers_retain ( VuoRenderedLayers  value)

Automatically generated function.