24 #ifndef __FIREVISION_CAMERA_H_ 25 #define __FIREVISION_CAMERA_H_ 27 #include <fvutils/color/colorspaces.h> 28 #include <utils/time/time.h> 41 virtual void open() = 0;
42 virtual void start() = 0;
43 virtual void stop() = 0;
44 virtual void close() = 0;
46 virtual void flush() = 0;
48 virtual bool ready() = 0;
52 virtual unsigned char *
buffer() = 0;
virtual unsigned int buffer_size()=0
Size of buffer.
Camera interface for image aquiring devices in FireVision.
virtual void stop()=0
Stop image transfer from the camera.
virtual unsigned int pixel_width()=0
Width of image in pixels.
A class for handling time.
virtual colorspace_t colorspace()=0
Colorspace of returned image.
virtual void print_info()=0
Print out camera information.
virtual bool ready()=0
Camera is ready for taking pictures.
virtual void capture()=0
Capture an image.
virtual fawkes::Time * capture_time()
Get the Time of the last successfully captured image.
virtual void set_image_number(unsigned int n)=0
Set image number to retrieve.
virtual void flush()=0
Flush image queue.
virtual void open()=0
Open the camera.
virtual void close()=0
Close camera.
virtual ~Camera()
Virtual empty destructor.
virtual unsigned char * buffer()=0
Get access to current image buffer.
virtual unsigned int pixel_height()=0
Height of image in pixels.
virtual void start()=0
Start image transfer from the camera.
virtual void dispose_buffer()=0
Dispose current buffer.