Nuitrack
1.11.2
3D Skeleton Tracking Middleware
|
Represents a user map with the information about the floor. More...
Inherits nuitrack.Frame< T >.
Public Member Functions | |
User | GetUserByID (int id) |
Get the user by ID. More... | |
override object | Clone () |
Get a clone of the frame (a reference to the frame data is added for native resource). More... | |
Public Member Functions inherited from nuitrack.Frame< T > | |
override void | Initialize () |
Initialize the frame data with UnmanagedResource Handle. | |
T | GetAt (int row, int col) |
Get the number of rows and columns. More... | |
T | GetAt (int i) |
Get the value of i-th element. More... | |
Public Member Functions inherited from nuitrack.NativeResources.UnmanagedResource | |
void | Dispose () |
Protected Member Functions | |
UserFrame (IntPtr ptr, nuitrack.NativeResources.Deleter deleter) | |
override UInt16 | GetValue (int i) |
override UInt16 | GetValue (int row, int col) |
Protected Member Functions inherited from nuitrack.Frame< T > | |
Frame (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 | numUsers |
User[] | users |
Vector3 | floor |
Vector3 | floorNormal |
Protected Attributes inherited from nuitrack.Frame< T > | |
int | rows |
int | cols |
ulong | id |
ulong | timestamp |
IntPtr | data |
Properties | |
int | NumUsers [get, set] |
Get the number of users. More... | |
User[] | Users [get, set] |
Get the users. More... | |
Vector3 | Floor [get, set] |
Get the floor in the form of a point. More... | |
Vector3 | FloorNormal [get, set] |
Get the floor in the form of a normal vector. More... | |
Properties inherited from nuitrack.Frame< T > | |
int | Rows [get, set] |
Get the number of rows in a frame. More... | |
int | Cols [get, set] |
Get the number of columns in a frame. More... | |
ulong | ID [get] |
Get the frame ID. More... | |
ulong | Timestamp [get, set] |
Get the frame timestamp. More... | |
T | this[int row, int col] [get] |
Get the value of nuitrack.Frame element with the specified row and column. More... | |
T | this[int i] [get] |
Get the value of nuitrack.Frame i-th element. More... | |
IntPtr | Data [get, set] |
Get a pointer to the frame data. More... | |
int | DataSize [get] |
Get the size of the frame data. More... | |
Properties inherited from nuitrack.NativeResources.UnmanagedResource | |
IntPtr | Handle [get] |
Represents a user map with the information about the floor.
Each UserFrame element stores the ID of a user to which the corresponding frame pixel belongs.
The floor is represented in the form of a plane: as a point and a normal vector. This properties can be accessed via UserFrame::Vector3.Floor and UserFrame::Vector3.FloorNormal respectively.
|
inlinevirtual |
Get a clone of the frame (a reference to the frame data is added for native resource).
Implements nuitrack.Frame< T >.
|
inline |
|
inlineprotectedvirtual |
Implements nuitrack.Frame< T >.
|
inlineprotectedvirtual |
Implements nuitrack.Frame< T >.
|
protected |
|
getset |
Get the floor in the form of a point.
|
getset |
Get the floor in the form of a normal vector.
|
getset |
Get the number of users.
|
getset |
Get the users.