Stellarium 0.14.3
List of all members | Public Types | Public Slots | Public Member Functions
ArchaeoLine Class Reference

Class which manages a line (small circle) to display around the sky like the solstices line. More...

#include <ArchaeoLines.hpp>

Public Types

enum  Line {
  Equinox, Solstices, Crossquarters, MajorStandstill,
  MinorStandstill, ZenithPassage, NadirPassage, SelectedObject,
  CurrentSun, CurrentMoon, CurrentPlanetNone, CurrentPlanetMercury,
  CurrentPlanetVenus, CurrentPlanetMars, CurrentPlanetJupiter, CurrentPlanetSaturn
}
 

Public Slots

void setColor (const Vec3f &c)
 
void update (double deltaTime)
 
void setFadeDuration (float duration)
 
void setDisplayed (const bool displayed)
 
void setFontSize (double newSize)
 
void updateLabel ()
 Re-translates the label. More...
 
void setLabelVisible (bool b)
 
void setDeclination (double decl)
 reset declination (degrees) of this small arc. More...
 
bool isLabelVisible () const
 
void setLineType (ArchaeoLine::Line line)
 
void setLabel (const QString newLabel)
 change label. Used only for selected-object line - the other labels should not be changed! More...
 

Public Member Functions

 ArchaeoLine (ArchaeoLine::Line lineType, double declination)
 
void draw (StelCore *core, float intensity=1.0f) const
 
const Vec3f & getColor () const
 
bool isDisplayed (void) const
 

Detailed Description

Class which manages a line (small circle) to display around the sky like the solstices line.

Modelled after

Definition at line 75 of file ArchaeoLines.hpp.

Member Function Documentation

void ArchaeoLine::setDeclination ( double  decl)
inlineslot

reset declination (degrees) of this small arc.

Definition at line 116 of file ArchaeoLines.hpp.

void ArchaeoLine::setLabel ( const QString  newLabel)
inlineslot

change label. Used only for selected-object line - the other labels should not be changed!

Definition at line 120 of file ArchaeoLines.hpp.

void ArchaeoLine::updateLabel ( )
slot

Re-translates the label.


The documentation for this class was generated from the following file: