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.
KinectExercise_FrancoBroda/KinectUtils/BaseMapping.cs

44 lines
839 B

using Microsoft.Kinect;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KinectUtils
{
public abstract class BaseMapping<T>
{
private bool running;
//public EventHandler<OnMapping> OnMapping { get; set; }
public void SubscribeToStartGesture(BaseGesture gesture)
{
}
public void SubscribeToEndGesture(BaseGesture gesture)
{
}
public void SubscribeToToggleGesture(BaseGesture gesture)
{
}
protected abstract T Mapping(Body body);
/*bool TestMapping(Body body, out T ouput)
{
}*/
protected void OnBodyFrameArrived(object obj, BodyFrameArrivedEventArgs args)
{
}
}
}