Kstars
skymapcomposite.cpp
616 //if ( n == KSPlanetBase::PLUTO ) return (KSPlanetBase*)(m_SolarSystem->findByName( i18n( "Pluto" ) ) );
626 true); // This is not (yet) multithreaded, so I think we don't have to worry about overwriting the state of an existing lock --asimha
637 // SkyMapDrawAbstract::setDrawLock( true ); // This is not (yet) multithreaded, so I think we don't have to worry about overwriting the state of an existing lock --asimha
Represents objects loaded from an sqlite backed, trixel indexed catalog.
Definition catalogscomponent.h:42
SkyObject * objectNearest(SkyPoint *p, double &maxrad) override
Find the SkyObject nearest the given SkyPoint.
Definition catalogscomponent.cpp:375
SkyObject * findByName(const QString &name, bool exact=true) override
Search the underlying database for an object with the name.
Definition catalogscomponent.cpp:334
void objectsInArea(QList< SkyObject * > &list, const SkyRegion ®ion) override
Searches the region(s) and appends the SkyObjects found to the list of sky objects.
Definition catalogscomponent.cpp:346
void dropCache()
Clear the internal cache and effectively reload all objects from the database.
Definition catalogscomponent.h:111
void draw(SkyPainter *skyp) override
Draws the objects in the currently visible trixels by dynamically loading them from the database.
Definition catalogscomponent.cpp:69
Database related error, thrown when database access fails or an action does not succeed.
Definition catalogsdb.h:682
Represents the ConstellationsArt objects.
Definition constellationartcomponent.h:22
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition constellationartcomponent.cpp:105
Collection of lines making the 88 constellations.
Definition constellationlines.h:23
Represents the constellation names on the sky map.
Definition constellationnamescomponent.h:24
bool isLocalCNames()
Return true if we are using localized constellation names.
Definition constellationnamescomponent.h:59
void update(KSNumbers *num) override
we need a custom routine (for now) so we don't precess the locations of the names.
Definition constellationnamescomponent.cpp:112
void draw(SkyPainter *skyp) override
Draw constellation names on the sky map.
Definition constellationnamescomponent.cpp:121
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition ecliptic.cpp:57
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition equator.cpp:59
Collection of all the circles in the equatorial coordinate grid.
Definition equatorialcoordinategrid.h:22
void update(KSNumbers *num=nullptr) override
Update the sky position(s) of this component.
Definition flagcomponent.cpp:369
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition flagcomponent.cpp:52
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition hipscomponent.cpp:28
void update(KSNumbers *) override
Update the sky position(s) of this component.
Definition horizoncomponent.cpp:48
void draw(SkyPainter *skyp) override
Draw the Horizon on the Sky map.
Definition horizoncomponent.cpp:65
Collection of all the circles in the horizontal coordinate grid.
Definition horizontalcoordinategrid.h:19
void update(KSNumbers *) override
Update the sky position(s) of this component.
Definition horizontalcoordinategrid.cpp:113
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition imageoverlaycomponent.cpp:325
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition ksnumbers.h:43
A subclass of TrailObject that provides additional information needed for most solar system objects.
Definition ksplanetbase.h:50
A subclass of KSPlanetBase for seven of the major planets in the solar system (Earth and Pluto have t...
Definition ksplanet.h:33
SkyObject * findByName(const QString &name, bool exact=true) override
Search the children of this SkyComponent for a SkyObject whose name matches the argument name the nam...
Definition listcomponent.cpp:54
void update(KSNumbers *) override
Update the sky position(s) of this component.
Definition localmeridiancomponent.cpp:69
Renders Mosaic Panel on Sky Map in either of two modes depending on scheduler.
Definition mosaiccomponent.h:24
QList< QSharedPointer< SkyObject > > & sessionList()
Definition observinglist.h:89
Represents artificial satellites on the sky map.
Definition satellitescomponent.h:24
SkyObject * objectNearest(SkyPoint *p, double &maxrad) override
Search the nearest satellite from point p.
Definition satellitescomponent.cpp:215
SkyObject * findByName(const QString &name, bool exact=true) override
Return object given name.
Definition satellitescomponent.cpp:250
void update(KSNumbers *num) override
Update satellites position.
Definition satellitescomponent.cpp:82
SkyComposite is a kind of container class for SkyComponent objects.
Definition skycomposite.h:30
void addComponent(SkyComponent *comp, int priority=1024)
Add a new sub component to the composite comp Pointer to the SkyComponent to be added priority A prio...
Definition skycomposite.cpp:22
void removeComponent(SkyComponent *const comp)
Remove a sub component from the composite comp Pointer to the SkyComponent to be removed.
Definition skycomposite.cpp:33
SkyObject * objectNearest(SkyPoint *p, double &maxrad) override
Identify the nearest SkyObject to the given SkyPoint, among the children of this SkyComposite p point...
Definition skycomposite.cpp:76
SkyObject * findByName(const QString &name, bool exact=true) override
Search the children of this SkyComposite for a SkyObject whose name matches the argument.
Definition skycomposite.cpp:65
void draw(SkyPainter *skyp) override
Delegate draw requests to all sub components psky Reference to the QPainter on which to paint.
Definition skycomposite.cpp:50
static void AddLabel(SkyObject *obj, label_t type)
static version of addLabel() below.
Definition skylabeler.h:135
SkyObject * findByName(const QString &name, bool exact=true) override
Search the children of this SkyMapComposite for a SkyObject whose name matches the argument.
Definition skymapcomposite.cpp:563
SkyObject * starNearest(SkyPoint *p, double &maxrad)
Definition skymapcomposite.cpp:502
void updateSolarSystemBodies(KSNumbers *num) override
Delegate planet position updates to the SolarSystemComposite.
Definition skymapcomposite.cpp:228
void update(KSNumbers *num=nullptr) override
Delegate update-position requests to all sub components.
Definition skymapcomposite.cpp:186
SkyMapComposite(SkyComposite *parent=nullptr)
Constructor parent pointer to the parent SkyComponent.
Definition skymapcomposite.cpp:58
QList< SkyObject * > findObjectsInArea(const SkyPoint &p1, const SkyPoint &p2)
Definition skymapcomposite.cpp:549
void draw(SkyPainter *skyp) override
Delegate draw requests to all sub components psky Reference to the QPainter on which to paint.
Definition skymapcomposite.cpp:244
void emitProgressText(const QString &message) override
Emit signal about progress.
Definition skymapcomposite.cpp:702
void updateMoons(KSNumbers *num) override
Delegate moon position updates to the SolarSystemComposite.
Definition skymapcomposite.cpp:233
SkyObject * objectNearest(SkyPoint *p, double &maxrad) override
Definition skymapcomposite.cpp:418
static void setDrawLock(bool state)
Acquire / release a draw lock.
Definition skymapdrawabstract.cpp:466
void loadingFinished()
called when SkyMapComposite finished loading all SkyComponents
Definition skymaplite.h:301
void setClickedPoint(const SkyPoint *f)
Set the ClickedPoint to the skypoint given as an argument.
Definition skymap.cpp:1008
void setClickedObject(SkyObject *o)
Set the ClickedObject pointer to the argument.
Definition skymap.cpp:366
SkyObject * clickedObject() const
Retrieve the object nearest to a mouse click event.
Definition skymap.h:244
const SkyRegion & skyRegion(const SkyPoint &p1, const SkyPoint &p2)
returns the sky region needed to cover the rectangle defined by two SkyPoints p1 and p2
Definition skymesh.cpp:312
void aperture(SkyPoint *center, double radius, MeshBufNum_t bufNum=DRAW_BUF)
finds the set of trixels that cover the circular aperture specified after first performing a reverse ...
Definition skymesh.cpp:56
Trixel index(const SkyPoint *p)
returns the index of the trixel containing p.
Definition skymesh.cpp:74
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
The solar system composite manages all planets, asteroids and comets.
Definition solarsystemcomposite.h:31
void update(KSNumbers *num) override
Delegate update-position requests to all sub components.
Definition solarsystemcomposite.cpp:109
void drawTrails(SkyPainter *skyp) override
Draw trails for objects.
Definition solarsystemcomposite.cpp:144
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition starcomponent.cpp:251
SkyObject * objectNearest(SkyPoint *p, double &maxrad) override
Find the SkyObject nearest the given SkyPoint.
Definition starcomponent.cpp:671
static StarComponent * Create(SkyComposite *)
Create an instance of StarComponent.
Definition starcomponent.cpp:92
void drawLabels()
draw all the labels in the prioritized LabelLists and then clear the LabelLists.
Definition starcomponent.cpp:372
void objectsInArea(QList< SkyObject * > &list, const SkyRegion ®ion) override
Searches the region(s) and appends the SkyObjects found to the list of sky objects.
Definition starcomponent.cpp:602
SkyObject * objectNearest(SkyPoint *p, double &maxrad) override
Find the SkyObject nearest the given SkyPoint.
Definition supernovaecomponent.cpp:144
void update(KSNumbers *num=nullptr) override
Update the sky positions of this component.
Definition supernovaecomponent.cpp:54
Highlights objects present in certain lists by drawing "target" symbols around them.
Definition targetlistcomponent.h:38
void draw(SkyPainter *skyp) override
Draw this component by iterating over the list.
Definition targetlistcomponent.cpp:37
QList< QSharedPointer< SkyObject > > list2
Pointer to list of objects to draw.
Definition targetlistcomponent.h:66
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition terraincomponent.cpp:22
QString i18n(const char *text, const TYPE &arg...)
ButtonCode warningContinueCancel(QWidget *parent, const QString &text, const QString &title=QString(), const KGuiItem &buttonContinue=KStandardGuiItem::cont(), const KGuiItem &buttonCancel=KStandardGuiItem::cancel(), const QString &dontAskAgainName=QString(), Options options=Notify)
Continue
void detailedError(QWidget *parent, const QString &text, const QString &details, const QString &title, const KGuiItem &buttonOk, Options options=Notify)
QDateTime currentDateTime()
bool exists() const const
bool rename(const QString &newName)
void clear()
void append(QList< T > &&value)
qsizetype indexOf(const AT &value, qsizetype from) const const
void removeAt(qsizetype i)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QString arg(Args &&... args) const const
bool close()
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
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.