LocalMeridianComponent

Search for usage in LXR

LocalMeridianComponent Class Reference

#include <localmeridiancomponent.h>

Inheritance diagram for LocalMeridianComponent:

Public Member Functions

 LocalMeridianComponent (SkyComposite *parent)
 
void preDraw (SkyPainter *skyp) override
 
bool selected () override
 
void update (KSNumbers *) override
 
- Public Member Functions inherited from CoordinateGrid
 CoordinateGrid (SkyComposite *parent, const QString &name)
 
- 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 updateMoons (KSNumbers *)
 
virtual void updateSolarSystemBodies (KSNumbers *)
 

Additional Inherited Members

- 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 ()
 
virtual LineListLabel * label ()
 
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

Single local meridian line

Author
Jasem Mutlaq
Version
0.1

Definition at line 18 of file localmeridiancomponent.h.

Constructor & Destructor Documentation

◆ LocalMeridianComponent()

LocalMeridianComponent::LocalMeridianComponent ( SkyComposite parent)
explicit

Constructor Simply adds all of the coordinate grid circles (meridians and parallels) parent Pointer to the parent SkyComposite object.

Definition at line 19 of file localmeridiancomponent.cpp.

Member Function Documentation

◆ preDraw()

void LocalMeridianComponent::preDraw ( SkyPainter skyp)
overridevirtual

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.

Implements CoordinateGrid.

Definition at line 61 of file localmeridiancomponent.cpp.

◆ selected()

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

Implements CoordinateGrid.

Definition at line 51 of file localmeridiancomponent.cpp.

◆ update()

void LocalMeridianComponent::update ( KSNumbers )
overridevirtual

Update the sky position(s) of this component.

This function usually just updates the Horizontal (Azimuth/Altitude) coordinates of its member object(s). However, the precession and nutation must also be recomputed periodically. num Pointer to the KSNumbers object

See also
SingleComponent::update()
ListComponent::update()
ConstellationBoundaryComponent::update()

Reimplemented from SkyComponent.

Definition at line 69 of file localmeridiancomponent.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 2 2023 04:05:57 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.