C# Класс KinectMenu.MotionEngine

The engine that handles motion input from the Kinect
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
created HandCreated
movement HandMotion

Защищенные свойства (Protected)

Свойство Тип Описание
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