36 #ifndef _vpUeyeGrabber_h_ 37 #define _vpUeyeGrabber_h_ 39 #include <visp3/core/vpConfig.h> 40 #include <visp3/core/vpImage.h> 87 void acquire(
vpImage<unsigned char> &I,
double *timestamp_camera = NULL, std::string *timestamp_system = NULL);
88 void acquire(
vpImage<vpRGBa> &I,
double *timestamp_camera = NULL, std::string *timestamp_system = NULL);
90 std::string getActiveCameraModel()
const;
91 std::string getActiveCameraSerialNumber()
const;
93 std::vector<unsigned int> getCameraIDList()
const;
94 std::vector<std::string> getCameraModelList()
const;
95 std::vector<std::string> getCameraSerialNumberList()
const;
96 double getFramerate()
const;
97 unsigned int getFrameHeight()
const;
98 unsigned int getFrameWidth()
const;
100 bool isConnected()
const;
101 void loadParameters(
const std::string &filename);
105 bool setActiveCamera(
unsigned int cam_index);
106 bool setColorMode(
const std::string &color_mode);
107 bool setExposure(
bool auto_exposure,
double exposure_ms = -1);
108 bool setFrameRate(
bool auto_frame_rate,
double manual_frame_rate_hz = -1);
109 bool setGain(
bool auto_gain,
int master_gain = -1,
bool gain_boost =
false);
110 void setSubsampling(
int factor);
111 void setVerbose(
bool verbose);
112 void setWhiteBalance(
bool auto_wb);
118 class vpUeyeGrabberImpl;
119 vpUeyeGrabberImpl *m_impl;