43 #ifndef vpDisplayOpenCV_h
44 #define vpDisplayOpenCV_h
46 #include <visp/vpConfig.h>
47 #if ( defined(VISP_HAVE_OPENCV) )
49 #include <visp/vpImage.h>
50 #include <visp/vpImageConvert.h>
51 #include <visp/vpDisplay.h>
53 #if VISP_HAVE_OPENCV_VERSION >= 0x020101
54 # include <opencv2/core/core.hpp>
55 # include <opencv2/highgui/highgui.hpp>
148 IplImage* background;
183 const char *title=NULL) ;
185 const char *title=NULL) ;
190 int winx=-1,
int winy=-1,
191 const char *title=NULL) ;
193 int winx=-1,
int winy=-1,
194 const char *title=NULL) ;
196 void init(
unsigned int width,
unsigned int height,
197 int winx=-1,
int winy=-1 ,
198 const char *title=NULL) ;
202 void setFont(
const char *font );
213 unsigned int w=4,
unsigned int h=2,
214 unsigned int thickness=1) ;
222 unsigned int thickness=1);
224 const vpColor &color,
unsigned int thickness=1) ;
227 const vpColor &color,
unsigned int thickness=1) ;
238 const vpColor &color,
unsigned int thickness=1) ;
242 unsigned int width,
unsigned int height,
243 const vpColor &color,
bool fill =
false,
244 unsigned int thickness=1) ;
247 const vpColor &color,
bool fill =
false,
248 unsigned int thickness=1) ;
250 const vpColor &color,
bool fill =
false,
251 unsigned int thickness=1) ;
260 bool blocking=
true) ;
263 bool blocking=
true) ;
273 static void on_mouse(
int event,
int x,
int y,
int flags,
void* param );