Class EEServerThread
- Namespace
- Turing.Core.StereoCore
- Assembly
- Turing.Core.dll
public class EEServerThread : EyeTracking
- Inheritance
-
EEServerThread
- Inherited Members
- Extension Methods
Constructors
EEServerThread()
public EEServerThread()
Methods
GetFaceNum()
get face numbers detected
public override int GetFaceNum()
Returns
- int
0/1
GetFaceWidth()
get current user's face width for single tracking camera usage, obsolated.
public override float GetFaceWidth()
Returns
- float
0 - 1
GetInfo()
get eyetracking module info string, for debugging purpose
public override string GetInfo()
Returns
GetPID()
Not accurate, Please use EDID instead
public override EyeTracking.PlatformID GetPID()
Returns
- EyeTracking.PlatformID
current platform id
GetServerStatus()
Report EESVR Server Status
public override EyeTracking.ServerStatus GetServerStatus()
Returns
InitET()
Init EESVR connection, set ETConfig before calling
public override int InitET()
Returns
- int
0
IsK3Enabled()
Querry Asic Status
public override uint IsK3Enabled()
Returns
- uint
0: error; 1: false; 2: true;
ReleaseELACControl()
Release Auto2D Control, should be called if SetAuto2D(False) when minimize or quit
public override void ReleaseELACControl()
SendInfo(float, float, float, float, float, float)
Send back tracking data
public override 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 override 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 override int SetFaceWidth(float FW)
Parameters
FW
float0 - 1
Returns
SetK3Depth()
public override void SetK3Depth()
ShutdownET(bool)
destroy all instance
public override int ShutdownET(bool BypassSwitch2D)
Parameters
BypassSwitch2D
bool
Returns
Switch3D(isON)
Switch film and Hardware weaving
public override int Switch3D(EyeTracking.isON isOn)
Parameters
isOn
EyeTracking.isON
Returns
- int
1 : success with both film and hardware weaving; 0: success with only film; -1: waiting for last command complete; -2: feature not available
SwitchET(isON)
swith camera on/off, in most cases, you don't need to call it explicitly.
public override int SwitchET(EyeTracking.isON isOn)
Parameters
isOn
EyeTracking.isON
Returns
SwitchPreview(int)
Switch Tracking Camera preview window, obsolated
public override int SwitchPreview(int isOn)
Parameters
isOn
int
Returns
isClientConnected()
THIS FUNCTION WILL CHECK IF CLIENT IS STILL CONNECTED WITH SERVER.
public bool isClientConnected()
Returns
- bool
FALSE IF NOT CONNECTED ELSE TRUE