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

Stores a color map of a frame. More...

Inherits nuitrack.Frame< T >.

Public Member Functions

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.
 
GetAt (int row, int col)
 Get the number of rows and columns. More...
 
GetAt (int i)
 Get the value of i-th element. More...
 
- Public Member Functions inherited from nuitrack.NativeResources.UnmanagedResource
void Dispose ()
 

Protected Member Functions

 ColorFrame (IntPtr ptr, nuitrack.NativeResources.Deleter deleter)
 
override Color3 GetValue (int i)
 
override Color3 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)
 

Additional Inherited Members

- Protected Attributes inherited from nuitrack.Frame< T >
int rows
 
int cols
 
ulong id
 
ulong timestamp
 
IntPtr data
 
- 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...
 
this[int row, int col] [get]
 Get the value of nuitrack.Frame element with the specified row and column. More...
 
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]
 

Detailed Description

Stores a color map of a frame.

Member Function Documentation

override object nuitrack.ColorFrame.Clone ( )
inlinevirtual

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

Returns
A clone of the frame.

Implements nuitrack.Frame< T >.

override Color3 nuitrack.ColorFrame.GetValue ( int  i)
inlineprotectedvirtual
Warning
For internal use only.

Implements nuitrack.Frame< T >.

override Color3 nuitrack.ColorFrame.GetValue ( int  row,
int  col 
)
inlineprotectedvirtual
Warning
For internal use only.

Implements nuitrack.Frame< T >.