C# Class DataStore.HumanSkeleton

Inheritance: ISkeleton
Exibir arquivo Open project: omanamos/kinect-nao Class Usage Examples

Public Methods

Method Description
HumanSkeleton ( List jointPositions ) : System

Creates a HumanSkeleton from a list of joint positions

HumanSkeleton ( double jointPositions ) : System

Creates a new HumanSkeleton from a flattened array of joint positions

HumanSkeleton ( string line ) : System

Initialize a new HumanSkeleton model with the given observed joints

getJoint ( JointID id ) : Joint
toArray ( bool useJointvals ) : double[]

Method Details

HumanSkeleton() public method

Creates a HumanSkeleton from a list of joint positions
public HumanSkeleton ( List jointPositions ) : System
jointPositions List
return System

HumanSkeleton() public method

Creates a new HumanSkeleton from a flattened array of joint positions
public HumanSkeleton ( double jointPositions ) : System
jointPositions double
return System

HumanSkeleton() public method

Initialize a new HumanSkeleton model with the given observed joints
public HumanSkeleton ( string line ) : System
line string A line of the format: /// timestamp j1x j1y j1z .... j20x j20y j20z ///
return System

getJoint() public method

public getJoint ( JointID id ) : Joint
id JointID
return Joint

toArray() public method

public toArray ( bool useJointvals ) : double[]
useJointvals bool
return double[]