コード例 #1
0
ファイル: testApp.cpp プロジェクト: yinnie/3Dsensing
//--------------------------------------------------------------
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;
}