예제 #1
0
        //--------------------------------------------------------------------
        // Private Functions
        //--------------------------------------------------------------------

        private void SyncData()
        {
            if (_updatedInFrame)
            {
                return;
            }

            _updatedInFrame = true;

            var result = Interop.Update();

            if (result)
            {
                _gazePointDataProvider.Update();
                _headPoseDataProvider.Update();
            }
        }
예제 #2
0
 public IDataProvider <HeadPose> GetHeadPoseDataProvider()
 {
     Update();
     _headPoseDataProvider.Update();
     return(_headPoseDataProvider);
 }