GazeTracker
Public Member Functions | List of all members
GazeRenderer Class Reference

Simple OpenGL graphics renderer. More...

#include <GazeRenderer.h>

Public Member Functions

void Redraw (ScreenSpaceGazeData *gazeData, FaceData *data, VsImage *image, int trackingStatus)
 Method called to redraw the gaze tracking and face tracking results in display window. More...
 

Detailed Description

Simple OpenGL graphics renderer.

Contains methods to draw screen space gaze postion in calibration or estimation phase, as well as video stream from camera and tracking results.

Definition at line 10 of file GazeRenderer.h.

Member Function Documentation

void GazeRenderer::Redraw ( ScreenSpaceGazeData *  gazeData,
FaceData *  data,
VsImage *  image,
int  trackingStatus 
)

Method called to redraw the gaze tracking and face tracking results in display window.

In calibration phase it draws the latest calibration point, video frame from the camera and the latest tracking results.

In estimation phase it draws the latest estimated screen space gaze position, video frame from the camera and the latest tracking results.

Additionally, it displays instruction messages. Drawing is done from the main application thread.


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