00001 00005 #ifndef Background_h 00006 #define Background_h 00007 00008 class Color; 00009 class Ray; 00010 class RenderContext; 00011 00016 class Background { 00017 public: 00018 Background(); 00019 virtual ~Background(); 00020 00021 virtual void preprocess(); 00022 virtual void getBackgroundColor(Color& result, const RenderContext& context, const Ray& ray) = 0; 00023 00024 private: 00025 Background(const Background&); 00026 Background& operator=(const Background&); 00027 }; 00028 00029 #endif 00030