// データの更新処理
    void update()
    {
        // Kinectの状態更新
        updateKinectAvailable();

        // カラーフレームの更新
        updateColorFrame();
    }
예제 #2
0
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()));
}
예제 #3
0
파일: main.cpp 프로젝트: noa99kee/K4W2-Book
	void update()
	{
		updateColorFrame();
		updateDepthFrame();
		updateFusionFrame();
	}
예제 #4
0
 // データの更新処理
 void update()
 {
     updateColorFrame();
 }