Property | Type | Description | |
---|---|---|---|
kinectRGBVideo | Microsoft.Xna.Framework.Graphics.Texture2D | ||
kinectSensor | Microsoft.Kinect.KinectSensor | ||
lastFrame | Microsoft.Xna.Framework.Graphics.Texture2D | ||
locked | System.Boolean | ||
skeleton | Microsoft.Kinect.Skeleton | ||
skeletonOutOfRange | System.Boolean |
Method | Description | |
---|---|---|
Kinect ( ) : System | ||
KinectSensors_StatusChanged ( object sender, StatusChangedEventArgs e ) : void |
Detecta cuando se conecta o desconecta un sensor kinect. Lanza una busqueda si es necesario. Se emplea un eventHandler para lanzar la actualizacion, que se dirige con StatusChangedEventArgs
|
|
initialize ( ) : void | ||
kinectSensor_ColorFrameReady ( object sender, Microsoft.Kinect.ColorImageFrameReadyEventArgs e ) : void |
Actualiza los datos recibidos de la camara sobre nuestro kinectRGBVideo
|
|
kinectSensor_SkeletonFrameReady ( object sender, Microsoft.Kinect.SkeletonFrameReadyEventArgs e ) : void |
Actualiza la posicion del esqueleto sobre nuestro vector
|
|
load ( Microsoft.Xna.Framework.Game game ) : void | ||
unload ( ) : void |
Method | Description | |
---|---|---|
DiscoverKinectSensor ( ) : void |
Localiza nuevos dispositivos Kinect y lo asocia con nuestro kinectSensor
|
|
InitializeKinect ( ) : bool |
Activamos y configuramos la camara RGB y la deteccion del esqueleto en el Kinect
|
public KinectSensors_StatusChanged ( object sender, StatusChangedEventArgs e ) : void | ||
sender | object | |
e | StatusChangedEventArgs | |
return | void |
public kinectSensor_ColorFrameReady ( object sender, Microsoft.Kinect.ColorImageFrameReadyEventArgs e ) : void | ||
sender | object | |
e | Microsoft.Kinect.ColorImageFrameReadyEventArgs | |
return | void |
public kinectSensor_SkeletonFrameReady ( object sender, Microsoft.Kinect.SkeletonFrameReadyEventArgs e ) : void | ||
sender | object | |
e | Microsoft.Kinect.SkeletonFrameReadyEventArgs | |
return | void |
public load ( Microsoft.Xna.Framework.Game game ) : void | ||
game | Microsoft.Xna.Framework.Game | |
return | void |
public Texture2D,Microsoft.Xna.Framework.Graphics kinectRGBVideo | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public KinectSensor,Microsoft.Kinect kinectSensor | ||
return | Microsoft.Kinect.KinectSensor |
public Texture2D,Microsoft.Xna.Framework.Graphics lastFrame | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public Skeleton,Microsoft.Kinect skeleton | ||
return | Microsoft.Kinect.Skeleton |