HorizontalCoordinateGrid

Search for usage in LXR

HorizontalCoordinateGrid Class Reference

#include <horizontalcoordinategrid.h>

Inheritance diagram for HorizontalCoordinateGrid:

Public Member Functions

 HorizontalCoordinateGrid (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

Collection of all the circles in the horizontal coordinate grid.

Author
Jérôme SONRIER
Version
0.1

Definition at line 18 of file horizontalcoordinategrid.h.

Constructor & Destructor Documentation

◆ HorizontalCoordinateGrid()

HorizontalCoordinateGrid::HorizontalCoordinateGrid ( 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 horizontalcoordinategrid.cpp.

Member Function Documentation

◆ preDraw()

void HorizontalCoordinateGrid::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 105 of file horizontalcoordinategrid.cpp.

◆ selected()

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

Implements CoordinateGrid.

Definition at line 91 of file horizontalcoordinategrid.cpp.

◆ update()

void HorizontalCoordinateGrid::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 113 of file horizontalcoordinategrid.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 Sun Feb 25 2024 18:45:36 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.