public AffectType(EmoteCommonMessages.AffectPerceptionState state, EmoteCommonMessages.Charge charge, EmoteCommonMessages.PointofFocus focus, int confidence) { mState = state; mStateCharge = charge; mFocus = focus; mStateConfidence = confidence; }
private void NotifyPersonGazeDirectionChanged(int userId, EmoteCommonMessages.GazeEnum direction) { if (PersonGazeDirectionChanged != null) PersonGazeDirectionChanged(userId, direction); }
void IPerceptionEvents.GazeTracking(int userID, EmoteCommonMessages.GazeEnum direction, int ConfidenceVal) { if (!PersonGazeDirection.ContainsKey(userID) || PersonGazeDirection[userID] != direction) { PersonGazeDirection[userID] = direction; NotifyPersonGazeDirectionChanged(userID, direction); RedetectMutualGaze(); } }
void IPerceptionEvents.PointingPosition(int userID, EmoteCommonMessages.Hand hand, double X, double Y, double Z) { }
internal void PersonGazeDirectionChanged(int userId, EmoteCommonMessages.GazeEnum direction) { //if (direction == EmoteCommonMessages.HeadDirection.Robot) SwitchGazeTarget(GazeTarget.Person); }
void EmoteCommonMessages.IAffectPerceptionEvents.ProbeRequest(EmoteCommonMessages.Probes type, int urgency) { }