示例#1
0
//--------------------------------------------------------------
void testApp::handEvent(ofxOpenNIHandEvent & event){
    // show hand event messages in the console
    ofLogNotice() << getHandStatusAsString(event.handStatus) << "for hand" << event.id << "from device" << event.deviceID;
}
示例#2
0
//--------------------------------------------------------------
void kinectApp::handEvent(ofxOpenNIHandEvent & event){
    ofLogNotice() << event.id << getHandStatusAsString(event.handStatus) << "from device" << event.deviceID << "at" << event.timestampMillis;
}