148 void convert(
const void *pImageBuffer);
Grabber implementation for a Basler Pylon-based GIG-E Grabber.
Definition: PylonGrabber.h:88
undocument this line if you encounter any issues!
Definition: Any.h:37
void convert(const void *pImageBuffer)
Converts pImageBuffer to correct type and writes it into m_Image.
PylonGrabberThread * m_GrabberThread
PylonGrabberThread used for continous image acquisition.
Definition: PylonGrabber.h:127
This is the color-conversion-class for Pylon images.
Definition: PylonColorConverter.h:58
void grabbingStop()
deregisters buffers from grabber and deletes them
void acquisitionStop()
stops the acquisition of pictures by the camera
Pylon::IPylonDevice * m_Camera
The camera interface.
Definition: PylonGrabber.h:119
Pylon::IStreamGrabber * m_Grabber
The streamGrabber of the camera.
Definition: PylonGrabber.h:121
ICLIO_API PylonGrabber(const Pylon::CDeviceInfo &dev, const std::string args)
The constructor.
static ICLIO_API Pylon::CDeviceInfo getDeviceFromArgs(std::string args)
Uses args to choose a pylon device.
utils::Mutex m_ImgMutex
A mutex lock to synchronize buffer and color converter access.
Definition: PylonGrabber.h:113
PylonAutoEnv m_PylonEnv
The PylonEnvironment automation.
Definition: PylonGrabber.h:115
#define ICLIO_API
Definition: CompatMacros.h:176
ICLIO_API ~PylonGrabber()
Destructor.
std::vector< PylonGrabberBuffer< uint16_t > * > m_BufferList
A list of used buffers.
Definition: PylonGrabber.h:129
void cameraDefaultSettings()
helper function that makes default settings for the camera.
Common interface class for all grabbers.
Definition: Grabber.h:153
core::ImgBase * m_LastBuffer
A pointer to the last used buffer.
Definition: PylonGrabber.h:131
void grabbingStart()
creates buffers and registers them at the grabber
Utility Structure.
Definition: PylonUtils.h:202
PylonCameraOptions * m_CameraOptions
PylonCameraOptions used to get and set camera settings.
Definition: PylonGrabber.h:123
void acquisitionStart()
starts the acquisition of pictures by the camera
pylon::PylonGrabber PylonGrabber
Definition: PylonGrabber.h:153
virtual ICLIO_API const core::ImgBase * acquireImage()
grab function grabs an image (destination image is adapted on demand)
PylonColorConverter * m_ColorConverter
PylonColorConverter used for color conversion.
Definition: PylonGrabber.h:125
Internally spawned thread class for continuous grabbing.
Definition: PylonGrabberThread.h:46
This is a helper class for Pylon camera settings.
Definition: PylonCameraOptions.h:44
Utility Structure.
Definition: PylonUtils.h:183
Mutex class of the ICL.
Definition: Mutex.h:54
static void printHelp()
Prints information about the startup argument options.
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
static const int m_NumBuffers
Count of buffers for grabbing.
Definition: PylonGrabber.h:117