프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public kinectSensor_ColorFrameReady ( object sender, Microsoft.Kinect.ColorImageFrameReadyEventArgs e ) : void | ||
sender | object | |
e | Microsoft.Kinect.ColorImageFrameReadyEventArgs | |
리턴 | void |
public kinectSensor_SkeletonFrameReady ( object sender, Microsoft.Kinect.SkeletonFrameReadyEventArgs e ) : void | ||
sender | object | |
e | Microsoft.Kinect.SkeletonFrameReadyEventArgs | |
리턴 | void |
public load ( Microsoft.Xna.Framework.Game game ) : void | ||
game | Microsoft.Xna.Framework.Game | |
리턴 | void |
public Texture2D,Microsoft.Xna.Framework.Graphics kinectRGBVideo | ||
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |
public KinectSensor,Microsoft.Kinect kinectSensor | ||
리턴 | Microsoft.Kinect.KinectSensor |
public Texture2D,Microsoft.Xna.Framework.Graphics lastFrame | ||
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |