CoordinateGrid

Search for usage in LXR

CoordinateGrid Class Referenceabstract

#include <coordinategrid.h>

Inheritance diagram for CoordinateGrid:

Public Member Functions

 CoordinateGrid (SkyComposite *parent, const QString &name)
 
void preDraw (SkyPainter *skyp) override=0
 
bool selected () override=0
 
- 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 *)
 

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 coordinate grid

Author
Jason Harris
Version
0.1

Definition at line 23 of file coordinategrid.h.

Constructor & Destructor Documentation

◆ CoordinateGrid()

CoordinateGrid::CoordinateGrid ( SkyComposite parent,
const QString name 
)

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

Definition at line 9 of file coordinategrid.cpp.

Member Function Documentation

◆ preDraw()

void CoordinateGrid::preDraw ( SkyPainter skyp)
overridepure virtual

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.

Implemented in EquatorialCoordinateGrid, HorizontalCoordinateGrid, and LocalMeridianComponent.

◆ selected()

bool CoordinateGrid::selected ( )
overridepure virtual
Returns
true if component is to be drawn on the map.

Reimplemented from SkyComponent.

Implemented in EquatorialCoordinateGrid, HorizontalCoordinateGrid, and LocalMeridianComponent.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Wed Aug 17 2022 04:14:20 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.