1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using bbiwarg.Images;
- using bbiwarg.Recognition.FingerRecognition;
- using bbiwarg.Recognition.HandRecognition;
- using bbiwarg.Recognition.PalmRecognition;
- using bbiwarg.Recognition.TouchRecognition;
- using bbiwarg.Utility;
- namespace bbiwarg.Input.InputHandling
- {
- /// <summary>
- /// Data class which holds all data read an generated for one frame.
- /// </summary>
- public class FrameData
- {
- /// <summary>
- /// the id of the frame
- /// </summary>
- public int FrameID { get; set; }
- /// <summary>
- /// the size of all the images
- /// </summary>
- public ImageSize ImageSize { get; set; }
- /// <summary>
- /// set iff the input source is a movie which is in the first frame again
- /// </summary>
- public bool ResetFlag { get; set; }
- /// <summary>
- /// the depth image read in this frame
- /// </summary>
- public DepthImage DepthImage { get; set; }
- /// <summary>
- /// the edge image created in this frame
- /// </summary>
- public EdgeImage EdgeImage { get; set; }
- /// <summary>
- /// the confidence image read in this frame
- /// </summary>
- public ConfidenceImage ConfidenceImage { get; set; }
- /// <summary>
- /// a list of fingers detected in this frame
- /// </summary>
- public List<Finger> DetectedFingers { get; set; }
- /// <summary>
- /// a list of fingers which are tracked in this frame
- /// </summary>
- public List<Finger> TrackedFingers { get; set; }
-
- /// <summary>
- /// a list of hands detected in this frame
- /// </summary>
- public List<Hand> DetectedHands { get; set; }
- /// <summary>
- /// a list of hands which are tracked in this frame
- /// </summary>
- public List<Hand> TrackedHands { get; set; }
-
- /// <summary>
- /// a list of plams detected in this frame
- /// </summary>
- public List<Palm> DetectedPalms { get; set; }
- /// <summary>
- /// a list of plams which are tracked in this frame
- /// </summary>
- public List<Palm> TrackedPalms { get; set; }
-
- /// <summary>
- /// a list of <see cref="Touch"/> objects detected in this frame
- /// </summary>
- public List<Touch> DetectedTouches { get; set; }
- /// <summary>
- /// a list of <see cref="Touch"/> objects which are tracked in this frame
- /// </summary>
- public List<Touch> TrackedTouches { get; set; }
- /// <summary>
- /// a list of touch events generated in this frame
- /// </summary>
- public List<TouchEvent> TouchEvents { get; set; }
- }
- }
|