Kstars
catalogobject.cpp
A simple container object to hold the minimum information for a Deep Sky Object to be drawn on the sk...
Definition catalogobject.h:41
CatalogObject(oid id={}, const SkyObject::TYPE t=SkyObject::STAR, const dms &r=dms(0.0), const dms &d=dms(0.0), const float m=NaN::f, const QString &n=QString(), const QString &lname=QString(), const QString &catalog_identifier=QString(), const int catalog_id=-1, const float a=0.0, const float b=0.0, const double pa=0.0, const float flux=0, const QString &database_path="")
Definition catalogobject.h:64
void initPopupMenu(KSPopupMenu *pmenu) override
Initialize the popup menu for a CatalogObject.
Definition catalogobject.cpp:95
SkyObject::UID getUID() const override
Generates a KStars internal UID from the object id.
Definition catalogobject.cpp:72
const QString & catalogIdentifier() const
Definition catalogobject.h:163
void JITupdate()
Update the cooridnates and the horizontal coordinates if updateID or updateNumID have changed (global...
Definition catalogobject.cpp:77
const CatalogsDB::Catalog getCatalog() const
Get information about the catalog that this objects stems from.
Definition catalogobject.cpp:104
CatalogObject * clone() const override
Clones the object and returns a pointer to it.
Definition catalogobject.cpp:19
Manages the catalog database and provides an interface to provide an interface to query and modify th...
Definition catalogsdb.h:183
const std::pair< bool, Catalog > get_catalog(const int id)
Definition catalogsdb.cpp:381
void createCatalogObjectMenu(CatalogObject *obj)
Create a popup menu for a deep-sky catalog object.
Definition kspopupmenu.cpp:228
void EquatorialToHorizontal(const CachingDms *LST, const CachingDms *lat)
Determine the (Altitude, Azimuth) coordinates of the SkyPoint from its (RA, Dec) coordinates,...
Definition skypoint.cpp:77
virtual void updateCoords(const KSNumbers *num, bool includePlanets=true, const CachingDms *lat=nullptr, const CachingDms *LST=nullptr, bool forceRecompute=false)
Determine the current coordinates (RA, Dec) from the catalog coordinates (RA0, Dec0),...
Definition skypoint.cpp:582
static const QImage & getImage(const QString &name)
Return texture image.
Definition texturemanager.cpp:48
static constexpr double PI
PI is a const static member; it's public so that it can be used anywhere, as long as dms....
Definition dms.h:385
qlonglong toLongLong(bool *ok, int base) const const
bool addData(QIODevice *device)
QString toString(QDate date, FormatType format) const const
QString number(double n, char format, int precision)
QString & remove(QChar ch, Qt::CaseSensitivity cs)
QString toLower() const const
QByteArray toUtf8() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.