24 #ifndef _FIREVISION_CAMERA_H_
25 #define _FIREVISION_CAMERA_H_
27 #include <fvutils/color/colorspaces.h>
28 #include <utils/time/time.h>
30 namespace firevision {
A class for handling time.
Camera interface for image aquiring devices in FireVision.
virtual void stop()=0
Stop image transfer from the camera.
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 close()=0
Close camera.
virtual unsigned int pixel_height()=0
Height of image in pixels.
virtual unsigned int buffer_size()=0
Size of buffer.
virtual void flush()=0
Flush image queue.
virtual void dispose_buffer()=0
Dispose current buffer.
virtual void print_info()=0
Print out camera information.
virtual unsigned int pixel_width()=0
Width of image in pixels.
virtual void open()=0
Open the camera.
virtual void capture()=0
Capture an image.
virtual colorspace_t colorspace()=0
Colorspace of returned image.
virtual unsigned char * buffer()=0
Get access to current image buffer.
virtual void start()=0
Start image transfer from the camera.
virtual bool ready()=0
Camera is ready for taking pictures.
virtual ~Camera()
Virtual empty destructor.