Represents a generalized frame.
More...
Inherits nuitrack.NativeResources.PooledUnmanagedResource, and ICloneable.
Inherited by nuitrack.ColorFrame, nuitrack.DepthFrame, and nuitrack.UserFrame.
|
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...
|
|
abstract object | Clone () |
| Get a clone of the frame (a reference to the frame data is added for native resource). More...
|
|
void | Dispose () |
|
|
| Frame (IntPtr ptr, nuitrack.NativeResources.Deleter deleter) |
|
abstract T | GetValue (int i) |
|
abstract T | GetValue (int row, int col) |
|
| PooledUnmanagedResource (IntPtr ptr, Deleter deleter) |
|
override void | Dispose (bool disposing) |
|
| UnmanagedResource (IntPtr ptr, Deleter deleter) |
|
|
int | rows |
|
int | cols |
|
ulong | id |
|
ulong | timestamp |
|
IntPtr | data |
|
Represents a generalized frame.
abstract object nuitrack.Frame< T >.Clone |
( |
| ) |
|
|
pure virtual |
T nuitrack.Frame< T >.GetAt |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
|
inline |
Get the number of rows and columns.
- Returns
- The number of rows and columns.
- Parameters
-
[in] | row | Number of rows. |
[in] | col | Number of columns. |
T nuitrack.Frame< T >.GetAt |
( |
int |
i | ) |
|
|
inline |
Get the value of i-th element.
- Returns
- The value of i-th element.
- Parameters
-
[in] | i | The number of element. |
abstract T nuitrack.Frame< T >.GetValue |
( |
int |
i | ) |
|
|
protectedpure virtual |
int nuitrack.Frame< T >.rows |
|
protected |
- Warning
- For internal use only.
int nuitrack.Frame< T >.Cols |
|
getset |
Get the number of columns in a frame.
- Returns
- The number of columns in a frame.
IntPtr nuitrack.Frame< T >.Data |
|
getset |
Get a pointer to the frame data.
- Returns
- A pointer to the first byte of the frame data.
int nuitrack.Frame< T >.DataSize |
|
get |
Get the size of the frame data.
- Returns
- The size (in bytes) of the frame data.
ulong nuitrack.Frame< T >.ID |
|
get |
Get the frame ID.
- Returns
- The frame ID.
int nuitrack.Frame< T >.Rows |
|
getset |
Get the number of rows in a frame.
- Returns
- The number of rows in a frame.
T nuitrack.Frame< T >.this[int i] |
|
get |
Get the value of nuitrack.Frame i-th element.
- Parameters
-
[in] | i | The number of element. |
T nuitrack.Frame< T >.this[int row, int col] |
|
get |
Get the value of nuitrack.Frame element with the specified row and column.
- Parameters
-
[in] | row | Rows. |
[in] | col | Columns. |
ulong nuitrack.Frame< T >.Timestamp |
|
getset |
Get the frame timestamp.
- Returns
- The frame timestamp.