GLPhotonMapRender.h

Go to the documentation of this file.
00001 /* $Id:$ */
00002 
00003 #ifndef __GL_PHOTON_MAP_RENDER_H
00004 #define __GL_PHOTON_MAP_RENDER_H
00005 
00006 #include <gra/render/GLRender.h>
00007 
00008 
00009 namespace gra {
00010 
00017 class GRA_EXPORT GLPhotonMapRender : public GLRender {
00018 public:
00019         static const int GLOBAL_PHOTONS;
00020         static const int CAUSTIC_PHOTONS;
00021         
00022 protected:
00023         int _mode;
00024     
00025 protected:
00032         virtual void _render (Shader&      shader,
00033                               FrameBuffer& fb,
00034                               Camera&      camera,
00035                               Scene&       scene);
00036     
00037 public:
00044         GLPhotonMapRender(int * stopFlag, int mode)
00045             : GLRender(stopFlag, false), _mode(mode) {}
00046 };
00047     
00048 } // namespace
00049 
00050 #endif // __GL_PHOTON_MAP_RENDER_H

Generated on Tue Nov 21 15:11:42 2006 for gra by  doxygen 1.4.6