C# Class SpikeWPF.SkeletonDrawer

Datei anzeigen Open project: hcilab-um/STim Class Usage Examples

Public Methods

Method Description
DrawFullSkeleton ( Microsoft.Kinect.Skeleton skeleton, System.Windows.Media.DrawingContext drawingContext ) : void
DrawRightArmSkeleton ( Microsoft.Kinect.Skeleton skeleton, System.Windows.Media.DrawingContext drawingContext ) : void
DrawUpperSkeleton ( Microsoft.Kinect.Skeleton skeleton, System.Windows.Media.DrawingContext drawingContext ) : void
SkeletonDrawer ( Microsoft.Kinect.KinectSensor kinectSensor ) : System
SkeletonPointToScreen ( Microsoft.Kinect.SkeletonPoint skelpoint ) : Point

Maps a SkeletonPoint to lie within our render space and converts to Point

Private Methods

Method Description
DrawBone ( Microsoft.Kinect.Skeleton skeleton, System.Windows.Media.DrawingContext drawingContext, JointType jointType0, JointType jointType1 ) : void

Draws a bone line between two joints

DrawPoint ( Microsoft.Kinect.Skeleton skeleton, System point, System.Windows.Media.DrawingContext drawingContext ) : void
MapSkeletonPointToDepth ( Microsoft.Kinect.SkeletonPoint skelpoint, DepthImageFormat depthImageFormat ) : DepthImagePoint
RenderAJoint ( System.Windows.Media.DrawingContext drawingContext, Microsoft.Kinect.Joint joint ) : void

Method Details

DrawFullSkeleton() public method

public DrawFullSkeleton ( Microsoft.Kinect.Skeleton skeleton, System.Windows.Media.DrawingContext drawingContext ) : void
skeleton Microsoft.Kinect.Skeleton
drawingContext System.Windows.Media.DrawingContext
return void

DrawRightArmSkeleton() public method

public DrawRightArmSkeleton ( Microsoft.Kinect.Skeleton skeleton, System.Windows.Media.DrawingContext drawingContext ) : void
skeleton Microsoft.Kinect.Skeleton
drawingContext System.Windows.Media.DrawingContext
return void

DrawUpperSkeleton() public method

public DrawUpperSkeleton ( Microsoft.Kinect.Skeleton skeleton, System.Windows.Media.DrawingContext drawingContext ) : void
skeleton Microsoft.Kinect.Skeleton
drawingContext System.Windows.Media.DrawingContext
return void

SkeletonDrawer() public method

public SkeletonDrawer ( Microsoft.Kinect.KinectSensor kinectSensor ) : System
kinectSensor Microsoft.Kinect.KinectSensor
return System

SkeletonPointToScreen() public method

Maps a SkeletonPoint to lie within our render space and converts to Point
public SkeletonPointToScreen ( Microsoft.Kinect.SkeletonPoint skelpoint ) : Point
skelpoint Microsoft.Kinect.SkeletonPoint point to map
return Point