Click or drag to resize

GesturePreprocessor Class

The preprocessor that converts captured gestures into a discrete form.
Inheritance Hierarchy
SystemObject
  RavingBots.MagicGestures.AIGesturePreprocessor

Namespace:  RavingBots.MagicGestures.AI
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class GesturePreprocessor

The GesturePreprocessor type exposes the following members.

Constructors
  NameDescription
Public methodGesturePreprocessor
Construct a new instance.
Top
Methods
  NameDescription
Public methodDrawGizmos
Draw the discrete grid as a gizmo.
Private methodExtract
Convert captured gesture points into discrete ones.
Private methodStatic memberGetDiscretized
Convert a single normalized point into a discrete one.
Public methodGetInput
Convert a gesture to an array of input values for training.
Private methodGetMatrixSize
Return the size of Matrix as a vector.
Private methodStatic memberIsNormalized
Check whether point is normalized.
Private methodStatic memberIsValidSize
Check whether size is valid (all components are positive).
Top
Fields
  NameDescription
Public fieldMatrix
The 3D grid of gesture points.
Top
See Also