TSPS
1.3.2
TSPS is a cross-platform Toolkit for Sensing People in Spaces
|
#include <OscSender.h>
Public Member Functions | |
OscSender () | |
OscSender (string _ip, int _port) | |
void | setupSender (string _ip, int _port) |
void | update () |
void | personEntered (Person *p, ofPoint centroid, int cameraWidth, int cameraHeight, bool sendContours=false) |
void | personMoved (Person *p, ofPoint centroid, int cameraWidth, int cameraHeight, bool sendContours=false) |
void | personUpdated (Person *p, ofPoint centroid, int cameraWidth, int cameraHeight, bool sendContours=false) |
void | personWillLeave (Person *p, ofPoint centroid, int cameraWidth, int cameraHeight, bool sendContours=false) |
void | customEvent (string eventName, string eventData) |
void | customEvent (string eventName, vector< string >params) |
void | customEvent (string eventName, map< string, string >params) |
void | sceneUpdated (Scene s) |
void | send (ofxOscMessage m) |
void | reroute (string _ip, int _port) |
Public Attributes | |
string | ip |
string | oldip |
int | port |
int | oldport |
bool | useLegacy |
Definition at line 75 of file OscSender.h.
Definition at line 16 of file OscSender.cpp.
ofxTSPS::OscSender::OscSender | ( | string | _ip, |
int | _port | ||
) |
Definition at line 20 of file OscSender.cpp.
void ofxTSPS::OscSender::customEvent | ( | string | eventName, |
string | eventData | ||
) |
Definition at line 99 of file OscSender.cpp.
void ofxTSPS::OscSender::customEvent | ( | string | eventName, |
vector< string > | params | ||
) |
Definition at line 107 of file OscSender.cpp.
void ofxTSPS::OscSender::customEvent | ( | string | eventName, |
map< string, string > | params | ||
) |
Definition at line 119 of file OscSender.cpp.
void ofxTSPS::OscSender::personEntered | ( | Person * | p, |
ofPoint | centroid, | ||
int | cameraWidth, | ||
int | cameraHeight, | ||
bool | sendContours = false |
||
) |
Definition at line 52 of file OscSender.cpp.
void ofxTSPS::OscSender::personMoved | ( | Person * | p, |
ofPoint | centroid, | ||
int | cameraWidth, | ||
int | cameraHeight, | ||
bool | sendContours = false |
||
) |
Definition at line 61 of file OscSender.cpp.
void ofxTSPS::OscSender::personUpdated | ( | Person * | p, |
ofPoint | centroid, | ||
int | cameraWidth, | ||
int | cameraHeight, | ||
bool | sendContours = false |
||
) |
Definition at line 72 of file OscSender.cpp.
void ofxTSPS::OscSender::personWillLeave | ( | Person * | p, |
ofPoint | centroid, | ||
int | cameraWidth, | ||
int | cameraHeight, | ||
bool | sendContours = false |
||
) |
Definition at line 81 of file OscSender.cpp.
void ofxTSPS::OscSender::reroute | ( | string | _ip, |
int | _port | ||
) |
Definition at line 142 of file OscSender.cpp.
void ofxTSPS::OscSender::sceneUpdated | ( | Scene | s | ) |
Definition at line 133 of file OscSender.cpp.
void ofxTSPS::OscSender::send | ( | ofxOscMessage | m | ) |
Definition at line 90 of file OscSender.cpp.
void ofxTSPS::OscSender::setupSender | ( | string | _ip, |
int | _port | ||
) |
Definition at line 24 of file OscSender.cpp.
void ofxTSPS::OscSender::update | ( | ) |
Definition at line 40 of file OscSender.cpp.
string ofxTSPS::OscSender::ip |
Definition at line 80 of file OscSender.h.
string ofxTSPS::OscSender::oldip |
Definition at line 80 of file OscSender.h.
Definition at line 81 of file OscSender.h.
Definition at line 81 of file OscSender.h.
Definition at line 82 of file OscSender.h.