ConstantBackground.h

Go to the documentation of this file.
00001 
00005 #ifndef ConstantBackground_h
00006 #define ConstantBackground_h
00007 
00008 #include "Background.h"
00009 #include "Color.h"
00010 
00011 class ConstantBackground : public Background {
00012  public:
00013   ConstantBackground(const Color& color);
00014   virtual ~ConstantBackground();
00015 
00016   virtual void preprocess();
00017   virtual void getBackgroundColor(Color& result, const RenderContext& context, const Ray& ray);
00018 
00019  private:
00020   ConstantBackground(const ConstantBackground&);
00021   ConstantBackground& operator=(const ConstantBackground&);
00022 
00023   Color bgcolor;
00024 };
00025 
00026 #endif
00027 

Generated on Tue Jan 29 21:34:53 2008 for specter by  doxygen 1.4.6