Nuitrack
1.11.2
3D Skeleton Tracking Middleware
|
Represents a user map with information about the floor. More...
#include <UserFrame.h>
Inherits tdv::nuitrack::Frame< UserFrame, uint16_t >.
Public Member Functions | |
UserFrame (UserTrackerData *pimpl) | |
const std::vector< User > | getUsers () const |
Returns additional information about detected users. More... | |
int | getRows () const |
Returns the number of rows in the user frame. | |
int | getCols () const |
Returns the number of columns in the user frame. | |
uint64_t | getID () const |
Returns the user frame ID. | |
const DataType * | getData () const |
Returns the user frame data. | |
uint64_t | getTimestamp () const |
Returns the data timestamp in microseconds. More... | |
const Vector3 | getFloor () const |
Get point of floor. More... | |
const Vector3 | getFloorNormal () const |
Get normal of floor. More... | |
Additional Inherited Members | |
Public Types inherited from tdv::nuitrack::Frame< UserFrame, uint16_t > | |
typedef uint16_t | DataType |
Public Types inherited from tdv::nuitrack::ObjectData< UserFrame > | |
typedef std::shared_ptr < UserFrame > | Ptr |
Public Types inherited from tdv::nuitrack::BaseObjectData | |
typedef std::shared_ptr < BaseObjectData > | Ptr |
Represents a user map with information about the floor.
Each UserFrame element stores the ID of a user to which corresponding frame pixel belongs.
Additional information about detected users can be accessed trough UserFrame::getUsers.
The floor is represented in the form of a plane: as the point and the normal vector. This properties can be accessed via UserFrame::getFloor and UserFrame::getFloorNormal respectively.
|
inline |
|
inline |
Get point of floor.
|
inline |
Get normal of floor.
|
inlinevirtual |
Returns the data timestamp in microseconds.
The timestamp characterizes the time point to which the data corresponds.
Implements tdv::nuitrack::BaseObjectData.