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

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

#include <ArchaeoLines.hpp>

+ Inheritance diagram for ArchaeoLine:
+ Collaboration diagram for ArchaeoLine:

Public Types

enum  Line {
  CurrentPlanetNone, CurrentPlanetMercury, CurrentPlanetVenus, CurrentPlanetMars,
  CurrentPlanetJupiter, CurrentPlanetSaturn, Equinox, Solstices,
  Crossquarters, MajorStandstill, MinorStandstill, ZenithPassage,
  NadirPassage, SelectedObject, CurrentSun, CurrentMoon,
  CustomDeclination1, CustomDeclination2, GeographicLocation1, GeographicLocation2,
  CustomAzimuth1, CustomAzimuth2
}
 

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 setDefiningAngle (double angle)
 reset declination/azimuth angle (degrees) of this arc. More...
 
double getDefiningAngle (void) const
 
void updateLabel ()
 Re-translates the label. More...
 
void setLabelVisible (bool b)
 
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...
 
QString getLabel () const
 

Public Member Functions

 ArchaeoLine (ArchaeoLine::Line lineType, double definingAngle)
 
void draw (StelCore *core, float intensity=1.0f) const
 
const Vec3fgetColor () const
 
bool isDisplayed (void) const
 

Properties

Vec3f color
 
bool flagLabel
 

Detailed Description

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

Modelled after

Definition at line 80 of file ArchaeoLines.hpp.

Member Function Documentation

void ArchaeoLine::setDefiningAngle ( double  angle)
inlineslot

reset declination/azimuth angle (degrees) of this arc.

Definition at line 128 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 136 of file ArchaeoLines.hpp.

void ArchaeoLine::updateLabel ( )
slot

Re-translates the label.


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