public EditRecordedForm(Principal pM) : base(pM) { mySkeleton = new HumanSkeleton(); path = Environment.CurrentDirectory + "\\Data\\Animation\\default.ani"; //Para simular el inicio del dispositivo desde un archivo. myMiddle = new SkeletonReaderMiddle(); myMiddle.addUser(mySkeleton, path); ready = false; //--Render myAvatar = new Avatar(mySkeleton); camara = new Camera(pM.graphics); //--Estados myStates = DB4ObjectState.loadStates(Environment.CurrentDirectory + "\\Data\\States\\default.sta"); //--Gestos myGestures = DB4ObjectGesture.loadGestures(Environment.CurrentDirectory + "\\Data\\Gestures\\default.ges"); myPartialGestures = new List <Pair>(); //Crear formulario de edición de gestos formEditor = new WFEditGestures(this); formEditor.Show(); this.LoadContent(); }
public FreeDetectionForm(Principal pM, AbstractMiddle am) : base(pM) { mySkeletonUser1 = new HumanSkeleton(); mySkeletonUser2 = new HumanSkeleton(); myMiddle = am; myMiddle.reset(); myMiddle.addUser(mySkeletonUser1); myMiddle.addUser(mySkeletonUser2); // Render myAvatarUser1 = new Avatar(mySkeletonUser1); myAvatarUser2 = new Avatar(mySkeletonUser2); camara = new Camera(pM.graphics); // Estados myStates = DB4ObjectState.loadStates(Environment.CurrentDirectory + "\\Data\\States\\default.sta"); // Gestos myGestures = DB4ObjectGesture.loadGestures(Environment.CurrentDirectory + "\\Data\\Gestures\\default.ges"); // Crear formulario de edición de gestos formGesture = new WFDetectionGestures(this); formGesture.Show(); // Variables de logueo logBefore1 = ""; logBefore2 = ""; logBefore3 = ""; this.LoadContent(); }
private void cargarEstados() { //--Estados myStates = DB4ObjectState.loadStates(Environment.CurrentDirectory + "\\Data\\States\\default.sta"); //--Gestos myGestures = DB4ObjectGesture.loadGestures(Environment.CurrentDirectory + "\\Data\\Gestures\\default.ges"); }
internal void loadStates(string path) { myStates = DB4ObjectState.loadStates(path); }
public void loadStates(string path) { myStates = DB4ObjectState.loadStates(path); }