MarcEricMartel 241d2a6ffb PUSH
2023-05-03 11:57:03 -04:00

38 lines
1.0 KiB
C#

using JeuHoy_WPF;
using Microsoft.Kinect;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace JeuHoy_WPF_Natif.Model {
public class Squelette {
static public readonly JointType[] Joints = new JointType[CstApplication.SKELETONCOUNT] {
JointType.HandLeft,
JointType.HandRight,
JointType.ElbowLeft,
JointType.ElbowRight,
JointType.FootLeft,
JointType.FootRight,
JointType.KneeRight,
JointType.KneeLeft,
JointType.SpineBase,
JointType.Neck
};
private double[] _sque = new double[CstApplication.SKELETONCOUNT * 2];
private string _rep = "?";
public string Reponse { get => _rep; set => _rep = value; }
public double[] Points => _sque;
public Squelette(double[] body, string reponse) {
_sque = body;
_rep = reponse;
}
}
}