Kstars
asteroidscomponent.cpp
193 bool hideLabels = !Options::showAsteroidNames() || (SkyMap::Instance()->isSlewing() && Options::hideLabels());
200 const double densityLabelFactor = 10.0; // Value of 10.0 influences the slider mag value [0, 2],
202 const double zoomLimit = (lgz - lgmin) / (lgmax - lgmin); // Min-max normalize into [lgmin, lgmax].
QString section(QChar sep, int start, int end, QString::SectionFlags flags) const const
void setOrbitID(QString orbit_id)
Sets the asteroid's orbit solution ID.
Definition: ksasteroid.cpp:195
QString number(int n, int base)
WriteOnly
void setOrbitClass(QString orbit_class)
Sets the asteroid's orbit class.
Definition: ksasteroid.cpp:190
static void AddLabel(SkyObject *obj, label_t type)
static version of addLabel() below.
Definition: skylabeler.h:135
provides functionality for loading the component data from Binary
Definition: binarylistcomponent.h:39
Stores dms coordinates for a point in the sky. for converting between coordinate systems.
Definition: skypoint.h:44
QString trimmed() const const
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition: asteroidscomponent.cpp:186
void setFullTimeUpdate()
The Sky is updated more frequently than the moon, which is updated more frequently than the planets.
Definition: kstarsdata.cpp:313
void setEarthMOID(double earth_moid)
Sets the asteroid's earth minimum orbit intersection distance.
Definition: ksasteroid.cpp:165
void setFocusObject(SkyObject *o)
Set the FocusObject pointer to the argument.
Definition: skymap.cpp:368
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Definition: solarsystemcomposite.h:30
virtual void emitProgressText(const QString &message)
Emit signal about progress.
Definition: skycomponent.cpp:18
SkyObject * objectNearest(SkyPoint *p, double &maxrad) override
Find the SkyObject nearest the given SkyPoint.
Definition: asteroidscomponent.cpp:231
double toDouble(bool *ok) const const
QString i18n(const char *text, const TYPE &arg...)
bool isEmpty() const const
void appendListObject(SkyObject *object)
Add an object to the Object list.
Definition: listcomponent.cpp:37
QByteArray toUtf8() const const
bool isNull() const const
int toInt(bool *ok) const const
bool startsWith(const QByteArray &ba) const const
int toInt(bool *ok, int base) const const
float toFloat(bool *ok) const const
SkyObject * focusObject() const
Retrieve the object which is centered in the sky map.
Definition: skymaplite.h:252
void setRotationPeriod(float rot_per)
Sets the asteroid's rotation period.
Definition: ksasteroid.cpp:263
dms angularDistanceTo(const SkyPoint *sp, double *const positionAngle=nullptr) const
Computes the angular distance between two SkyObjects.
Definition: skypoint.cpp:899
double toDouble(bool *ok) const const
void error(QWidget *parent, const QString &text, const QString &title, const KGuiItem &buttonOk, Options options=Notify)
void setFocusObject(SkyObject *o)
Set the FocusObject pointer to the argument.
Definition: skymaplite.cpp:318
AppLocalDataLocation
SkyObject * focusObject() const
Retrieve the object which is centered in the sky map.
Definition: skymap.h:262
QString i18nc(const char *context, const char *text, const TYPE &arg...)
void setPerihelion(double perihelion)
Sets the asteroid's perihelion distance.
Definition: ksasteroid.cpp:160
void setPhysicalSize(double size)
set the planet's physical size, in km.
Definition: ksplanetbase.h:197
AsteroidsComponent(SolarSystemComposite *parent)
Default constructor.
Definition: asteroidscomponent.cpp:40
virtual QVariant get(ScriptableExtension *callerPrincipal, quint64 objId, const QString &propName)
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:05:38 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:05:38 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.