39 #ifndef __vpPylonGrabber_h_ 40 #define __vpPylonGrabber_h_ 43 #include <visp3/core/vpConfig.h> 44 #include <visp3/core/vpFrameGrabber.h> 46 #ifdef VISP_HAVE_PYLON 59 #include <pylon/PylonIncludes.h> 135 virtual void close() = 0;
141 virtual void connect() = 0;
147 virtual void disconnect() = 0;
160 virtual float getBlackLevel() = 0;
166 virtual std::ostream &getCameraInfo(std::ostream &os) = 0;
173 virtual Pylon::CInstantCamera *getCameraHandler() = 0;
175 virtual unsigned int getCameraIndex()
const = 0;
182 virtual std::string getCameraSerial(
unsigned int index) = 0;
194 virtual float getExposure() = 0;
201 virtual float getFrameRate() = 0;
208 virtual float getGain() = 0;
214 virtual unsigned int getNumCameras() = 0;
221 virtual float getGamma() = 0;
231 virtual bool loadUserSet(
UserSetName user_set) = 0;
241 virtual bool isConnected()
const = 0;
243 virtual bool isCaptureStarted()
const = 0;
280 virtual float setBlackLevel(
float blacklevel_value) = 0;
297 virtual void setCameraIndex(
unsigned int index) = 0;
304 virtual void setCameraSerial(
const std::string &serial) = 0;
322 virtual float setExposure(
bool exposure_on,
bool exposure_auto,
float exposure_value) = 0;
335 virtual float setGain(
bool gain_auto,
float gain_value) = 0;
343 virtual float setFrameRate(
float frame_rate) = 0;
356 virtual float setGamma(
bool gamma_on,
float gamma_value = 1) = 0;
368 virtual bool saveUserSet(
UserSetName user_set,
bool set_default =
false) = 0;
378 virtual bool setUserSetDefault(
UserSetName user_set) = 0;
385 virtual void startCapture() = 0;
391 virtual void stopCapture() = 0;
394 #endif // #ifdef VISP_HAVE_PYLON 395 #endif // #ifndef __vpPylonGrabber_h_ virtual ~vpPylonGrabber()
virtual void open(vpImage< unsigned char > &I)=0
Base class for all video devices. It is designed to provide a front end to video sources.
virtual void acquire(vpImage< unsigned char > &I)=0