21 #ifndef _ZODIACALLIGHT_ 22 #define _ZODIACALLIGHT_ 25 #include "StelModule.hpp" 26 #include "VecMath.hpp" 28 #include "StelLocation.hpp" 53 Q_PROPERTY(
bool flagZodiacalLightDisplayed
56 NOTIFY zodiacalLightDisplayedChanged)
57 Q_PROPERTY(
double intensity
60 NOTIFY intensityChanged)
61 Q_PROPERTY(
Vec3f color
82 virtual void update(
double deltaTime);
95 void setIntensity(
double aintensity) {
if(aintensity!=intensity){intensity = aintensity; emit intensityChanged(intensity);}}
105 void setColor(
const Vec3f& c) {
if (c!=color) { color=c; emit colorChanged(c);}}
121 void zodiacalLightDisplayedChanged(
const bool displayed);
122 void intensityChanged(
double intensity);
123 void colorChanged(
Vec3f color);
133 QVector<Vec3d> eclipticalVertices;
136 #endif // _ZODIACALLIGHT_HPP_ Store the informations for a location on a planet.
Vec3f getColor() const
Get the color used for rendering the Zodiacal Light. It is modulated by intensity, light pollution and atmospheric extinction.
Implementation of StelFader which implements a linear transition.
Define the StelTextureSP type.
bool getFlagShow(void) const
Gets whether the Zodiacal Light is displayed.
Main class for Stellarium core processing.
Manages the displaying of the Zodiacal Light.
virtual void init()
Initialize the class.
double getIntensity() const
Get Zodiacal Light intensity.
virtual double getCallOrder(StelModuleActionName actionName) const
Used to determine the order in which the various modules are drawn.
virtual void update(double deltaTime)
Update and time-dependent state.
StelModuleActionName
Define the possible action for which an order is defined.
void setFlagShow(bool b)
Sets whether to show the Zodiacal Light.
void setColor(const Vec3f &c)
Sets the color to use for rendering the Zodiacal Light.
QSharedPointer< StelTexture > StelTextureSP
Use shared pointer to simplify memory managment.
void setIntensity(double aintensity)
Set Zodiacal Light intensity.
virtual void draw(StelCore *core)
Draw the Zodiacal Light.
This is the common base class for all the main components of stellarium.