44 #ifndef __vpPylonGrabberUsb_h_ 45 #define __vpPylonGrabberUsb_h_ 47 #include <visp3/core/vpConfig.h> 49 #include <visp3/sensor/vpPylonGrabber.h> 51 #ifdef VISP_HAVE_PYLON 53 #include <pylon/usb/BaslerUsbInstantCamera.h> 105 float setExposure(
bool exposure_on,
bool exposure_auto,
float exposure_value = 0);
106 float setGain(
bool gain_auto,
float gain_value = 0);
108 float setGamma(
bool gamma_on,
float gamma_value = 1);
120 Pylon::CBaslerUsbInstantCamera m_camera;
121 unsigned int m_index;
122 unsigned int m_numCameras;
126 #endif // #ifdef VISP_HAVE_PYLON 127 #endif // #ifndef __vpPylonGrabberUsb_h_ virtual unsigned int getNumCameras()=0
Get the number of cameras of specific subclasses. GigE, USB, etc.
virtual Pylon::CInstantCamera * getCameraHandler()=0
virtual UserSetName getUserSetDefault()=0
Gets the configuration set being used as the default startup set.
virtual void setCameraSerial(const std::string &serial)=0
virtual void open(vpImage< unsigned char > &I)=0
virtual void startCapture()=0
virtual float setGamma(bool gamma_on, float gamma_value=1)=0
virtual float getBlackLevel()=0
virtual bool saveUserSet(UserSetName user_set, bool set_default=false)=0
Saves the current active configuration set into the selected user set.
virtual float getGain()=0
virtual float setExposure(bool exposure_on, bool exposure_auto, float exposure_value)=0
virtual void close()=0
Stop active camera capturing images and disconnect the active camera.
virtual float setBlackLevel(float blacklevel_value)=0
bool isCaptureStarted() const
Return true if the camera capture is started.
virtual vpPylonGrabber & operator>>(vpImage< unsigned char > &I)=0
virtual float getFrameRate()=0
bool isConnected() const
Return true if the camera is connected.
virtual std::string getCameraSerial(unsigned int index)=0
virtual void acquire(vpImage< unsigned char > &I)=0
virtual void disconnect()=0
virtual float setFrameRate(float frame_rate)=0
virtual float setGain(bool gain_auto, float gain_value)=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 void setCameraIndex(unsigned int index)=0
virtual std::ostream & getCameraInfo(std::ostream &os)=0
virtual bool setUserSetDefault(UserSetName user_set)=0
Sets the configuration set to be used as the default startup set.
virtual void stopCapture()=0
virtual float getGamma()=0
unsigned int getCameraIndex() const
virtual float getExposure()=0