Exemplo n.º 1
0
 void kinect_ReadyFrame(object sender, frame.IKinectFrame e)
 {
     this.Dispatcher.BeginInvoke(new Action(() =>
     {
         kinect.commit(e);
     }));
 }
Exemplo n.º 2
0
 public override ImageSource update(frame.IKinectFrame frame)
 {
     if (frame.DepthColor != null)
     {
         _bitmapaDepth.WritePixels(
             new System.Windows.Int32Rect(0, 0,
                                          _bitmapaDepth.PixelWidth,
                                          _bitmapaDepth.PixelHeight),
             frame.DepthColor,
             _bitmapaDepth.PixelWidth,
             0);
     }
     return(_bitmapaDepth);
 }
Exemplo n.º 3
0
 void kinect_ReadyFrame(object sender, frame.IKinectFrame e)
 {
     kinect.commit(e);
 }