You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1009 B
37 lines
1009 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Lib;
|
|
|
|
namespace KinectUtils
|
|
{
|
|
static class GestureManager
|
|
{
|
|
static event EventHandler GestureRecognized;
|
|
static KinectManager KinectManager { get; set; }
|
|
static List<BaseGesture> KnownGestures { get; set; }
|
|
|
|
static public void AddGestures(IGestureFactory factory)
|
|
{
|
|
KnownGestures = (List<BaseGesture>)factory.CreateGestures();
|
|
}
|
|
static public void AddGestures(params BaseGesture[] gestures)
|
|
{
|
|
foreach (var gesture in gestures)
|
|
{
|
|
KnownGestures.Add(gesture);
|
|
}
|
|
}
|
|
static public void RemoveGesture(BaseGesture gesture)
|
|
{
|
|
KnownGestures.Remove(gesture);
|
|
}
|
|
static public void StartAcquiringFrames(KinectManager kinectManager)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|