Пример #1
0
 public override KinectBaseImageFrame GetFrame(IntPtr handle)
 {
     var frame = new V2ImageFrame(m_reader, handle);
     if (!NewTimeStamp(frame.Time))
     {
         frame.Dispose();
         return null;
     }
     return frame;
 }
Пример #2
0
 public override KinectBaseImageFrame GetFrame()
 {
     var frame = new V2ImageFrame(m_reader.AcquireLatestFrame());
     if (!NewTimeStamp(frame.Time))
     {
         frame.Dispose();
         return null;
     }
     return frame;
 }
Пример #3
0
        public override KinectBaseImageFrame GetFrame(IntPtr handle)
        {
            var frame = new V2ImageFrame(m_reader, handle);

            if (!NewTimeStamp(frame.Time))
            {
                frame.Dispose();
                return(null);
            }
            return(frame);
        }
Пример #4
0
        public override KinectBaseImageFrame GetFrame()
        {
            var frame = new V2ImageFrame(m_reader.AcquireLatestFrame());

            if (!NewTimeStamp(frame.Time))
            {
                frame.Dispose();
                return(null);
            }
            return(frame);
        }