43 #ifndef vpDisplayOpenCV_h
44 #define vpDisplayOpenCV_h
46 #include <visp/vpConfig.h>
47 #include <visp/vpDisplay.h>
48 #if ( defined(VISP_HAVE_OPENCV) )
50 #include <visp/vpImage.h>
51 #include <visp/vpImageConvert.h>
53 #if VISP_HAVE_OPENCV_VERSION >= 0x020101
54 # include <opencv2/core/core.hpp>
55 # include <opencv2/highgui/highgui.hpp>
148 IplImage* background;
180 const char *title=NULL) ;
182 const char *title=NULL) ;
187 int winx=-1,
int winy=-1,
188 const char *title=NULL) ;
190 int winx=-1,
int winy=-1,
191 const char *title=NULL) ;
193 void init(
unsigned int width,
unsigned int height,
194 int winx=-1,
int winy=-1 ,
195 const char *title=NULL) ;
199 void setFont(
const char *font );
210 unsigned int w=4,
unsigned int h=2,
211 unsigned int thickness=1) ;
219 unsigned int thickness=1);
221 const vpColor &color,
unsigned int thickness=1) ;
224 const vpColor &color,
unsigned int thickness=1) ;
235 const vpColor &color,
unsigned int thickness=1) ;
239 unsigned int width,
unsigned int height,
240 const vpColor &color,
bool fill =
false,
241 unsigned int thickness=1) ;
244 const vpColor &color,
bool fill =
false,
245 unsigned int thickness=1) ;
247 const vpColor &color,
bool fill =
false,
248 unsigned int thickness=1) ;
257 bool blocking=
true) ;
260 bool blocking=
true) ;
270 static void on_mouse(
int event,
int x,
int y,
int flags,
void* param );