Class EyeTracking
- Namespace
- Turing.Core.StereoCore
- Assembly
- Turing.Core.dll
public abstract class EyeTracking
- Inheritance
-
EyeTracking
- Derived
- Inherited Members
- Extension Methods
Fields
Foreground
Forground: set if main app is in the foreground
public bool Foreground
Field Value
IPDIPDMaxDefault
public const float IPDIPDMaxDefault = 67.8
Field Value
IPDMargin
public const float IPDMargin = 0.8
Field Value
IPDMax
public float IPDMax
Field Value
LeftViewOnly
public bool LeftViewOnly
Field Value
Po
public float Po
Field Value
Ro
public float Ro
Field Value
TP
public EyeTracking.TrackingParam TP
Field Value
WP
public EyeTracking.WavingParam WP
Field Value
Yo
public float Yo
Field Value
clientStatus
public EyeTracking.ClentStatus clientStatus
Field Value
isOn3D
public uint isOn3D
Field Value
isOnET
server side status isOnET: if eyetracking is on isOn3D: if both k3 and film(if under control) are on. LeftViewOnly: about 3 seconds later when viewer left, the screen will be set to this mode to show only Left Eye screen, the resolution will be halved
public uint isOnET
Field Value
serverStatus
public EyeTracking.ServerStatus serverStatus
Field Value
trackingHeight
protected float trackingHeight
Field Value
trackingWidth
protected float trackingWidth
Field Value
Methods
GetFaceNum()
get face numbers detected
public virtual int GetFaceNum()
Returns
- int
0/1
GetFaceWidth()
get current user's face width for single tracking camera usage, obsolated.
public virtual float GetFaceWidth()
Returns
- float
0 - 1
GetInfo()
get eyetracking module info string, for debugging purpose
public abstract string GetInfo()
Returns
GetPID()
Not accurate, Please use EDID instead
public virtual EyeTracking.PlatformID GetPID()
Returns
- EyeTracking.PlatformID
current platform id
GetServerStatus()
Report EESVR Server Status
public abstract EyeTracking.ServerStatus GetServerStatus()
Returns
InitET()
Init EESVR connection, set ETConfig before calling
public abstract int InitET()
Returns
- int
0
IsK3Enabled()
Querry Asic Status
public virtual uint IsK3Enabled()
Returns
- uint
0: error; 1: false; 2: true;
PushEye(Vector2, Vector2, int, int)
protected void PushEye(Vector2 EyeLeft, Vector2 EyeRight, int flipX, int faceNum)
Parameters
PushEye(Vector3, Vector3, int)
protected void PushEye(Vector3 EyeLeft, Vector3 EyeRight, int faceNum)
Parameters
EyeLeft
Vector3EyeRight
Vector3faceNum
int
PushEye(Vector3, Vector3, Vector3)
protected void PushEye(Vector3 EyeLeft, Vector3 EyeRight, Vector3 EyeWeaving)
Parameters
EyeLeft
Vector3EyeRight
Vector3EyeWeaving
Vector3
ReleaseELACControl()
Release Auto2D Control, should be called if SetAuto2D(False) when minimize or quit
public virtual void ReleaseELACControl()
SendInfo(float, float, float, float, float, float)
Send back tracking data
public virtual int SendInfo(float Lx, float Ly, float Lz, float Rx, float Ry, float Rz)
Parameters
Returns
SetAuto2D(bool)
Enable Screen auto switch to Half width 2D or not, better to set true when building a media player
public virtual void SetAuto2D(bool param)
Parameters
param
booltrue: Enable Screen auto switch to Half width 2D(smoothly); false: Disable that feature
SetFaceWidth(float)
user's face width for single tracking camera usage, obsolated.
public virtual int SetFaceWidth(float FW)
Parameters
FW
float0 - 1
Returns
SetK3Depth()
public virtual void SetK3Depth()
ShutdownET(bool)
destroy all instance
public abstract int ShutdownET(bool bypassSwitch2D)
Parameters
bypassSwitch2D
boolset true if closing scene and opening another in 3d
Returns
Switch3D(isON)
swith screen 3d status on/off
public virtual int Switch3D(EyeTracking.isON onOff)
Parameters
onOff
EyeTracking.isONOn / Off
Returns
SwitchET(isON)
swith camera on/off, in most cases, you don't need to call it explicitly.
public abstract int SwitchET(EyeTracking.isON onOff)
Parameters
onOff
EyeTracking.isON
Returns
SwitchPreview(int)
Switch Tracking Camera preview window, obsolated
public virtual int SwitchPreview(int onOff)
Parameters
onOff
intOn / Off