mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Ref T683, display ground elevation/CG in simulator live data view
This commit is contained in:
committed by
Mat Sutcliffe
parent
718221b90e
commit
bab053a0a2
@@ -386,9 +386,6 @@ namespace BlackMisc
|
||||
//! Get model string
|
||||
const QString &getModelString() const { return m_models[CurrentModel].getModelString(); }
|
||||
|
||||
//! Get CG from model
|
||||
const PhysicalQuantities::CLength &getCG() const { return m_models[CurrentModel].getCG(); }
|
||||
|
||||
//! Set model string
|
||||
void setModelString(const QString &modelString);
|
||||
|
||||
@@ -401,6 +398,12 @@ namespace BlackMisc
|
||||
//! Set network model
|
||||
void setNetworkModel(const CAircraftModel &model);
|
||||
|
||||
//! Get CG from model
|
||||
const PhysicalQuantities::CLength &getCG() const { return m_models[CurrentModel].getCG(); }
|
||||
|
||||
//! Has CG from model?
|
||||
bool hasCG() const { return !this->getCG().isNull(); }
|
||||
|
||||
//! Reset to the newtork model
|
||||
bool resetToNetworkModel();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user