Stellarium 0.11.4 | |||
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
#include <Comet.hpp>
Public Member Functions | |
Comet (const QString &englishName, int flagLighting, double radius, double oblateness, Vec3f color, float albedo, const QString &texMapName, posFuncType _coordFunc, void *userDataPtr, OsculatingFunctType *osculatingFunc, bool closeOrbit, bool hidden) | |
virtual QString | getInfoString (const StelCore *core, const InfoStringGroup &flags) const |
Get a string with data about the Comet. | |
virtual float | getVMagnitude (const StelCore *core, bool withExtinction=false) const |
void | setAbsoluteMagnitudeAndSlope (double magnitude, double slope) |
sets absolute magnitude and slope parameter. |
Some of the code in this class is re-used from the parent Planet class.
virtual QString Comet::getInfoString | ( | const StelCore * | core, | |
const InfoStringGroup & | flags | |||
) | const [virtual] |
Get a string with data about the Comet.
Comets support the following InfoStringGroup flags:
core | the StelCore object | |
flags | a set of InfoStringGroup items to include in the return value. |
Reimplemented from Planet.
virtual float Comet::getVMagnitude | ( | const StelCore * | core, | |
bool | withExtinction = false | |||
) | const [virtual] |
Reimplemented from Planet.
void Comet::setAbsoluteMagnitudeAndSlope | ( | double | magnitude, | |
double | slope | |||
) |
sets absolute magnitude and slope parameter.
These are the parameters in the IAU's two-parameter magnitude system for comets. They are used to calculate the apparent magnitude at different distances from the Sun. They are not used in the same way as the same parameters in MinorPlanet.