EarthShadowComponent
#include <earthshadowcomponent.h>
Public Member Functions | |
EarthShadowComponent (SkyComposite *parent, KSEarthShadow *shadow) | |
void | draw (SkyPainter *skyp) override |
bool | selected () override |
void | update (KSNumbers *num) override |
void | updateSolarSystemBodies (KSNumbers *num) override |
Public Member Functions inherited from SkyComponent | |
SkyComponent (SkyComposite *parent=nullptr) | |
virtual void | drawTrails (SkyPainter *skyp) |
virtual void | emitProgressText (const QString &message) |
virtual SkyObject * | findByName (const QString &name, bool exact=true) |
QHash< int, QVector< QPair< QString, const SkyObject * > > > & | objectLists () |
QVector< QPair< QString, const SkyObject * > > & | objectLists (int type) |
QHash< int, QStringList > & | objectNames () |
QStringList & | objectNames (int type) |
virtual SkyObject * | objectNearest (SkyPoint *p, double &maxrad) |
virtual void | objectsInArea (QList< SkyObject * > &list, const SkyRegion ®ion) |
SkyComposite * | parent () |
void | removeFromLists (const SkyObject *obj) |
void | removeFromNames (const SkyObject *obj) |
virtual void | updateMoons (KSNumbers *) |
Detailed Description
The EarthShadowComponent class.
A simple skycomponent for the KSEarthShadow.
Definition at line 19 of file earthshadowcomponent.h.
Constructor & Destructor Documentation
◆ EarthShadowComponent()
EarthShadowComponent::EarthShadowComponent | ( | SkyComposite * | parent, |
KSEarthShadow * | shadow ) |
Definition at line 14 of file earthshadowcomponent.cpp.
Member Function Documentation
◆ draw()
|
overridevirtual |
Draw the object on the SkyMap skyp
a pointer to the SkyPainter to use.
Implements SkyComponent.
Definition at line 43 of file earthshadowcomponent.cpp.
◆ selected()
|
inlineoverridevirtual |
- Returns
- true if component is to be drawn on the map.
Reimplemented from SkyComponent.
Definition at line 26 of file earthshadowcomponent.h.
◆ update()
|
overridevirtual |
Update the sky position(s) of this component.
This function usually just updates the Horizontal (Azimuth/Altitude) coordinates of its member object(s). However, the precession and nutation must also be recomputed periodically. num
Pointer to the KSNumbers object
- See also
- SingleComponent::update()
- ListComponent::update()
- ConstellationBoundaryComponent::update()
Reimplemented from SkyComponent.
Definition at line 20 of file earthshadowcomponent.cpp.
◆ updateSolarSystemBodies()
|
overridevirtual |
Reimplemented from SkyComponent.
Definition at line 26 of file earthshadowcomponent.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:53:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.