C# 클래스 KinectMenu.MotionEngine

The engine that handles motion input from the Kinect
파일 보기 프로젝트 열기: NUIC/2-Kinects-1-Machine 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
created HandCreated
movement HandMotion

보호된 프로퍼티들

프로퍼티 타입 설명
smoothingParameters TransformSmoothParameters

공개 메소드들

메소드 설명
HandsTogether ( int scale ) : System.Boolean

Checks to see if the user's hands are together +/- the scale factor.

getInstance ( ) : MotionEngine
registerHandCreated ( HandCreated handler ) : void
registerHandMotion ( HandMotion handler ) : void
registerVideoCapture ( EventHandler handler ) : void
removeHandMotion ( HandMotion handler ) : void
removeVideoCapture ( EventHandler handler ) : void

보호된 메소드들

메소드 설명
fitToScreen ( Microsoft.Kinect.SkeletonPoint skp ) : Microsoft.Kinect.SkeletonPoint

비공개 메소드들

메소드 설명
InitializeMotionDetection ( ) : void

Called by the constructor. Sets up the Kinect controls.

InitializeRuntime ( ) : void
MotionEngine ( ) : System
SkeletonFrameReady ( Microsoft.Kinect.Skeleton firstPerson ) : void

메소드 상세

HandsTogether() 공개 메소드

Checks to see if the user's hands are together +/- the scale factor.
public HandsTogether ( int scale ) : System.Boolean
scale int The scale factor
리턴 System.Boolean

fitToScreen() 보호된 정적인 메소드

protected static fitToScreen ( Microsoft.Kinect.SkeletonPoint skp ) : Microsoft.Kinect.SkeletonPoint
skp Microsoft.Kinect.SkeletonPoint
리턴 Microsoft.Kinect.SkeletonPoint

getInstance() 공개 정적인 메소드

public static getInstance ( ) : MotionEngine
리턴 MotionEngine

registerHandCreated() 공개 메소드

public registerHandCreated ( HandCreated handler ) : void
handler HandCreated
리턴 void

registerHandMotion() 공개 메소드

public registerHandMotion ( HandMotion handler ) : void
handler HandMotion
리턴 void

registerVideoCapture() 공개 메소드

public registerVideoCapture ( EventHandler handler ) : void
handler EventHandler
리턴 void

removeHandMotion() 공개 메소드

public removeHandMotion ( HandMotion handler ) : void
handler HandMotion
리턴 void

removeVideoCapture() 공개 메소드

public removeVideoCapture ( EventHandler handler ) : void
handler EventHandler
리턴 void

프로퍼티 상세

created 공개적으로 정적으로 프로퍼티

public static HandCreated created
리턴 HandCreated

movement 공개적으로 정적으로 프로퍼티

public static HandMotion movement
리턴 HandMotion

smoothingParameters 보호되어 있는 프로퍼티

protected TransformSmoothParameters smoothingParameters
리턴 TransformSmoothParameters