10#ifndef FACETRACKERS_C_H
11#define FACETRACKERS_C_H
26# ifdef COMPILING_DLL_SimulatedRealityFaceTrackers
27# define SRAPI extern "C" __declspec(dllexport)
29# define SRAPI extern "C" __declspec(dllimport)
32# ifdef COMPILING_DLL_SimulatedRealityFaceTrackers
33# error Trying to compile SimulatedRealityFaceTrackers.dll using a non-C++ compiler! Use a C++ compiler instead!
35# define SRAPI __declspec(dllimport)
void * SRContext
Definition: admin_c.h:15
void * SR_headTracker
Definition: facetrackers_c.h:21
#define SRAPI
Definition: facetrackers_c.h:39
void * SR_eyePairListener
Definition: facetrackers_c.h:19
void * SR_eyeTracker
Definition: facetrackers_c.h:18
void * SR_headListener
Definition: facetrackers_c.h:22
SRAPI SR_eyeTracker createEyeTracker(SRContext context)
Creates a functional EyeTracker instance.
SRAPI SR_headListener createHeadListener(SR_headTracker headTracker, void(*acceptHeadCallback)(SR_head))
Create a new callback function to listen to a specific headtracker.
SRAPI SR_headTracker createHeadTracker(SRContext context)
Creates a functional Headtracker instance.
SRAPI SR_eyePairListener createEyePairListener(SR_eyeTracker eyeTracker, void(*acceptEyePairCallback)(SR_eyePair))
Create a new callback function to listen to a specific eyetracker.
SRAPI void deleteEyePairListener(SR_eyePairListener eyePairListener)
Cleans up underlying object instances used to facilitate eye position update callbacks.
SRAPI void deleteHeadListener(SR_headListener headListener)
Cleans up underlying object instances used to facilitate head position update callbacks.
C-compatible struct containing the position of two eyes.
Definition: eyepair.h:28
C-compatible struct containing the position of head.
Definition: head.h:43