SRSDK  0.10.39
Loading...
Searching...
No Matches
core.h File Reference
#include "leia/core/api.h"
#include "leia/core/types.h"
#include "leia/core/event.h"
#include "leia/core/faceTracking.h"
#include "leia/common/log.h"
#include "leia/common/jniTypes.h"
#include "leia/common/types.h"
#include "leia/core/deviceConfig.h"
#include "leia/core/eventCenter.h"
#include "leia/headTracking/common/types.h"
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  leia_core
 The main entry point into CNSDK C API. More...
 
struct  leia_core_init_configuration
 leia_core's initial configuration. More...
 

Macros

#define LEIA_CORE_HINT_RESET_DISPLAY_CONFIG   "resetDisplayConfig"
 
#define leia_core_set_user_ipd_VERSION   (1)
 
#define leia_core_burn_display_config_VERSION   (4)
 
#define leia_core_burn_camera_extrinsics_VERSION   (1)
 
#define leia_core_set_tracking_camera_rotation_VERSION   (1)
 
#define leia_core_get_tracking_camera_rotation_VERSION   (1)
 
#define leia_core_get_non_predicted_eyes_VERSION   (1)
 
#define leia_core_get_lookaround_eyes_VERSION   (1)
 
#define leia_core_get_face_detector_version_VERSION   (1)
 
#define leia_core_set_face_tracking_profiling_VERSION   (1)
 
#define leia_core_get_face_tracking_profiling_VERSION   (1)
 

Typedefs

typedef leia_bool(* leia_core_burn_display_config) (struct leia_core *, float slant, float pitch, float phc, float dOverN, float n, float actCoef, float thetaX, float thetaY, float thetaZ)
 
typedef leia_bool(* leia_core_burn_camera_extrinsics) (struct leia_core *, int cameraId, float thetaXFpc, float thetaYFpc, float thetaZFpc)
 
typedef void(* leia_core_set_tracking_camera_rotation) (struct leia_core *, float thetaX, float thetaY, float thetaZ)
 
typedef leia_bool(* leia_core_get_tracking_camera_rotation) (struct leia_core *, LEIA_FLOAT_SLICE(3) position)
 
typedef leia_bool(* leia_core_get_non_predicted_eyes) (struct leia_core *, LEIA_FLOAT_SLICE(3) leftEyePosition, LEIA_FLOAT_SLICE(3) rightEyePosition)
 Get the non-predicted eyes' position.
 
typedef leia_bool(* leia_core_get_lookaround_eyes) (struct leia_core *, LEIA_FLOAT_SLICE(3) leftPosition, LEIA_FLOAT_SLICE(3) rightPosition)
 Get the lookaround eyes' position.
 

Enumerations

enum  leia_core_android_handle_type { LEIA_CORE_ANDROID_HANDLE_APP = 0 , LEIA_CORE_ANDROID_HANDLE_ACTIVITY = 1 , LEIA_CORE_ANDROID_HANDLE_CONTEXT = 2 , _LEIA_CORE_ANDROID_HANDLE_MAKE_ENUM_32BIT = 0x7FFFFFFF }
 

Functions

LEIASDK_API leia_bool leia_core_get_legal_orientations (struct leia_core_library *, struct leia_legal_orientations *)
 
LEIASDK_API void leia_core_limit_orientations (struct leia_core_library *, jobject activity, struct leia_legal_orientations const *)
 
LEIASDK_API leia_bool leia_core_get_natural_orientation (struct leia_core_library *, enum leia_orientation *)
 
LEIA_NODISCARD LEIASDK_API leia_bool leia_core_get_viewing_distance (struct leia_core *, float ipdMM, float *viewingDistance)