NiTE 2.0
Public Member Functions | Friends
nite::UserMap Class Reference

#include <NiTE.h>

Inheritance diagram for nite::UserMap:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int getHeight () const
const UserIdgetPixels () const
int getStride () const
int getWidth () const

Friends

class UserTrackerFrameRef

Detailed Description

Supplies a map, its size corresponding with the input frame. For each pixel, it holds the UserId of the user who occupies that pixel. UserId 0 signifies the background - no user detected there.


Member Function Documentation

int nite::UserMap::getHeight ( ) const [inline]

Get the height of the UserMap in pixels.

const UserId* nite::UserMap::getPixels ( ) const [inline]

Get the pixels as an array, size y*stride

int nite::UserMap::getStride ( ) const [inline]

Get the stride - the width of the UserMap in bytes.

int nite::UserMap::getWidth ( ) const [inline]

Get the width of the UserMap in pixels.


Friends And Related Function Documentation

friend class UserTrackerFrameRef [friend]

The documentation for this class was generated from the following file: