C# Class _2Kinects1Machine.MultKinectServer

This is the main type for your game
Inheritance: Microsoft.Xna.Framework.Game
Datei anzeigen Open project: NUIC/2-Kinects-1-Machine Class Usage Examples

Public Properties

Property Type Description
skeletonDict Skeleton[]>.Dictionary

Public Methods

Method Description
MultKinectServer ( ) : System

Protected Methods

Method Description
Draw ( GameTime gameTime ) : void

This is called when the game should draw itself.

Initialize ( ) : void

Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.

LoadContent ( ) : void
Update ( GameTime gameTime ) : void
pipeFromClient ( Process kinect ) : void

Recieves input from the client processes, and then does stuff with it.

Private Methods

Method Description
DrawLine ( SpriteBatch batch, Microsoft.Xna.Framework.Graphics.Texture2D blank, float width, Color color, Vector2 point1, Vector2 point2 ) : void
MessageBox ( IntPtr hWnd, String text, String caption, uint type ) : uint
addLine ( Microsoft.Kinect.Joint joint, Microsoft.Kinect.Joint joint_2 ) : void
drawSkeleton ( Microsoft.Kinect.Skeleton skeleton ) : void
updateSkeleton ( Microsoft.Kinect.Skeleton skeleton ) : void
updateSkeletons ( Microsoft.Kinect.Skeleton skeletons, string key ) : void

Method Details

Draw() protected method

This is called when the game should draw itself.
protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
return void

Initialize() protected method

Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.
protected Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

MultKinectServer() public method

public MultKinectServer ( ) : System
return System

Update() protected method

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

pipeFromClient() protected method

Recieves input from the client processes, and then does stuff with it.
protected pipeFromClient ( Process kinect ) : void
kinect System.Diagnostics.Process
return void

Property Details

skeletonDict public_oe static_oe property

public static Dictionary skeletonDict
return Skeleton[]>.Dictionary