24 #ifndef _FIREVISION_CAMS_LEUTRON_H_
25 #define _FIREVISION_CAMS_LEUTRON_H_
27 #include <fvcams/camera.h>
32 namespace firevision {
51 virtual unsigned char *
buffer();
66 const char *camera_name;
70 unsigned short int camera_handle;
71 LvCameraNode * camera;
72 LvGrabberNode * grabber;
76 unsigned int scaled_width;
77 unsigned int scaled_height;
81 unsigned char *scaled_buffer;
Camera interface for image aquiring devices in FireVision.
Cameras accessed through Leutron framegrabber.
virtual void close()
Close camera.
virtual void print_info()
Print out camera information.
virtual void set_image_number(unsigned int n)
Set image number to retrieve.
virtual ~LeutronCamera()
Destructor.
virtual colorspace_t colorspace()
Colorspace of returned image.
virtual unsigned char * buffer()
Get access to current image buffer.
virtual bool ready()
Camera is ready for taking pictures.
virtual unsigned int buffer_size()
Size of buffer.
virtual void start()
Start image transfer from the camera.
virtual unsigned int pixel_width()
Width of image in pixels.
LeutronCamera()
Constructor.
virtual void dispose_buffer()
Dispose current buffer.
virtual void flush()
Flush image queue.
virtual void stop()
Stop image transfer from the camera.
virtual void capture()
Capture an image.
virtual void open()
Open the camera.
virtual unsigned int pixel_height()
Height of image in pixels.