2014-03-26 16:59:42 +00:00
|
|
|
#ifndef OPENCS_VIEW_LIGHTING_NIGHT_H
|
|
|
|
#define OPENCS_VIEW_LIGHTING_NIGHT_H
|
|
|
|
|
|
|
|
#include "lighting.hpp"
|
|
|
|
|
|
|
|
namespace Ogre
|
|
|
|
{
|
|
|
|
class Light;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace CSVRender
|
|
|
|
{
|
|
|
|
class LightingNight : public Lighting
|
|
|
|
{
|
2015-03-28 19:15:17 +00:00
|
|
|
osgViewer::View* mView;
|
2014-03-26 16:59:42 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
LightingNight();
|
|
|
|
|
2015-03-28 19:15:17 +00:00
|
|
|
virtual void activate (osgViewer::View* view,
|
|
|
|
const osg::Vec4f *defaultAmbient = 0);
|
2014-03-26 16:59:42 +00:00
|
|
|
|
|
|
|
virtual void deactivate();
|
|
|
|
|
2015-03-28 19:15:17 +00:00
|
|
|
virtual void setDefaultAmbient (const osg::Vec4f& colour);
|
2014-03-26 16:59:42 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|