|
WSF
|
The Earth Gravitational Model (EGM) scenario extension. More...
#include <WsfEarthGravityModel.hpp>


Public Types | |
| enum | EGMComplianceType { cEGM_UNKNOWN , cEGM2008 , cEGM96 } |
Public Member Functions | |
| EarthGravityModelExtension ()=default | |
| EarthGravityModelExtension (const EarthGravityModelExtension &aSrc)=default | |
| ~EarthGravityModelExtension () override=default | |
| bool | Complete () override |
| void | SimulationCreated (WsfSimulation &aSimulation) override |
| bool | ProcessInput (UtInput &aInput) override |
| float | GetGeoidUndulation (double aLat, double aLon) const |
| EGMComplianceType | GetEGM_ComplianceType () const |
| bool | IsEGM2008Compliant () const |
| bool | IsEGM96Compliant () const |
| bool | IsEGM_Unknown () const |
| Public Member Functions inherited from WsfScenarioExtension | |
| WsfScenarioExtension () | |
| ~WsfScenarioExtension () override | |
| WsfScenario & | GetScenario () const |
| WsfApplication & | GetApplication () const |
| virtual void | AddedToScenario () |
| virtual void | FileLoaded (const std::string &aFileName) |
| virtual bool | Complete2 () |
| virtual bool | AlwaysCreate () |
| Public Member Functions inherited from WsfExtension | |
| virtual | ~WsfExtension ()=default |
| const std::string & | GetExtensionName () const |
Static Public Member Functions | |
| static EarthGravityModelExtension & | Get (const WsfScenario &aScenario) |
Additional Inherited Members | |
| Protected Member Functions inherited from WsfExtension | |
| void | InitializeExtensionName (const std::string &aName) |
The Earth Gravitational Model (EGM) scenario extension.
|
default |
Referenced by EarthGravityModelExtension(), Get(), and ~EarthGravityModelExtension().
|
default |
References EarthGravityModelExtension().
|
overridedefault |
|
overridevirtual |
Called when all inputs are processed. This is called when the application calls WsfScenario::LoadComplete to signify that all input data has been loaded into the scenario. The extension should perform any additional validity checking or other processing on its input data. Constant data may be created and stored here. Unless Complete2() is also implement, the contents of this class should not be changed after this call.
The extension should not assume anything about the state of another extension unless this a dependency has been registered to ensure the other extension has been called prior to this, e.g.:
Reimplemented from WsfScenarioExtension.
Referenced by ~EarthGravityModelExtension().
|
static |
References EarthGravityModelExtension(), WsfScenario::FindExtension(), WsfScenarioExtension::WsfScenario, and WsfScenarioExtension::WsfScenarioExtension().
Referenced by WsfDisInterface::ExtrapolatePlatformState(), WsfDisPlatform::MoverUpdated(), wsf::TerrainInterface::ProcessInput(), UT_DEFINE_SCRIPT_METHOD(), UT_DEFINE_SCRIPT_METHOD(), UT_DEFINE_SCRIPT_METHOD(), and ~EarthGravityModelExtension().
|
inline |
| float wsf::EarthGravityModelExtension::GetGeoidUndulation | ( | double | aLat, |
| double | aLon ) const |
|
inline |
References cEGM2008.
|
inline |
References cEGM96.
|
inline |
References cEGM_UNKNOWN.
|
overridevirtual |
Process the gravity_model block.
| aInput | [input] The input stream. |
Reimplemented from WsfScenarioExtension.
Referenced by ~EarthGravityModelExtension().
|
overridevirtual |
Called when a simulation has been created. (Technically this is called upon entry to WsfSimulation::Initialize()). This is typically used when a scenario extension also requires a simulation extension. The method would typically register the simulation extension as follows:
| aSimulation | The simulation that is being created. See note below! |
Reimplemented from WsfScenarioExtension.
References WsfExtension::GetExtensionName(), and WsfSimulation::RegisterExtension().
Referenced by ~EarthGravityModelExtension().