C# Класс LightBuzz.Vitruvius.GestureController

Represents a gesture controller.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddGesture ( GestureType type ) : void

Adds the specified gesture for recognition.

AddGesture ( string name, IGestureSegment segments ) : void

Adds the specified gesture for recognition.

GestureController ( ) : Microsoft.Kinect

Initializes a new instance of GestureController.

GestureController ( GestureType type ) : Microsoft.Kinect

Initializes a new instance of GestureController.

Update ( Body body ) : void

Updates all gestures.

Приватные методы

Метод Описание
OnGestureRecognized ( object sender, GestureEventArgs e ) : void

Handles the GestureRecognized event of the g control.

Описание методов

AddGesture() публичный Метод

Adds the specified gesture for recognition.
public AddGesture ( GestureType type ) : void
type GestureType The predefined .
Результат void

AddGesture() публичный Метод

Adds the specified gesture for recognition.
public AddGesture ( string name, IGestureSegment segments ) : void
name string The gesture name.
segments IGestureSegment The gesture segments.
Результат void

GestureController() публичный Метод

Initializes a new instance of GestureController.
public GestureController ( ) : Microsoft.Kinect
Результат Microsoft.Kinect

GestureController() публичный Метод

Initializes a new instance of GestureController.
public GestureController ( GestureType type ) : Microsoft.Kinect
type GestureType The gesture type to recognize. Set to GesureType.All for instantly adding all of the predefined gestures.
Результат Microsoft.Kinect

Update() публичный Метод

Updates all gestures.
public Update ( Body body ) : void
body Body The body data.
Результат void