45 #ifndef _vpPylonGrabber_h_
46 #define _vpPylonGrabber_h_
49 #include <visp3/core/vpConfig.h>
50 #include <visp3/core/vpFrameGrabber.h>
52 #ifdef VISP_HAVE_PYLON
65 #include <pylon/PylonIncludes.h>
324 virtual float setExposure(
bool exposure_on,
bool exposure_auto,
float exposure_value) = 0;
337 virtual float setGain(
bool gain_auto,
float gain_value) = 0;
358 virtual float setGamma(
bool gamma_on,
float gamma_value = 1) = 0;
Base class for all video devices. It is designed to provide a front end to video sources.
virtual void startCapture()=0
virtual void close()=0
Stop active camera capturing images and disconnect the active camera.
virtual float getFrameRate()=0
virtual void disconnect()=0
virtual float setExposure(bool exposure_on, bool exposure_auto, float exposure_value)=0
virtual float setGain(bool gain_auto, float gain_value)=0
virtual bool isConnected() const =0
Return true if the camera is connected.
virtual unsigned int getNumCameras()=0
Get the number of cameras of specific subclasses. GigE, USB, etc.
virtual void open(vpImage< vpRGBa > &I)=0
virtual void setCameraSerial(const std::string &serial)=0
virtual vpPylonGrabber & operator>>(vpImage< vpRGBa > &I)=0
virtual float getBlackLevel()=0
virtual void acquire(vpImage< vpRGBa > &I)=0
virtual float setGamma(bool gamma_on, float gamma_value=1)=0
virtual float setFrameRate(float frame_rate)=0
virtual float getGain()=0
virtual void acquire(vpImage< unsigned char > &I)=0
virtual void stopCapture()=0
virtual float getExposure()=0
virtual bool setUserSetDefault(UserSetName user_set)=0
Sets the configuration set to be used as the default startup set.
virtual void open(vpImage< unsigned char > &I)=0
virtual vpPylonGrabber & operator>>(vpImage< unsigned char > &I)=0
virtual unsigned int getCameraIndex() const =0
virtual std::string getCameraSerial(unsigned int index)=0
virtual std::ostream & getCameraInfo(std::ostream &os)=0
virtual UserSetName getUserSetDefault()=0
Gets the configuration set being used as the default startup set.
virtual ~vpPylonGrabber()
virtual bool isCaptureStarted() const =0
Return true if the camera capture is started.
@ USERSET_DEFAULT
The default user set.
@ USERSET_USERSET1
User set 1.
@ USERSET_USERSET3
User set 3.
@ USERSET_USERSET2
User set 2.
virtual Pylon::CInstantCamera * getCameraHandler()=0
virtual void setCameraIndex(unsigned int index)=0
virtual bool loadUserSet(UserSetName user_set)=0
Loads the selected configuration into the camera's volatile memory and makes it the active configurat...
virtual bool saveUserSet(UserSetName user_set, bool set_default=false)=0
Saves the current active configuration set into the selected user set.
virtual float setBlackLevel(float blacklevel_value)=0
virtual float getGamma()=0