Main Page | Class Hierarchy | Class List | Directories | Class Members

osgEphemeris::MoonModel Class Reference

The model of the Moon. More...

Inheritance diagram for osgEphemeris::MoonModel:

osgEphemeris::Sphere List of all members.

Public Member Functions

 MoonModel ()
void setSunPosition (osg::Vec3 sun)

Static Public Member Functions

static double getMoonRadius ()

Detailed Description

The model of the Moon.


Constructor & Destructor Documentation

osgEphemeris::MoonModel::MoonModel  ) 
 

Default constructor


Member Function Documentation

static double osgEphemeris::MoonModel::getMoonRadius  )  [inline, static]
 

Return the size of the moon's radius

void osgEphemeris::MoonModel::setSunPosition osg::Vec3  sun  ) 
 

Set the position of the Sun with respect to the view. This position is used to determine the lighting direction parameters, resulting in the correct representation of the phases of the moon.


The documentation for this class was generated from the following file:
Generated on Sun Feb 26 20:00:03 2006 for osgEphemeris by  doxygen 1.4.1