TSPS  1.3.2
TSPS is a cross-platform Toolkit for Sensing People in Spaces
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Defines
ofxTSPS::OpenNIPerson Class Reference

#include <OpenNIPerson.h>

Inheritance diagram for ofxTSPS::OpenNIPerson:
ofxTSPS::Person

List of all members.

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

Detailed Description

Definition at line 15 of file OpenNIPerson.h.


Constructor & Destructor Documentation

ofxTSPS::OpenNIPerson::OpenNIPerson ( int  pid,
int  oid 
)

Definition at line 10 of file OpenNIPerson.cpp.


Member Function Documentation

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.


Member Data Documentation

vector<ofxOpenNILimb> ofxTSPS::OpenNIPerson::skeleton

Definition at line 18 of file OpenNIPerson.h.


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