OssimPlanet class is a Facade over ossimplanet. More...
#include <_src_world_planet_ossim.hh>
Public Member Functions | |
| virtual shptr< Object > | GetRootObject (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 | |
| OssimPlanet (void) | |
| ~OssimPlanet () | |
| void | DebugSelfChecks (void) |
| void | ChangeKeywordRelativePath (ossimKeywordlist &kwl, const char key[]) |
| string | FindOssimDataDir (void) |
| string | FindOrMakeCacheDir (void) |
| void | RecomputeMeterSimRatio (void) |
Private Attributes | |
| shptr0< Object > | mRootObject |
| encapsulates ossimplanet as an Object | |
| RefPtr< ossimPlanet > | mOssimPlanet |
| www.ossim.org | |
| RefPtr< ossimPlanetGeoRefModel > | mOssimModel |
| tweak | |
| Matrix | mTangentMatrix |
| tangent to a point on the world | |
| fpx | mMeterSimRatio |
| ratio of meters to a graphical coordinates | |
| fpx | mElevationScale |
| defined in data/ossim.kwl | |
Friends | |
| class | Planet |
OssimPlanet class is a Facade over ossimplanet.
Planet is a private implementation of the world module. Unusually, Planet derivatives are instantiated by the base Planet::GetInstance().
| world::OssimPlanet::OssimPlanet | ( | void | ) | [private] |
ctor/dtor.
| world::OssimPlanet::~OssimPlanet | ( | ) | [private] |
| void world::OssimPlanet::ChangeKeywordRelativePath | ( | ossimKeywordlist & | kwl, | |
| const char | key[] | |||
| ) | [private] |
In an OSSIM keyword list (loaded from data/ossim.kwl), if a path is relative (no leading '/' char), prepend the data dir.
| WorldVertex world::OssimPlanet::ComputeUpVector | ( | const SphereVertex & | sv | ) | [virtual] |
Compute a normalized "up vector" extending from a point on the world.
Implements world::Planet.
| void world::OssimPlanet::DebugSelfChecks | ( | void | ) | [private] |
Debug.
| string world::OssimPlanet::FindOrMakeCacheDir | ( | void | ) | [private] |
Find or create the cache dir.
| string world::OssimPlanet::FindOssimDataDir | ( | void | ) | [private] |
Find the directory containing OSSIM configuration. Usually ~/.ossim.
Implements world::Planet.
| const Matrix & world::OssimPlanet::GetTangentMatrix | ( | const SphereVertex & | sv | ) | [virtual] |
Compute a matrix that is tangent to a point on the world.
Implements world::Planet.
| BoxVolume world::OssimPlanet::GetVolume | ( | void | ) | [virtual] |
Implements world::Planet.
| virtual bool world::OssimPlanet::IfFlat | ( | void | ) | [inline, virtual] |
Implements world::Planet.
| fpx world::OssimPlanet::MeterSimRatio | ( | void | ) | [virtual] |
Implements world::Planet.
| fp world::OssimPlanet::RadiusGraphical | ( | void | ) | [virtual] |
Compute the radius of the planet in graphical coordinates.
Implements world::Planet.
| void world::OssimPlanet::RecomputeMeterSimRatio | ( | void | ) | [private] |
[private] Re-compute the meter/sim ratio.
| WorldVertex world::OssimPlanet::SphereVertex2WorldVertex | ( | const SphereVertex & | sv | ) | [virtual] |
Convert spherical coordinates to a 3D vertex.
Implements world::Planet.
| virtual SphereVertex world::OssimPlanet::WorldVertex2SphereVertex | ( | const WorldVertex & | wv | ) | [virtual] |
Implements world::Planet.
friend class Planet [friend] |
fpx world::OssimPlanet::mElevationScale [private] |
defined in data/ossim.kwl
fpx world::OssimPlanet::mMeterSimRatio [private] |
ratio of meters to a graphical coordinates
RefPtr<ossimPlanetGeoRefModel> world::OssimPlanet::mOssimModel [private] |
tweak
RefPtr<ossimPlanet> world::OssimPlanet::mOssimPlanet [private] |
www.ossim.org
shptr0<Object> world::OssimPlanet::mRootObject [private] |
encapsulates ossimplanet as an Object
Matrix world::OssimPlanet::mTangentMatrix [private] |
tangent to a point on the world
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:13