MilkyWay.hpp   MilkyWay.hpp 
skipping to change at line 51 skipping to change at line 51
//! determines if the Milky Way is displayed or not, and the intensi ty setting. //! determines if the Milky Way is displayed or not, and the intensi ty setting.
virtual void init(); virtual void init();
//! Draw the Milky Way. //! Draw the Milky Way.
virtual void draw(StelCore* core); virtual void draw(StelCore* core);
//! Update and time-dependent state. Updates the fade level while t he //! Update and time-dependent state. Updates the fade level while t he
//! Milky way rendering is being changed from on to off or off to on . //! Milky way rendering is being changed from on to off or off to on .
virtual void update(double deltaTime); virtual void update(double deltaTime);
//! Does nothing in the MilkyWay module.
virtual void updateI18n() {;}
//! Does nothing in the MilkyWay module.
//! @param skyCultureDir the name of the directory containing the sk
y culture to use.
virtual void updateSkyCulture(const QString& skyCultureDir) {;}
//! Used to determine the order in which the various modules are dra wn. //! Used to determine the order in which the various modules are dra wn.
virtual double getCallOrder(StelModuleActionName actionName) const { return 1.;} virtual double getCallOrder(StelModuleActionName actionName) const { Q_UNUSED(actionName); return 1.;}
//////////////////////////////////////////////////////////////////// /////////////////// //////////////////////////////////////////////////////////////////// ///////////////////
// Setter and getters // Setter and getters
public slots: public slots:
//! Get Milky Way intensity. //! Get Milky Way intensity.
float getIntensity() const {return intensity;} float getIntensity() const {return intensity;}
//! Set Milky Way intensity. //! Set Milky Way intensity.
void setIntensity(float aintensity) {intensity = aintensity;} void setIntensity(float aintensity) {intensity = aintensity;}
//! Get the color used for rendering the milky way //! Get the color used for rendering the milky way
Vec3f getColor() const {return color;} Vec3f getColor() const {return color;}
//! Sets the color to use for rendering the milky way //! Sets the color to use for rendering the milky way
void setColor(const Vec3f& c) {color=c;} void setColor(const Vec3f& c) {color=c;}
//! Sets whether to show the Milky Way //! Sets whether to show the Milky Way
void setFlagShow(bool b); void setFlagShow(bool b);
//! Gets whether the Milky Way is displayed //! Gets whether the Milky Way is displayed
bool getFlagShow(void) const; bool getFlagShow(void) const;
private: private:
//! Set the texture to use for the Milky Way.
//! @param texFile the path to a texture file to be loaded.
void setTexture(const QString& texFile);
float radius; float radius;
StelTextureSP tex; StelTextureSP tex;
Vec3f color; Vec3f color;
float intensity; float intensity;
class LinearFader* fader; class LinearFader* fader;
class StelVertexArray* vertexArray;
}; };
#endif // _MILKYWAY_HPP_ #endif // _MILKYWAY_HPP_
 End of changes. 4 change blocks. 
13 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/