Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

world::Planet Class Reference

Planet class is a Facade over a flat or spherical world. More...

#include <_src_world_planet.hh>

Inheritance diagram for world::Planet:
world::FlatPlanet world::OssimPlanet

List of all members.

Public Member Functions

CLASS_METHOD PlanetGetInstance (void)
virtual shptr< Object > GetRootObject (void)=0
virtual bool IfFlat (void)=0
virtual const Matrix & GetTangentMatrix (const SphereVertex &sv)=0
virtual WorldVertex ComputeUpVector (const SphereVertex &sv)=0
virtual WorldVertex SphereVertex2WorldVertex (const SphereVertex &sv)=0
virtual SphereVertex WorldVertex2SphereVertex (const WorldVertex &wv)=0
virtual fpx MeterSimRatio (void)=0
virtual fp RadiusGraphical (void)=0
virtual BoxVolume GetVolume (void)=0

Protected Member Functions

 Planet (void)
virtual ~Planet ()

Private Member Functions

CLASS_METHOD PlanetCreateInstance (void)

Private Attributes

CLASS_VAR PlanetmsInstance

Detailed Description

Planet class is a Facade over a flat or spherical world.

Planet is a private implementation of the world module. Unconventionally, this singleton class instantiates a derivative of itself.


Constructor & Destructor Documentation

world::Planet::Planet ( void   )  [inline, protected]
virtual world::Planet::~Planet (  )  [inline, protected, virtual]

Member Function Documentation

virtual WorldVertex world::Planet::ComputeUpVector ( const SphereVertex &  sv  )  [pure virtual]

Implemented in world::FlatPlanet, and world::OssimPlanet.

Planet * world::Planet::CreateInstance ( void   )  [private]

Singleton method.

CLASS_METHOD Planet& world::Planet::GetInstance ( void   )  [inline]
virtual shptr<Object> world::Planet::GetRootObject ( void   )  [pure virtual]

Implemented in world::FlatPlanet, and world::OssimPlanet.

virtual const Matrix& world::Planet::GetTangentMatrix ( const SphereVertex &  sv  )  [pure virtual]

Implemented in world::FlatPlanet, and world::OssimPlanet.

virtual BoxVolume world::Planet::GetVolume ( void   )  [pure virtual]

Implemented in world::FlatPlanet, and world::OssimPlanet.

virtual bool world::Planet::IfFlat ( void   )  [pure virtual]

Implemented in world::FlatPlanet, and world::OssimPlanet.

virtual fpx world::Planet::MeterSimRatio ( void   )  [pure virtual]

Implemented in world::FlatPlanet, and world::OssimPlanet.

virtual fp world::Planet::RadiusGraphical ( void   )  [pure virtual]

Implemented in world::FlatPlanet, and world::OssimPlanet.

virtual WorldVertex world::Planet::SphereVertex2WorldVertex ( const SphereVertex &  sv  )  [pure virtual]

Implemented in world::FlatPlanet, and world::OssimPlanet.

virtual SphereVertex world::Planet::WorldVertex2SphereVertex ( const WorldVertex &  wv  )  [pure virtual]

Implemented in world::FlatPlanet, and world::OssimPlanet.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:13