Пример #1
0
 public MemoryStorage(Kinect k, StorageOptions options)
     : base(k, options)
 {
     if (this.Options.StoreSkeleton)
     {
         this.SkeletonFrames = new ConcurrentQueue<SkeletonFrame>();
     }
     if (this.Options.StoreDepth)
     {
         this.DepthImages = new ConcurrentQueue<DepthImageFrame>();
     }
     if (this.Options.StoreColor)
     {
         this.ColorImages = new ConcurrentQueue<ImageFrame>();
     }
 }
Пример #2
0
 public KinectStorage(Kinect k, StorageOptions options)
     : base(k)
 {
     this.Options = options;
 }