PalmPose Class

Definition

Represents a constraint for the pose of the palm, describing its orientation in space and which hand its associated with.

public class PalmPose : Microsoft.Gestures.HandPartPose<Microsoft.Gestures.HandContext>
Inheritance

Remarks

The information contained in a PalmPose constraint describes the following aspects of the palm:

Together, these three properties fix the pose of the palm in an accurate manner. For example, to following configuration of a PalmPose can be used as a constraint for a "stop-sign" HandPose: a SingleHandContext which is associated with the RightHand, a Direction which is facing Forward and an Orientation which is facing Up.

Constructors

PalmPose()

Creates a blank PalmPose instance. In order to obtain a meaningful constraint, the values of Context, Direction and\or Orientation would have to be set manually. Undefined.

PalmPose(HandContext, PoseDirection, PoseDirection)

Creates a new PalmPose constraint describing the palm pose of the hand(s) mentioned in handContext.

Fields

DefaultPoseDirection (Inherited from HandPartPose<ContextType>)

Properties

Context

Indicates which parts of the hand this constraint refers to: either SingleHandContext, AnyHandContext or AllHandsContext in case for a PalmPose constraint and either SingleFingerContext, AnyFingerContext or AllFingersContext for a FingerPose constraint.

(Inherited from HandPartPose<ContextType>)
Direction

The direction of this hand part: Either the palm normal in case of a PalmPose or the direction at which the fingers are pointing in case of a FingerPose.

(Inherited from HandPartPose<ContextType>)
IsFrozen (Inherited from GesturesFrameworkObject)
Orientation

The direction that would be aligned with the middle finger had it been stretched out.

Methods

CalculateHashCode()
DeepFreeze() (Inherited from HandPartPose<ContextType>)
Equals(Object) (Inherited from GesturesFrameworkObject)
EqualsInternal(Object)
Freeze() (Inherited from GesturesFrameworkObject)
GetHashCode() (Inherited from GesturesFrameworkObject)
ToString()

Returns a System.String describing this PalmPose.

ValidateCore()
VerifyNotFrozen(String) (Inherited from GesturesFrameworkObject)

Explicit Interface Implementations

IValidatable.Validate() (Inherited from GesturesFrameworkObject)

Applies to