SO3::SSkyLight Class Reference

#include <SO3SkyLight.h>

Inheritance diagram for SO3::SSkyLight:
SO3::SData SO3::SMoon SO3::SSun

List of all members.

Public Member Functions

 SSkyLight (SEnvironment *parent, std::string skyLightName)
 ~SSkyLight ()
SEnvironmentGetEnvironment ()
void Update ()
const Ogre::Vector3 GetLightDirection () const
void SetLightDirection (const Ogre::Vector3 &direction)
const Ogre::ColourValue GetLightColour () const
void SetLightColour (const Ogre::ColourValue &newColour)

Protected Member Functions

virtual const Ogre::Vector3 ComputeDirectionImpl (double julianDay)=0
const Ogre::Vector3 MakeDirection (Ogre::Degree azimuth, Ogre::Degree altitude)

Protected Attributes

SEnvironmentparentEnvironment
Ogre::SceneManager * ogreSceneManager
Ogre::Light * ogreSkyLight
double lastJulDay

Detailed Description

Definition at line 43 of file SO3SkyLight.h.


Constructor & Destructor Documentation

SO3::SSkyLight::SSkyLight ( SEnvironment parent,
std::string  skyLightName 
)

Definition at line 42 of file SO3SkyLight.cpp.

SO3::SSkyLight::~SSkyLight (  ) 

Destructor

Definition at line 59 of file SO3SkyLight.cpp.


Member Function Documentation

virtual const Ogre::Vector3 SO3::SSkyLight::ComputeDirectionImpl ( double  julianDay  )  [protected, pure virtual]

Implemented in SO3::SMoon, and SO3::SSun.

SEnvironment * SO3::SSkyLight::GetEnvironment (  ) 

Definition at line 71 of file SO3SkyLight.cpp.

const Ogre::ColourValue SO3::SSkyLight::GetLightColour (  )  const

Definition at line 97 of file SO3SkyLight.cpp.

const Ogre::Vector3 SO3::SSkyLight::GetLightDirection (  )  const

Definition at line 87 of file SO3SkyLight.cpp.

const Ogre::Vector3 SO3::SSkyLight::MakeDirection ( Ogre::Degree  azimuth,
Ogre::Degree  altitude 
) [protected]

Definition at line 107 of file SO3SkyLight.cpp.

void SO3::SSkyLight::SetLightColour ( const Ogre::ColourValue &  newColour  ) 

Definition at line 102 of file SO3SkyLight.cpp.

void SO3::SSkyLight::SetLightDirection ( const Ogre::Vector3 &  direction  ) 

Definition at line 92 of file SO3SkyLight.cpp.

void SO3::SSkyLight::Update (  ) 

Definition at line 76 of file SO3SkyLight.cpp.


Member Data Documentation

double SO3::SSkyLight::lastJulDay [protected]

Definition at line 50 of file SO3SkyLight.h.

Ogre::SceneManager* SO3::SSkyLight::ogreSceneManager [protected]

Definition at line 48 of file SO3SkyLight.h.

Ogre::Light* SO3::SSkyLight::ogreSkyLight [protected]

Definition at line 49 of file SO3SkyLight.h.

Definition at line 47 of file SO3SkyLight.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Oct 31 14:42:38 2011 for SO3Engine by  doxygen 1.6.3