C# 클래스 KinectV2MouseControl.KinectControl

파일 보기 프로젝트 열기: TangoChen/KinectV2MouseControl

공개 프로퍼티들

프로퍼티 타입 설명
cursorSmoothing float
doClick bool
mouseSensitivity float
pauseThresold float
timeRequired float
useGripGesture bool

공개 메소드들

메소드 설명
Close ( ) : void
KinectControl ( ) : System
Timer_Tick ( object sender, EventArgs e ) : void

Pause to click timer

bodyFrameReader_FrameArrived ( object sender, BodyFrameArrivedEventArgs e ) : void

Read body frames

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

KinectControl() 공개 메소드

public KinectControl ( ) : System
리턴 System

Timer_Tick() 공개 메소드

Pause to click timer
public Timer_Tick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

bodyFrameReader_FrameArrived() 공개 메소드

Read body frames
public bodyFrameReader_FrameArrived ( object sender, BodyFrameArrivedEventArgs e ) : void
sender object
e BodyFrameArrivedEventArgs
리턴 void

프로퍼티 상세

cursorSmoothing 공개적으로 프로퍼티

Value 0 - 0.95f, the larger it is, the smoother the cursor would move
public float cursorSmoothing
리턴 float

doClick 공개적으로 프로퍼티

Decide if the user need to do clicks or only move the cursor
public bool doClick
리턴 bool

mouseSensitivity 공개적으로 프로퍼티

How far the cursor move according to your hand's movement
public float mouseSensitivity
리턴 float

pauseThresold 공개적으로 프로퍼티

The radius range your hand move inside a circle for [timeRequired] seconds would be regarded as a pause-clicking
public float pauseThresold
리턴 float

timeRequired 공개적으로 프로퍼티

Time required as a pause-clicking
public float timeRequired
리턴 float

useGripGesture 공개적으로 프로퍼티

Use Grip gesture to click or not
public bool useGripGesture
리턴 bool