Ejemplo n.º 1
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()));
}
Ejemplo n.º 2
0
	void update()
	{
		updateColorFrame();
		updateDepthFrame();
		updateFusionFrame();
	}