OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
CSVRender::Lighting Class Referenceabstract

#include <lighting.hpp>

Inheritance diagram for CSVRender::Lighting:
Collaboration diagram for CSVRender::Lighting:

Public Member Functions

 Lighting ()
 
virtual ~Lighting ()
 
virtual void activate (osg::Group *rootNode)=0
 
virtual void deactivate ()=0
 
virtual osg::Vec4f getAmbientColour (osg::Vec4f *defaultAmbient)=0
 

Protected Attributes

osg::ref_ptr< osg::LightSource > mLightSource
 
osg::Group * mRootNode
 

Constructor & Destructor Documentation

CSVRender::Lighting::Lighting ( )
inline
CSVRender::Lighting::~Lighting ( )
virtual

Member Function Documentation

virtual void CSVRender::Lighting::activate ( osg::Group *  rootNode)
pure virtual

Implemented in CSVRender::LightingBright, CSVRender::LightingDay, and CSVRender::LightingNight.

Here is the caller graph for this function:

virtual void CSVRender::Lighting::deactivate ( )
pure virtual

Implemented in CSVRender::LightingBright, CSVRender::LightingDay, and CSVRender::LightingNight.

Here is the caller graph for this function:

virtual osg::Vec4f CSVRender::Lighting::getAmbientColour ( osg::Vec4f *  defaultAmbient)
pure virtual

Implemented in CSVRender::LightingBright, CSVRender::LightingDay, and CSVRender::LightingNight.

Here is the caller graph for this function:

Member Data Documentation

osg::ref_ptr<osg::LightSource> CSVRender::Lighting::mLightSource
protected
osg::Group* CSVRender::Lighting::mRootNode
protected

The documentation for this class was generated from the following files: