ArchaeoLines.hpp   ArchaeoLines.hpp 
skipping to change at line 37 skipping to change at line 37
#include "StelFader.hpp" #include "StelFader.hpp"
#include "StelCore.hpp" #include "StelCore.hpp"
#include "StelObjectMgr.hpp" #include "StelObjectMgr.hpp"
class QTimer; class QTimer;
class QPixmap; class QPixmap;
class StelButton; class StelButton;
class ArchaeoLinesDialog; class ArchaeoLinesDialog;
class ArchaeoLine; class ArchaeoLine;
/*! @defgroup archaeoLines ArchaeoLines Plug-in
@{
A tool for archaeo-/ethnoastronomical alignment studies.
The ArchaeoLines plugin displays any combination of declination arcs most
relevant to archaeo- or ethnoastronomical studies. Of course, principles
used in this context are derived from natural observations, and many of
these declinations are still important in everyday astronomy.
-# Declinations of equinoxes (i.e. equator) and the solstices
-# Declinations of the crossquarter days (days right between solstices and
equinoxes)
-# Declinations of the Major Lunar Standstills
-# Declinations of the Minor Lunar Standstills
-# Declination of the Zenith passage
-# Declination of the Nadir passage
-# Declination of the currently selected object
-# Current declination of the sun
-# Current declination of the moon
-# Current declination of a naked-eye planet
The lunar lines include horizon parallax effects. There are two lines each
drawn, for maximum and minimum distance of the moon. Note that declination
of the moon at the major standstill can exceed the indicated limits if it
is high in the sky due to parallax effects.
It may be very instructive to let the time run quite fast and observe the
line of "current moon" swinging between its north and south limits each mon
th.
These limits grow and shrink between the Major and Minor Standstills.
The sun likewise swings between the solstices. Over centuries, the solstice
declinations very slightly move as well.
@}
*/
//! @class ArchaeoLine //! @class ArchaeoLine
//! Class which manages a line (small circle) to display around the sky lik e the solstices line. //! Class which manages a line (small circle) to display around the sky lik e the solstices line.
//! Modelled after @class SkyLine found in GridLinesMgr.cpp at V0.13.2, but with small-circle drawing. //! Modelled after @class SkyLine found in GridLinesMgr.cpp at V0.13.2, but with small-circle drawing.
//! @author Georg Zotti
//! @ingroup archaeoLines
class ArchaeoLine : QObject class ArchaeoLine : QObject
{ {
Q_OBJECT Q_OBJECT
Q_PROPERTY(Vec3f color READ getColor WRITE setColor) Q_PROPERTY(Vec3f color READ getColor WRITE setColor)
Q_PROPERTY(bool flagLabel READ isLabelVisible WRITE setLabelVisible) Q_PROPERTY(bool flagLabel READ isLabelVisible WRITE setLabelVisible)
public: public:
enum Line { enum Line {
Equinox, Equinox,
Solstices, Solstices,
Crossquarters, Crossquarters,
skipping to change at line 235 skipping to change at line 270
bool flagShowSolstices; bool flagShowSolstices;
bool flagShowCrossquarters; bool flagShowCrossquarters;
bool flagShowMajorStandstills; bool flagShowMajorStandstills;
bool flagShowMinorStandstills; bool flagShowMinorStandstills;
bool flagShowZenithPassage; bool flagShowZenithPassage;
bool flagShowNadirPassage; bool flagShowNadirPassage;
bool flagShowSelectedObject; bool flagShowSelectedObject;
bool flagShowCurrentSun; bool flagShowCurrentSun;
bool flagShowCurrentMoon; bool flagShowCurrentMoon;
ArchaeoLine::Line enumShowCurrentPlanet; ArchaeoLine::Line enumShowCurrentPlanet;
double lastJD; // cache last-time-computed to 1/month or so? double lastJDE; // cache last-time-computed to every 10 days or so?
ArchaeoLine * equinoxLine; ArchaeoLine * equinoxLine;
ArchaeoLine * northernSolsticeLine; ArchaeoLine * northernSolsticeLine;
ArchaeoLine * southernSolsticeLine; ArchaeoLine * southernSolsticeLine;
ArchaeoLine * northernCrossquarterLine; ArchaeoLine * northernCrossquarterLine;
ArchaeoLine * southernCrossquarterLine; ArchaeoLine * southernCrossquarterLine;
ArchaeoLine * northernMajorStandstillLine0; ArchaeoLine * northernMajorStandstillLine0;
ArchaeoLine * northernMajorStandstillLine1; ArchaeoLine * northernMajorStandstillLine1;
ArchaeoLine * northernMinorStandstillLine2; ArchaeoLine * northernMinorStandstillLine2;
ArchaeoLine * northernMinorStandstillLine3; ArchaeoLine * northernMinorStandstillLine3;
 End of changes. 3 change blocks. 
1 lines changed or deleted 38 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/