00001 #ifndef __Rasterizer_H__ 00002 #define __Rasterizer_H__ 00003 00004 #include "Image.h" 00005 #include "Rasterizable.h" 00006 00007 namespace EdgeDetection 00008 { 00009 // This is the abstract base class for all rasterizers. They can rasterize any 00010 // object implementing the 'Rasterizable' interface. 00011 class Rasterizer 00012 { 00013 public: virtual Image* Rasterize(Rasterizable* object, int width, int height) = 0; 00014 }; 00015 }; 00016 00017 #endif