Equator

Search for usage in LXR

#include <equator.h>

Inheritance diagram for Equator:

Public Member Functions

 Equator (SkyComposite *parent)
 
void draw (SkyPainter *skyp) override
 
virtual void drawCompassLabels ()
 
LineListLabel * label () override
 
bool selected () override
 
- Public Member Functions inherited from NoPrecessIndex
 NoPrecessIndex (SkyComposite *parent, const QString &name)
 
void JITupdate (LineList *lineList) override
 
- Public Member Functions inherited from LineListIndex
 LineListIndex (SkyComposite *parent, const QString &name="")
 
void draw (SkyPainter *skyp) override
 
- Public Member Functions inherited from SkyComponent
 SkyComponent (SkyComposite *parent=nullptr)
 
virtual void drawTrails (SkyPainter *skyp)
 
virtual void emitProgressText (const QString &message)
 
virtual SkyObjectfindByName (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 ()
 
QStringListobjectNames (int type)
 
virtual SkyObjectobjectNearest (SkyPoint *p, double &maxrad)
 
virtual void objectsInArea (QList< SkyObject * > &list, const SkyRegion &region)
 
SkyCompositeparent ()
 
void removeFromLists (const SkyObject *obj)
 
void removeFromNames (const SkyObject *obj)
 
virtual void update (KSNumbers *)
 
virtual void updateMoons (KSNumbers *)
 
virtual void updateSolarSystemBodies (KSNumbers *)
 

Protected Member Functions

void preDraw (SkyPainter *skyp) override
 
- Protected Member Functions inherited from NoPrecessIndex
MeshBufNum_t drawBuffer () override
 
- Protected Member Functions inherited from LineListIndex
void appendBoth (const std::shared_ptr< LineList > &lineList)
 
void appendLine (const std::shared_ptr< LineList > &lineList)
 
void appendPoly (const std::shared_ptr< LineList > &lineList)
 
void drawFilled (SkyPainter *skyp)
 
void drawLines (SkyPainter *skyp)
 
virtual const IndexHashgetIndexHash (LineList *lineList)
 
void intro ()
 
LineListList listList () const
 
QString name () const
 
void reindexLines ()
 
void removeLine (const std::shared_ptr< LineList > &lineList)
 
virtual SkipHashList * skipList (LineList *lineList)
 
SkyMeshskyMesh ()
 
void summary ()
 

Detailed Description

Represents the equator on the sky map.

Author
James B. Bowlin
Version
0.1

Definition at line 19 of file equator.h.

Constructor & Destructor Documentation

◆ Equator()

Equator::Equator ( SkyComposite * parent)
explicit

Constructor parent pointer to the parent SkyComposite object name is the name of the subclass.

Definition at line 21 of file equator.cpp.

Member Function Documentation

◆ draw()

void Equator::draw ( SkyPainter * skyp)
overridevirtual

Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.

Implements SkyComponent.

Definition at line 59 of file equator.cpp.

◆ drawCompassLabels()

void Equator::drawCompassLabels ( )
virtual

Definition at line 75 of file equator.cpp.

◆ label()

LineListLabel * Equator::label ( )
inlineoverridevirtual

Reimplemented from LineListIndex.

Definition at line 31 of file equator.h.

◆ preDraw()

void Equator::preDraw ( SkyPainter * skyp)
overrideprotectedvirtual

Gives the subclasses access to the top of the draw() method.

Typically used for setting the QPen, etc. in the QPainter being passed in. Defaults to setting a thin white pen.

Reimplemented from LineListIndex.

Definition at line 52 of file equator.cpp.

◆ selected()

bool Equator::selected ( )
overridevirtual
Returns
true if component is to be drawn on the map.

Reimplemented from SkyComponent.

Definition at line 47 of file equator.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.