Stellarium  0.90.0
List of all members | Public Types | Public Slots | Signals | 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
 

Signals

void colorChanged (Vec3f c)
 
void flagLabelChanged (bool on)
 
void definingAngleChanged (double angle)
 

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
 
double definingAngle
 

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)
slot

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

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 140 of file ArchaeoLines.hpp.

void ArchaeoLine::updateLabel ( )
slot

Re-translates the label.


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