Fawkes API
Fawkes Development Version
|
24 #ifndef _FIREVISION_FVUTILS_WRITERS_FVRAW_H_
25 #define _FIREVISION_FVUTILS_WRITERS_FVRAW_H_
27 #include <fvutils/writers/writer.h>
29 namespace firevision {
39 colorspace_t colorspace,
40 unsigned char *buffer);
61 unsigned char *buffer;
colorspace_t cspace
The colorspace of the image.
virtual unsigned char * get_write_buffer()
Get write buffer.
FvRawWriter()
Constructor.
virtual void write()
Write to file.
virtual void set_buffer(colorspace_t cspace, unsigned char *buffer)
Set image buffer.
virtual ~FvRawWriter()
Destructor.
char * filename
The complete filename.
static const unsigned int FILE_IDENTIFIER
File identifier for FvRaw images.
virtual void set_dimensions(unsigned int width, unsigned int height)
Set dimensions of image in pixels.
Interface to write images.
FvRaw Writer implementation.
unsigned int height
The height of the image.
unsigned int width
The width of the image.