Initial implementation of keyboard callback registration mechanism without boost

This commit is contained in:
ozantonkal
2013-05-29 20:58:57 +02:00
parent e75057956a
commit e10582ce4f
6 changed files with 95 additions and 32 deletions

View File

@@ -10,6 +10,7 @@
#include <string>
#include <opencv2/viz/types.hpp>
#include <opencv2/viz/events.hpp>
namespace temp_viz
{
@@ -57,6 +58,8 @@ namespace temp_viz
void spin ();
void spinOnce (int time = 1, bool force_redraw = false);
void registerKeyboardCallback(void (*callback)(const cv::KeyboardEvent&, void*), void* cookie = NULL);
private:
Viz3d(const Viz3d&);