Public Member Functions | Private Member Functions | Private Attributes | Friends

world::FlatPlanet Class Reference

FlatPlanet class is a Facade over a single GIS image. More...

#include <_src_world_planet_flat.hh>

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

List of all members.

Public Member Functions

virtual shptr< ObjectGetRootObject (void)
virtual bool IfFlat (void)
virtual const Matrix & GetTangentMatrix (const SphereVertex &sv)
virtual WorldVertex ComputeUpVector (const SphereVertex &sv)
virtual WorldVertex SphereVertex2WorldVertex (const SphereVertex &sv)
virtual SphereVertex WorldVertex2SphereVertex (const WorldVertex &wv)
virtual fpx MeterSimRatio (void)
virtual fp RadiusGraphical (void)
virtual BoxVolume GetVolume (void)

Private Member Functions

 FlatPlanet (void)
 ~FlatPlanet ()

Private Attributes

shptr0< Object > mRootObject
SphereVertex mSphereNW
SphereVertex mSphereSE
 extent of terrain patch in spherical coordinates
WorldVertex mFlatNW
WorldVertex mFlatSE
 extent of terrain patch in graphical coordinates
fpx mSimLatRatio
 ratio of graphical coord to latitude span of patch
fpx mSimLonRatio
 ratio of graphical coord to longitude span of patch
Matrix mTangentMatrix
 tangent to point on the world

Friends

class Planet

Detailed Description

FlatPlanet class is a Facade over a single GIS image.

See Planet class.


Constructor & Destructor Documentation

world::FlatPlanet::FlatPlanet ( void   )  [private]

ctor/dtor.

world::FlatPlanet::~FlatPlanet (  )  [private]

Member Function Documentation

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

Implements world::Planet.

shptr< Object > world::FlatPlanet::GetRootObject ( void   )  [virtual]
Returns:
The planet's node.

Implements world::Planet.

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

Implements world::Planet.

BoxVolume world::FlatPlanet::GetVolume ( void   )  [virtual]
Returns:
Volume of world in 3D space.

Implements world::Planet.

virtual bool world::FlatPlanet::IfFlat ( void   )  [inline, virtual]

Implements world::Planet.

fpx world::FlatPlanet::MeterSimRatio ( void   )  [virtual]
Returns:
meter / graphicCoord

Implements world::Planet.

fp world::FlatPlanet::RadiusGraphical ( void   )  [virtual]

Compute the radius of the planet in graphical coordinates.

Implements world::Planet.

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

Convert spherical coordinates to a 3D vertex.

Implements world::Planet.

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

Implements world::Planet.


Friends And Related Function Documentation

friend class Planet [friend]

Member Data Documentation

WorldVertex world::FlatPlanet::mFlatNW [private]
WorldVertex world::FlatPlanet::mFlatSE [private]

extent of terrain patch in graphical coordinates

shptr0<Object> world::FlatPlanet::mRootObject [private]

ratio of graphical coord to latitude span of patch

ratio of graphical coord to longitude span of patch

SphereVertex world::FlatPlanet::mSphereNW [private]
SphereVertex world::FlatPlanet::mSphereSE [private]

extent of terrain patch in spherical coordinates

tangent to point on the world


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