StelSkyDrawer.hpp   StelSkyDrawer.hpp 
skipping to change at line 137 skipping to change at line 137
//! @param lum luminance in cd/m^2 //! @param lum luminance in cd/m^2
//! @param fastAdaptation adapt the eye quickly if true, other wise use a smooth adaptation //! @param fastAdaptation adapt the eye quickly if true, other wise use a smooth adaptation
void reportLuminanceInFov(float lum, bool fastAdaptation=false); void reportLuminanceInFov(float lum, bool fastAdaptation=false);
//! To be called before the drawing stage starts //! To be called before the drawing stage starts
void preDraw(); void preDraw();
//! Compute the luminance for an extended source with the given surf ace brightness //! Compute the luminance for an extended source with the given surf ace brightness
//! @param sb surface brightness in V magnitude/arcmin^2 //! @param sb surface brightness in V magnitude/arcmin^2
//! @return the luminance in cd/m^2 //! @return the luminance in cd/m^2
static float surfacebrightnessToLuminance(float sb); static float surfaceBrightnessToLuminance(float sb);
//! Compute the surface brightness from the luminance of an extended source //! Compute the surface brightness from the luminance of an extended source
//! @param lum luminance in cd/m^2 //! @param lum luminance in cd/m^2
//! @return surface brightness in V magnitude/arcmin^2 //! @return surface brightness in V magnitude/arcmin^2
static float luminanceToSurfacebrightness(float lum); static float luminanceToSurfacebrightness(float lum);
//! Convert quantized B-V index to float B-V //! Convert quantized B-V index to float B-V
static inline float indexToBV(unsigned char bV) static inline float indexToBV(unsigned char bV)
{ {
return (float)bV*(4.f/127.f)-0.5f; return (float)bV*(4.f/127.f)-0.5f;
} }
skipping to change at line 190 skipping to change at line 190
//! @note option for planetariums //! @note option for planetariums
bool getFlagForcedTwinkle() const {return flagForcedTwinkle;} bool getFlagForcedTwinkle() const {return flagForcedTwinkle;}
//! Set the parameters so that the stars disappear at about the limi t given by the bortle scale //! Set the parameters so that the stars disappear at about the limi t given by the bortle scale
//! The limit is valid only at a given zoom level (around 60 deg) //! The limit is valid only at a given zoom level (around 60 deg)
//! @see https://en.wikipedia.org/wiki/Bortle_scale //! @see https://en.wikipedia.org/wiki/Bortle_scale
void setBortleScaleIndex(int index); void setBortleScaleIndex(int index);
//! Get the current Bortle scale index //! Get the current Bortle scale index
//! @see https://en.wikipedia.org/wiki/Bortle_scale //! @see https://en.wikipedia.org/wiki/Bortle_scale
int getBortleScaleIndex() const {return bortleScaleIndex;} int getBortleScaleIndex() const {return bortleScaleIndex;}
//! Get the average NELM for current Bortle scale index
float getNELMFromBortleScale() const;
//! Get the magnitude of the currently faintest visible point source //! Get the magnitude of the currently faintest visible point source
//! It depends on the zoom level, on the eye adapation and on the po int source rendering parameters //! It depends on the zoom level, on the eye adapation and on the po int source rendering parameters
//! @return the limit V mag at which a point source will be displaye d //! @return the limit V mag at which a point source will be displaye d
float getLimitMagnitude() const {return limitMagnitude;} float getLimitMagnitude() const {return limitMagnitude;}
//! Toggle the application of user-defined star magnitude limit. //! Toggle the application of user-defined star magnitude limit.
//! If enabled, stars fainter than the magnitude set with //! If enabled, stars fainter than the magnitude set with
//! setCustomStarMagnitudeLimit() will not be displayed. //! setCustomStarMagnitudeLimit() will not be displayed.
// FIXME: Exposed to scripts - make sure it synchs with the GUI. --B M // FIXME: Exposed to scripts - make sure it synchs with the GUI. --B M
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 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/