21 #ifndef _MINOR_PLANET_HPP_ 22 #define _MINOR_PLANET_HPP_ 47 const QString& texMapName,
48 posFuncType _coordFunc,
50 OsculatingFunctType *osculatingFunc,
53 const QString &pTypeStr);
115 int minorPlanetNumber;
116 float absoluteMagnitude;
117 float slopeParameter;
118 double semiMajorAxis;
120 bool nameIsProvisionalDesignation;
121 QString provisionalDesignationHtml;
125 #endif //_MINOR_PLANET_HPP_
virtual float getVMagnitude(const StelCore *core) const
Return object's apparent V magnitude as seen from observer, without including extinction.
void setAbsoluteMagnitudeAndSlope(double magnitude, double slope)
sets absolute magnitude (H) and slope parameter (G).
double getSiderealPeriod() const
get sidereal period for minor planet
Class used to translate strings to any language.
virtual void translateName(const StelTranslator &trans)
sets the nameI18 property with the appropriate translation.
Main class for Stellarium core processing.
void setSemiMajorAxis(double value)
set value for semi-major axis in AU
virtual QString getNameI18n(void) const
Return translated object's name.
virtual QString getEnglishName(void) const
Return object's name in english.
void setProvisionalDesignation(QString designation)
sets a provisional designation.
virtual QString getInfoString(const StelCore *core, const InfoStringGroup &flags) const
Get a string with data about the MinorPlanet.
static QString renderProvisionalDesignationinHtml(QString plainText)
renders the subscript in a minor planet provisional designation with HTML.
void setMinorPlanetNumber(int number)
set the minor planet's number, if any.