2 #include <visp3/core/vpImage.h> 3 #include <visp3/gui/vpDisplayGDI.h> 4 #include <visp3/gui/vpDisplayX.h> 5 #include <visp3/sensor/vpRealSense.h> 12 #ifdef VISP_HAVE_REALSENSE 17 unsigned int width = 640, height = 480;
26 #elif defined(VISP_HAVE_GDI) 29 std::cout <<
"No image viewer is available..." << std::endl;
46 std::cout <<
"Catch an exception: " << e << std::endl;
static bool getClick(const vpImage< unsigned char > &I, bool blocking=true)
Display for windows using GDI (available on any windows 32 platform).
static void displayText(const vpImage< unsigned char > &I, const vpImagePoint &ip, const std::string &s, const vpColor &color)
Use the X11 console to display images on unix-like OS. Thus to enable this class X11 should be instal...
error that can be emited by ViSP classes.
void acquire(std::vector< vpColVector > &pointcloud)
static void flush(const vpImage< unsigned char > &I)
VISP_EXPORT double measureTimeMs()
static void display(const vpImage< unsigned char > &I)
void setStreamSettings(const rs::stream &stream, const rs::preset &preset)
unsigned int getHeight() const
unsigned int getWidth() const