LandscapeMgr.hpp   LandscapeMgr.hpp 
skipping to change at line 341 skipping to change at line 341
void setFlagLandscapeAutoSelection(bool enableAutoSelect); void setFlagLandscapeAutoSelection(bool enableAutoSelect);
//! Get flag for auto-enable of atmospheres for planets. //! Get flag for auto-enable of atmospheres for planets.
bool getFlagAtmosphereAutoEnable() const; bool getFlagAtmosphereAutoEnable() const;
//! Set flag for auto-enable atmosphere for planets with atmospheres in location window //! Set flag for auto-enable atmosphere for planets with atmospheres in location window
void setFlagAtmosphereAutoEnable(bool b); void setFlagAtmosphereAutoEnable(bool b);
//! Forward opacity query to current landscape. //! Forward opacity query to current landscape.
//! @param azalt direction of view line to sample in azaltimuth coor dinates. //! @param azalt direction of view line to sample in azaltimuth coor dinates.
float getLandscapeOpacity(Vec3d azalt) const {return landscape->getO pacity(azalt);} float getLandscapeOpacity(Vec3d azalt) const {return landscape->getO pacity(azalt);}
//! Forward opacity query to current landscape.
//! @param azimuth in degrees
//! @param altitude in degrees
float getLandscapeOpacity(float azimuth, float altitude) const {
Vec3d azalt;
StelUtils::spheToRect((180.0f-azimuth)*M_PI/180.0, altitude*
M_PI/180.0, azalt);
return landscape->getOpacity(azalt);
}
signals: signals:
void atmosphereDisplayedChanged(const bool displayed); void atmosphereDisplayedChanged(const bool displayed);
void cardinalsPointsDisplayedChanged(const bool displayed); void cardinalsPointsDisplayedChanged(const bool displayed);
void fogDisplayedChanged(const bool displayed); void fogDisplayedChanged(const bool displayed);
void landscapeDisplayedChanged(const bool displayed); void landscapeDisplayedChanged(const bool displayed);
void illuminationDisplayedChanged(const bool displayed); void illuminationDisplayedChanged(const bool displayed);
void labelsDisplayedChanged(const bool displayed); void labelsDisplayedChanged(const bool displayed);
void lightPollutionUsageChanged(const bool usage); void lightPollutionUsageChanged(const bool usage);
 End of changes. 1 change blocks. 
0 lines changed or deleted 9 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/