44 #ifndef _vpPylonGrabberGigE_h_
45 #define _vpPylonGrabberGigE_h_
47 #include <visp3/core/vpConfig.h>
49 #include <visp3/sensor/vpPylonGrabber.h>
51 #ifdef VISP_HAVE_PYLON
53 #include <pylon/gige/BaslerGigEInstantCamera.h>
106 float setExposure(
bool exposure_on,
bool exposure_auto,
float exposure_value = 0);
107 float setGain(
bool gain_auto,
float gain_value = 0);
109 float setGamma(
bool gamma_on,
float gamma_value = 1);
110 bool saveUserSet(UserSetName user_set,
bool set_default =
false);
118 bool selectUserSet(UserSetName user_set);
121 Pylon::CBaslerGigEInstantCamera m_camera;
122 unsigned int m_index;
123 unsigned int m_numCameras;
bool isCaptureStarted() const
Return true if the camera capture is started.
unsigned int getCameraIndex() const
bool isConnected() const
Return true if the camera is connected.
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 unsigned int getNumCameras()=0
Get the number of cameras of specific subclasses. GigE, USB, etc.
virtual void setCameraSerial(const std::string &serial)=0
virtual float getBlackLevel()=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 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 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