Liasion? du gestion perceptron au window
This commit is contained in:
@@ -16,5 +16,8 @@ namespace JeuHoy_WPF_Natif.View
|
||||
string Console { get; set; }
|
||||
Canvas Canvas { get; set; }
|
||||
event EventHandler EntrainementEvt;
|
||||
}
|
||||
|
||||
int GetPositionEnCour();
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -37,6 +37,7 @@ namespace JeuHoy_WPF.View
|
||||
private MultiSourceFrameReader _multiSourceFrameReader;
|
||||
private BodyFrameReader _bodyFrameReader;
|
||||
private WriteableBitmap _bitmap;
|
||||
private Body _currentBody;
|
||||
//private DisplayFrameType _displayFrameType = DisplayFrameType.Color;
|
||||
|
||||
private byte[] _picPixels = null;
|
||||
@@ -132,6 +133,7 @@ namespace JeuHoy_WPF.View
|
||||
|
||||
if (body != null)
|
||||
{
|
||||
_currentBody = body;
|
||||
DessinerSquelette(body, _sensor);
|
||||
}
|
||||
}
|
||||
@@ -298,6 +300,6 @@ namespace JeuHoy_WPF.View
|
||||
EntrainementEvt(this, e);
|
||||
}
|
||||
|
||||
|
||||
public int GetPositionEnCour() { return _positionEnCours; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user