C# Class SkeletalCore.Draw

Mostrar archivo Open project: yoshikinoko/KinectRecorder

Public Properties

Property Type Description
jointColors Brush>.Dictionary

Public Methods

Method Description
Draw ( ) : System
drawFPS ( System frameRate ) : void
nui_ColorFrameReady ( Byte Bits, int imageWidth, int imageHeight, int imageBytesPerPixel, Image video ) : void
nui_DepthFrameReady ( Byte Bits, int imageWidth, int imageHeight, Image depth ) : void
nui_SkeletonFrameReady ( SkeletonFrame skeletonFrame, System.Windows.Controls.Canvas skeleton, Runtime nui ) : void
nui_SkeletonFrameReadyV ( VirtualKinect skeletonFrame, System.Windows.Controls.Canvas skeleton, Microsoft nui ) : void

Private Methods

Method Description
getBodySegment ( Microsoft nui, System.Windows.Controls.Canvas skeleton, Microsoft joints, System.Windows.Media.Brush brush ) : System.Windows.Shapes.Polyline
getBodySegmentV ( Microsoft nui, System.Windows.Controls.Canvas skeleton, VirtualKinect joints, System.Windows.Media.Brush brush ) : System.Windows.Shapes.Polyline

Method Details

Draw() public method

public Draw ( ) : System
return System

drawFPS() public method

public drawFPS ( System frameRate ) : void
frameRate System
return void

nui_ColorFrameReady() public method

public nui_ColorFrameReady ( Byte Bits, int imageWidth, int imageHeight, int imageBytesPerPixel, Image video ) : void
Bits Byte
imageWidth int
imageHeight int
imageBytesPerPixel int
video Image
return void

nui_DepthFrameReady() public method

public nui_DepthFrameReady ( Byte Bits, int imageWidth, int imageHeight, Image depth ) : void
Bits Byte
imageWidth int
imageHeight int
depth Image
return void

nui_SkeletonFrameReady() public method

public nui_SkeletonFrameReady ( SkeletonFrame skeletonFrame, System.Windows.Controls.Canvas skeleton, Runtime nui ) : void
skeletonFrame SkeletonFrame
skeleton System.Windows.Controls.Canvas
nui Runtime
return void

nui_SkeletonFrameReadyV() public method

public nui_SkeletonFrameReadyV ( VirtualKinect skeletonFrame, System.Windows.Controls.Canvas skeleton, Microsoft nui ) : void
skeletonFrame VirtualKinect
skeleton System.Windows.Controls.Canvas
nui Microsoft
return void

Property Details

jointColors public_oe property

public Dictionary jointColors
return Brush>.Dictionary