C# Class OpenNICE.SkeletonDrawer

显示文件 Open project: hcilab-um/ArmFatigueCE Class Usage Examples

Public Methods

Method Description
DrawSkeleton ( NiTEWrapper.Skeleton skeleton, System.Windows.Media.DrawingContext drawingContext ) : void
SkeletonDrawer ( NiTEWrapper.UserTracker userTracker ) : System

Private Methods

Method Description
DrawCirlce ( NiTEWrapper.Skeleton skeleton, NiTEWrapper.SkeletonJoint jointType, System.Windows.Media.DrawingContext dc, double radius ) : void
SkeletonPointToScreen ( System.Windows.Media.Media3D.Point3D skelpoint ) : Point

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

drawBone ( NiTEWrapper.Skeleton skeleton, System.Windows.Media.DrawingContext drawingContext, NiTEWrapper.SkeletonJoint jointType0, NiTEWrapper.SkeletonJoint jointType1 ) : void

Draws a bone line between two joints

Method Details

DrawSkeleton() public method

public DrawSkeleton ( NiTEWrapper.Skeleton skeleton, System.Windows.Media.DrawingContext drawingContext ) : void
skeleton NiTEWrapper.Skeleton
drawingContext System.Windows.Media.DrawingContext
return void

SkeletonDrawer() public method

public SkeletonDrawer ( NiTEWrapper.UserTracker userTracker ) : System
userTracker NiTEWrapper.UserTracker
return System