1 #include <visp3/core/vpConfig.h>
3 #include <visp3/gui/vpDisplayGDI.h>
4 #include <visp3/gui/vpDisplayX.h>
8 #ifdef ENABLE_VISP_NAMESPACE
15 #if defined(VISP_HAVE_X11)
17 #elif defined(VISP_HAVE_GDI)
28 std::cout <<
"A click to quit..." << std::endl;
32 std::cout <<
"Catch an exception: " << e.
getMessage() << std::endl;
Display for windows using GDI (available on any windows 32 platform).
static bool getClick(const vpImage< unsigned char > &I, bool blocking=true)
static void display(const vpImage< unsigned char > &I)
static void setTitle(const vpImage< unsigned char > &I, const std::string &windowtitle)
static void flush(const vpImage< unsigned char > &I)
static void displayRectangle(const vpImage< unsigned char > &I, const vpImagePoint &topLeft, unsigned int width, unsigned int height, const vpColor &color, bool fill=false, unsigned int thickness=1)
error that can be emitted by ViSP classes.
const char * getMessage() const
unsigned int getWidth() const
unsigned int getHeight() const