Fawkes API
Fawkes Development Version
|
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;
virtual unsigned char * buffer()
Get access to current image buffer.
virtual ~LeutronCamera()
Destructor.
LeutronCamera()
Constructor.
virtual bool ready()
Camera is ready for taking pictures.
Cameras accessed through Leutron framegrabber.
virtual colorspace_t colorspace()
Colorspace of returned image.
virtual void set_image_number(unsigned int n)
Set image number to retrieve.
virtual void print_info()
Print out camera information.
virtual void close()
Close camera.
virtual void start()
Start image transfer from the camera.
virtual void open()
Open the camera.
virtual void flush()
Flush image queue.
virtual void capture()
Capture an image.
virtual void dispose_buffer()
Dispose current buffer.
Camera interface for image aquiring devices in FireVision.
virtual unsigned int pixel_height()
Height of image in pixels.
virtual unsigned int buffer_size()
Size of buffer.
virtual unsigned int pixel_width()
Width of image in pixels.
virtual void stop()
Stop image transfer from the camera.