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

This implementation is used to demonstrate the use of screen space gaze data returned by the tracker. More...

#include <Observer.h>

Public Member Functions

void Notify (FaceData &trackingData, int trackerStatus, VsImage *frame)
 This function is called once for every video frame. More...
 

Detailed Description

This implementation is used to demonstrate the use of screen space gaze data returned by the tracker.

It is used to store tracking data passed as a parameter after ViasgeSDK::VisageTracker::track() is called. The stored tracking data is used in the main application loop and passed to the GazeRenderer object to be displayed on the screen.

Definition at line 12 of file Observer.h.

Member Function Documentation

void Observer::Notify ( FaceData &  trackingData,
int  trackerStatus,
VsImage *  frame 
)

This function is called once for every video frame.

The method recieves the latest VisageSDK::FaceData object as a parameter and stores it in order to be available to main application loop.


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