// データの更新処理 void update() { // Kinectの状態更新 updateKinectAvailable(); // カラーフレームの更新 updateColorFrame(); }
void KinectHelper::start(){ connect(depthListener, SIGNAL(new_frame_available(VideoFrameRef)), this, SLOT(updateDepthFrame(VideoFrameRef))); connect(colorListener, SIGNAL(new_frame_available(VideoFrameRef)), this, SLOT(updateColorFrame(VideoFrameRef))); connect(depthListener, SIGNAL(new_frame_available(VideoFrameRef)), this, SLOT(consume())); connect(colorListener, SIGNAL(new_frame_available(VideoFrameRef)), this, SLOT(consume())); }
void update() { updateColorFrame(); updateDepthFrame(); updateFusionFrame(); }
// データの更新処理 void update() { updateColorFrame(); }