31 #include "drawingHelpers.h"
33 #include <visp3/core/vpImageConvert.h>
35 #if defined(VISP_HAVE_X11)
41 #elif defined(HAVE_OPENCV_HIGHGUI)
47 #elif defined(VISP_HAVE_GTK)
53 #elif defined(VISP_HAVE_GDI)
59 #elif defined(VISP_HAVE_D3D9)
70 #if defined(VISP_HAVE_DISPLAY)
73 if (p_dIx !=
nullptr) {
76 if (p_dIy !=
nullptr) {
79 if (p_IcannyimgFilter !=
nullptr) {
87 (void)p_IcannyimgFilter;
105 bool hasToContinue =
true;
108 hasToContinue =
false;
111 return hasToContinue;
Display for windows using Direct3D 3rd party. Thus to enable this class Direct3D should be installed....
Display for windows using GDI (available on any windows 32 platform).
The vpDisplayGTK allows to display image using the GTK 3rd party library. Thus to enable this class G...
The vpDisplayOpenCV allows to display image using the OpenCV library. Thus to enable this class OpenC...
Use the X11 console to display images on unix-like OS. Thus to enable this class X11 should be instal...
void init(vpImage< unsigned char > &I, int win_x=-1, int win_y=-1, const std::string &win_title="") vp_override
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 displayText(const vpImage< unsigned char > &I, const vpImagePoint &ip, const std::string &s, const vpColor &color)
unsigned int getWidth() const
unsigned int getHeight() const
vpDisplayX d_IcannyImgFilter
bool waitForClick(const vpImage< unsigned char > &I, const bool &blockingMode)
Catch the user clicks to know if the user wants to stop the program.
void display(vpImage< unsigned char > &I, const std::string &title)
Display a gray-scale image.
void init(vpImage< unsigned char > &Iinput, vpImage< unsigned char > &IcannyVisp, vpImage< unsigned char > *p_dIx, vpImage< unsigned char > *p_dIy, vpImage< unsigned char > *p_IcannyimgFilter)
Initialize the different displays.