Vuo  0.5.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Instance Methods | Protected Attributes | Properties | List of all members
VuoWindowOpenGLView Class Reference

Description

Helper for VuoWindowOpenGLInternal.

Instance Methods

(void) - enableTriggersWithMovedMouseTo:scrolledMouse:usedMouseButton:
 Sets up the view to call trigger functions.
 
(void) - disableTriggers
 Stops the view from calling trigger functions.
 

Protected Attributes

void(* resizeCallback )(void *, unsigned int width, unsigned int height)
 Updates the OpenGL context when the view is resized.
 
void(* drawCallback )(void *)
 Draws onto the OpenGL context.
 
void * drawContext
 Argument to pass to callbacks (e.g. node instance data).
 
void(* movedMouseTo )(VuoPoint2d)
 Trigger function, fired when the mouse moves.
 
void(* scrolledMouse )(VuoPoint2d)
 Trigger function, fired when the mouse is scrolled.
 
void(* usedMouseButton )(VuoMouseButtonAction)
 Trigger function, fired when a mouse button is used.
 
dispatch_queue_t clickQueue
 Queue for processing mouse button clicks.
 
int pendingClickCount
 The number of clicks elapsed so far.
 

Properties

VuoWindowOpenGLInternalglWindow
 The parent window; allows the view to access it while full-screen.
 

Method Documentation

- (void) disableTriggers

Stops the view from calling trigger functions.

- (void) enableTriggersWithMovedMouseTo: (VuoPoint2d movedMouseTo
scrolledMouse: (VuoPoint2d scrolledMouse
usedMouseButton: (VuoMouseButtonAction usedMouseButton 

Sets up the view to call trigger functions.

Member Data Documentation

- (dispatch_queue_t) clickQueue
protected

Queue for processing mouse button clicks.

- (void(* drawCallback)(void *))
protected

Draws onto the OpenGL context.

- (void*) drawContext
protected

Argument to pass to callbacks (e.g. node instance data).

- (void(* movedMouseTo)(VuoPoint2d))
protected

Trigger function, fired when the mouse moves.

- (int) pendingClickCount
protected

The number of clicks elapsed so far.

- (void(* resizeCallback)(void *, unsigned int width, unsigned int height))
protected

Updates the OpenGL context when the view is resized.

- (void(* scrolledMouse)(VuoPoint2d))
protected

Trigger function, fired when the mouse is scrolled.

- (void(* usedMouseButton)(VuoMouseButtonAction))
protected

Trigger function, fired when a mouse button is used.

Property Documentation

- (VuoWindowOpenGLInternal*) glWindow
readwriteatomicretain

The parent window; allows the view to access it while full-screen.


The documentation for this class was generated from the following files: