C# Class CEWorkbench.SkeletonDrawer

Datei anzeigen Open project: hcilab-um/ArmFatigueCE

Public Methods

Method Description
DrawSkeleton ( Microsoft.Kinect.Skeleton skeleton, System.Windows.Media.DrawingContext drawingContext ) : void
SkeletonDrawer ( Microsoft.Kinect.KinectSensor kinectSensor ) : System

Private Methods

Method Description
DrawCirlce ( Microsoft.Kinect.Skeleton skeleton, JointType jointType, System.Windows.Media.DrawingContext dc, double radius ) : void
MapSkeletonPointToDepth ( Microsoft.Kinect.SkeletonPoint skelpoint, DepthImageFormat depthImageFormat ) : DepthImagePoint
SkeletonPointToScreen ( Microsoft.Kinect.SkeletonPoint skelpoint ) : Point

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

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

Draws a bone line between two joints

Method Details

DrawSkeleton() public method

public DrawSkeleton ( 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