Nuitrack  1.11.2
3D Skeleton Tracking Middleware
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Groups Pages
nuitrack.SkeletonData Class Reference

Stores the information about all available skeletons at a certain point in time. More...

Inherits nuitrack.NativeResources.PooledUnmanagedResource, and ICloneable.

Public Member Functions

override void Initialize ()
 Initialize the object data with UnmanagedResource Handle.
 
virtual object Clone ()
 Get a clone of the object (a reference to the object data is added for native resource). More...
 
Skeleton GetSkeletonByID (int id)
 Get the skeleton by ID. More...
 
- Public Member Functions inherited from nuitrack.NativeResources.UnmanagedResource
void Dispose ()
 

Protected Member Functions

 SkeletonData (IntPtr ptr, nuitrack.NativeResources.Deleter deleter)
 
- Protected Member Functions inherited from nuitrack.NativeResources.PooledUnmanagedResource
 PooledUnmanagedResource (IntPtr ptr, Deleter deleter)
 
override void Dispose (bool disposing)
 
- Protected Member Functions inherited from nuitrack.NativeResources.UnmanagedResource
 UnmanagedResource (IntPtr ptr, Deleter deleter)
 

Protected Attributes

int numJoints
 
ulong timestamp
 

Properties

int NumUsers [get, set]
 Get the number of users. More...
 
Skeleton[] Skeletons [get, set]
 Get the skeletons. More...
 
ulong Timestamp [get, set]
 Get the skeleton data timestamp. More...
 
int numUsers [get, set]
 
Skeleton[] skeletons [get, set]
 
- Properties inherited from nuitrack.NativeResources.UnmanagedResource
IntPtr Handle [get]
 

Detailed Description

Stores the information about all available skeletons at a certain point in time.

Member Function Documentation

virtual object nuitrack.SkeletonData.Clone ( )
inlinevirtual

Get a clone of the object (a reference to the object data is added for native resource).

Returns
A clone of the object.
Skeleton nuitrack.SkeletonData.GetSkeletonByID ( int  id)
inline

Get the skeleton by ID.

Parameters
[in]idIdentifier.
Returns
The skeleton by ID.

Property Documentation

int nuitrack.SkeletonData.NumUsers
getset

Get the number of users.

Returns
The number of users.
int nuitrack.SkeletonData.numUsers
getsetprotected
Warning
For internal use only.
Skeleton [] nuitrack.SkeletonData.Skeletons
getset

Get the skeletons.

Returns
The skeletons.
ulong nuitrack.SkeletonData.Timestamp
getset

Get the skeleton data timestamp.

Returns
The timestamp.