Click or drag to resize
BodyExtensions Class
Provides some common functionality for manupulating body data.
Inheritance Hierarchy

Namespace: LightBuzz.Vitruvius
Assembly: LightBuzz.Vitruvius (in LightBuzz.Vitruvius.dll) Version: (
public static class BodyExtensions

The BodyExtensions type exposes the following members.

Public methodStatic memberActive
Returns the active body. The active body is the one that is tracked well and stands within a reasonable distance.
Public methodStatic memberBodies
Returns the bodies found in the current frame.
Public methodStatic memberClosest
Returns the closest body that is currently to the sensor.
Public methodStatic memberHeight
Retruns the height of the current body.
Public methodStatic memberIsStable
Determines whether the current body is stable, without leaning.
Public methodStatic memberNumberOfTrackedJoints(IEnumerableJoint)
Calculates the number of the tracked joints from the current collection.
Public methodStatic memberNumberOfTrackedJoints(Joint)
Calculates the number of the tracked joints from the specified collection.
Public methodStatic memberRotationAngle
Calculates the rotation of the specified body in the vertical axis.
Public methodStatic memberSort
Sorts the tracked bodies by tracking accuracy. The most active body is the first in the list. To find the active body, the tracking ID and distance are taking into consideration.
Public methodStatic memberToBodyWrapper
Returns a BodyWrapper object converted from body.
Public methodStatic memberTrackedJoints
Returns a collection of the tracked joints of the current body.
Public methodStatic memberUpperHeight
Returns the upper height of the current body (head to waist).
See Also