TSPS
1.3.2
TSPS is a cross-platform Toolkit for Sensing People in Spaces
|
#include <OpenNIPerson.h>
Public Member Functions | |
OpenNIPerson (int pid, int oid) | |
void | draw (int cameraWidth, int cameraHeight, bool bSendContours=false, bool bSendHaar=false, float haarPadding=0) |
void | update (ofxOpenNIUser &user) |
string | getJSON (string type, ofPoint centroid, int cameraWidth, int cameraHeight, bool bSendContours=false, string append="") |
vector< ofxOscMessage > | getOSCMessages (string type, bool bUseLegacy, int cameraWidth, int cameraHeight, bool sendContours) |
Public Attributes | |
vector< ofxOpenNILimb > | skeleton |
Definition at line 15 of file OpenNIPerson.h.
ofxTSPS::OpenNIPerson::OpenNIPerson | ( | int | pid, |
int | oid | ||
) |
Definition at line 10 of file OpenNIPerson.cpp.
void ofxTSPS::OpenNIPerson::draw | ( | int | cameraWidth, |
int | cameraHeight, | ||
bool | bSendContours = false , |
||
bool | bSendHaar = false , |
||
float | haarPadding = 0 |
||
) | [virtual] |
Reimplemented from ofxTSPS::Person.
Definition at line 15 of file OpenNIPerson.cpp.
string ofxTSPS::OpenNIPerson::getJSON | ( | string | type, |
ofPoint | centroid, | ||
int | cameraWidth, | ||
int | cameraHeight, | ||
bool | bSendContours = false , |
||
string | append = "" |
||
) | [virtual] |
Reimplemented from ofxTSPS::Person.
Definition at line 43 of file OpenNIPerson.cpp.
vector< ofxOscMessage > ofxTSPS::OpenNIPerson::getOSCMessages | ( | string | type, |
bool | bUseLegacy, | ||
int | cameraWidth, | ||
int | cameraHeight, | ||
bool | sendContours | ||
) | [virtual] |
Reimplemented from ofxTSPS::Person.
Definition at line 62 of file OpenNIPerson.cpp.
void ofxTSPS::OpenNIPerson::update | ( | ofxOpenNIUser & | user | ) |
Definition at line 28 of file OpenNIPerson.cpp.
vector<ofxOpenNILimb> ofxTSPS::OpenNIPerson::skeleton |
Definition at line 18 of file OpenNIPerson.h.