1 #include <visp3/sensor/vpFlyCaptureGrabber.h>
3 #include <visp3/gui/vpDisplayX.h>
4 #include <visp3/gui/vpDisplayGDI.h>
5 #include <visp3/core/vpImage.h>
9 #ifdef VISP_HAVE_FLYCAPTURE
31 #if defined(VISP_HAVE_X11)
33 #elif defined(VISP_HAVE_GDI)
36 std::cout <<
"No image viewer is available..." << std::endl;
static bool getClick(const vpImage< unsigned char > &I, bool blocking=true)
unsigned int getWidth() const
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)
float setShutter(bool auto_shutter, float shutter_ms=10)
Use the X11 console to display images on unix-like OS. Thus to enable this class X11 should be instal...
void acquire(vpImage< unsigned char > &I)
error that can be emited by ViSP classes.
static void flush(const vpImage< unsigned char > &I)
void open(vpImage< unsigned char > &I)
float setGain(bool gain_auto, float gain_value=0)
static void display(const vpImage< unsigned char > &I)
unsigned int getHeight() const
const std::string & getStringMessage(void) const
Send a reference (constant) related the error message (can be empty).
void setVideoModeAndFrameRate(FlyCapture2::VideoMode video_mode, FlyCapture2::FrameRate frame_rate)