00001 #ifndef __GENERATOR_H__ 00002 #define __GENERATOR_H__ 00003 00004 #include <stdint.h> 00005 #include "processor.h" 00006 00007 namespace generators { 00008 00014 class Generator : public spectral::Processor 00015 { 00016 public: 00017 Generator() 00018 : Processor() 00019 {} 00020 virtual ~Generator() 00021 {} 00022 00023 protected: 00027 void DrawLine(spectral::Image *image, 00028 void *data, 00029 float x1, 00030 float y1, 00031 float x2, 00032 float y2, 00033 bool(*draw_pixel)(spectral::Image *, void *, int, int, float, float)); 00034 }; 00035 00036 } 00037 00038 #endif