visageSDK
Instance Methods | List of all members
CustomGLView Class Reference

Controls OpenGL view used for tracking output. More...

#import <CustomGLView.h>

Inherits UIView, and UIView.

Instance Methods

(void) - setOpenGLContext
 Method for setting the OpenGL context. More...
 
(void) - swapOpenGLBuffers
 Method for swapping OpenGL buffers. More...
 
(void) - setOpenGLContext
 Method for setting the OpenGL context. More...
 
(void) - swapOpenGLBuffers
 Method for swapping OpenGL buffers. More...
 

Detailed Description

Controls OpenGL view used for tracking output.

It is used by the TrackerWrapper to display video frame and wireframe of the 3D face model acquired from the tracker using OpenGL calls.

Definition at line 19 of file VisageTrackerDemo/Classes/CustomGLView.h.

Method Documentation

◆ setOpenGLContext() [1/2]

- (void) setOpenGLContext

Method for setting the OpenGL context.

This method binds the framebuffer and clears the buffer. It is called before calling any OpenGL drawing functions.

Definition at line 127 of file VisageTrackerDemo/Classes/CustomGLView.m.

Referenced by TrackerWrapper::displayTrackingResults:Frame:, and TrackerWrapper::displayTrackingResults:Frame:Face:.

◆ setOpenGLContext() [2/2]

- (void) setOpenGLContext

Method for setting the OpenGL context.

This method binds the framebuffer and clears the buffer. It is called before calling any OpenGL drawing functions.

◆ swapOpenGLBuffers() [1/2]

- (void) swapOpenGLBuffers

Method for swapping OpenGL buffers.

Displays the frambuffer. It is called after OpenGL drawing functions to show the results.

◆ swapOpenGLBuffers() [2/2]

- (void) swapOpenGLBuffers

Method for swapping OpenGL buffers.

Displays the frambuffer. It is called after OpenGL drawing functions to show the results.

Definition at line 137 of file VisageTrackerDemo/Classes/CustomGLView.m.

Referenced by TrackerWrapper::displayTrackingResults:Frame:, and TrackerWrapper::displayTrackingResults:Frame:Face:.


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