Stellarium
23.4
|
#include <Comet.hpp>
Public Member Functions | |
Comet (const QString &englishName, double equatorialRadius, double oblateness, Vec3f halocolor, float albedo, float roughness, float outgas_intensity, float outgas_falloff, const QString &texMapName, const QString &objModelName, posFuncType _coordFunc, KeplerOrbit *orbitPtr, OsculatingFunctType *osculatingFunc, bool closeOrbit, bool hidden, const QString &pTypeStr, float dustTailWidthFact=1.5f, float dustTailLengthFact=0.4f, float dustTailBrightnessFact=1.5f) | |
virtual QVariantMap | getInfoMap (const StelCore *core) const Q_DECL_OVERRIDE |
In addition to Planet::getInfoMap(), Comets provides estimates for. More... | |
virtual float | getVMagnitude (const StelCore *core) const Q_DECL_OVERRIDE |
virtual void | translateName (const StelTranslator &trans) Q_DECL_OVERRIDE |
sets the nameI18 property with the appropriate translation. More... | |
virtual QString | getEnglishName (void) const Q_DECL_OVERRIDE |
Return object's name in english. | |
virtual QString | getNameI18n (void) const Q_DECL_OVERRIDE |
Return translated object's name. | |
virtual QString | getIAUDesignation () const Q_DECL_OVERRIDE |
gets an IAU designation. | |
void | setAbsoluteMagnitudeAndSlope (const float magnitude, const float slope) |
sets absolute magnitude and slope parameter. More... | |
void | setIAUDesignation (const QString &designation) |
sets an IAU designation. | |
void | setExtraDesignations (QStringList codes) |
set date, discovery and perihelion codes of the comet. | |
void | setDiscoveryData (const QString &date, const QString &name) |
set the discovery circumstances of comet More... | |
QStringList | getExtraDesignations () const |
get list of comet codes | |
virtual double | getSiderealPeriod () const Q_DECL_OVERRIDE |
get sidereal period for comet, days, or returns 0 if not possible (parabolic, hyperbolic orbit) | |
virtual void | draw (StelCore *core, float maxMagLabels, const QFont &planetNameFont) Q_DECL_OVERRIDE |
re-implementation of Planet's draw() | |
virtual void | update (int deltaTime) Q_DECL_OVERRIDE |
Public Member Functions inherited from Planet | |
Planet (const QString &englishName, double equatorialRadius, double oblateness, Vec3f halocolor, float albedo, float roughness, const QString &texMapName, const QString &normalMapName, const QString &ahorizonMapName, const QString &objModelName, posFuncType _coordFunc, Orbit *anOrbitPtr, OsculatingFunctType *osculatingFunc, bool closeOrbit, bool hidden, bool hasAtmosphere, bool hasHalo, const QString &pTypeStr) | |
virtual QString | getInfoString (const StelCore *core, const InfoStringGroup &flags) const Q_DECL_OVERRIDE |
Get a string with data about the Planet. More... | |
virtual double | getCloseViewFov (const StelCore *core) const Q_DECL_OVERRIDE |
Return the best FOV in degree to use for a close view of the object. | |
virtual double | getSatellitesFov (const StelCore *core) const Q_DECL_OVERRIDE |
Return the best FOV in degree to use for a global view of the object satellite system (if there are satellites) | |
virtual double | getParentSatellitesFov (const StelCore *core) const Q_DECL_OVERRIDE |
virtual float | getSelectPriority (const StelCore *core) const Q_DECL_OVERRIDE |
Return a priority value which is used to discriminate objects by priority As for magnitudes, the lower is the higher priority. | |
virtual Vec3f | getInfoColor (void) const Q_DECL_OVERRIDE |
Get a color used to display info about the object. | |
virtual QString | getType (void) const Q_DECL_OVERRIDE |
virtual QString | getObjectType (void) const Q_DECL_OVERRIDE |
Get more specific Planet type for scripts. More... | |
virtual QString | getObjectTypeI18n (void) const Q_DECL_OVERRIDE |
Get more specific Planet type for scripts. More... | |
virtual QString | getID (void) const Q_DECL_OVERRIDE |
virtual Vec3d | getJ2000EquatorialPos (const StelCore *core) const Q_DECL_OVERRIDE |
A Planet's own eclipticPos is in VSOP87 ref. More... | |
QString | getNativeName (void) const |
QString | getNativeNameI18n (void) const |
QString | getCommonEnglishName (void) const |
QString | getCommonNameI18n (void) const |
virtual double | getAngularRadius (const StelCore *core) const Q_DECL_OVERRIDE |
Get angular semidiameter, degrees. If planet display is artificially enlarged (e.g. Moon upscale), value will also be increased. | |
virtual bool | hasAtmosphere (void) |
virtual bool | hasHalo (void) |
bool | hasValidPositionalData (const double JDE, const PositionQuality purpose) const |
Returns whether planet positions are valid and useful for the current simulation time. More... | |
Vec2d | getValidPositionalDataRange (const PositionQuality purpose) const |
Returns JDE dates of presumably valid data for positional calculation or acceptable range for graphics. More... | |
float | getAxisRotation (void) |
double | getEquatorialRadius (void) const |
Get the equator radius of the planet in AU. More... | |
double | getOneMinusOblateness (void) const |
Get the value (1-f) for oblateness f=polarRadius/equatorialRadius. | |
double | getPolarRadius (void) const |
Get the polar radius of the planet in AU. More... | |
double | getSiderealDay (void) const |
Get duration of sidereal day (earth days, may come from rot_periode or orbit_period (for moons) from ssystem_*.ini) | |
void | setSiderealPeriod (const double siderealPeriod) |
set duration of sidereal year. More... | |
double | getMeanSolarDay (void) const |
Get duration of mean solar day, in earth days. | |
double | getAlbedo (void) const |
Get albedo. | |
const QString & | getTextMapName () const |
PlanetType | getPlanetType () const |
Orbit * | getOrbit () const |
void | setNativeName (QString planet) |
void | setNativeNameMeaning (QString planet) |
void | setIAUMoonNumber (const QString &designation) |
set the IAU moon number (designation of the moon), if any. | |
void | setColorIndexBV (float bv=99.f) |
set value for color index B-V | |
void | setDiscoveryData (const QString &date, const QString &name) |
set the discovery circumstances of celestial body More... | |
float | getAbsoluteMagnitude () const |
Return the absolute magnitude (read from file ssystem.ini) | |
float | getMeanOppositionMagnitude () const |
Return the mean opposition magnitude, defined as V(1,0)+5log10(a(a-1)) A return value of 100 signals invalid result. | |
double | getMass () const |
Return the mass in kg. | |
double | getSiderealTime (double JD, double JDE) const |
Compute the axial z rotation (daily rotation around the polar axis) [degrees] to use from equatorial to hour angle based coordinates. More... | |
Mat4d | getRotEquatorialToVsop87 (void) const |
return a rotation matrix from the planet's equatorial coordinate frame to the VSOP87 (ecliptical J2000) frame. More... | |
void | setRotEquatorialToVsop87 (const Mat4d &m) |
set a rotation matrix from the planet's equatorial coordinate frame to the VSOP87 (ecliptical J2000) frame. More... | |
const RotationElements & | getRotationElements (void) const |
void | setRotationElements (const QString name, const double _period, const double _offset, const double _epoch, const double _obliquity, const double _ascendingNode, const double _ra0, const double _ra1, const double _de0, const double _de1, const double _w0, const double _w1) |
Set the rotational elements. More... | |
double | getRotAscendingNode (void) const |
Note: The only place where this is used is to build up orbits for planet moons w.r.t. the parent planet orientation. | |
double | getRotObliquity (double JDE) const |
return angle between axis and normal of ecliptic plane (or, for a moon, equatorial/reference plane defined by parent). More... | |
virtual void | computePosition (const double dateJDE, const Vec3d &aberrationPush) |
Compute the position and orbital velocity in the parent Planet coordinate system You can add the aberrationPush value according to Edot*lightTime in Explanatory Supplement (2013) formula 7.55. | |
virtual void | computePosition (const double dateJDE, Vec3d &eclPosition, Vec3d &eclVelocity) const |
Compute the position and orbital velocity in the parent Planet coordinate system, and return them in eclPosition and eclVelocity These may be preferred when we want to avoid setting the actual position (e.g., RTS computation) | |
void | computeTransMatrix (double JD, double JDE) |
Compute the transformation matrix from the local Planet coordinate to the parent Planet coordinate. More... | |
Vec4d | getRectangularCoordinates (const double longDeg, const double latDeg, const double altMetres=0.) const |
Retrieve planetocentric rectangular coordinates of a location on the ellipsoid surface, or with altitude altMetres above the ellipsoid surface. More... | |
Vec4d | getHourlyProperMotion (const StelCore *core) const |
Retrieve the hourly proper motion of Solar system bodies. More... | |
double | getPhaseAngle (const Vec3d &obsPos) const |
Get the phase angle (radians) for an observer at pos obsPos in heliocentric coordinates (in AU) | |
bool | isWaning (const Vec3d &observerPosition, const Vec3d &observerVelocity) const |
Check whether the planet is in a waning phase, i.e. its phase angle is increasing. | |
double | getElongation (const Vec3d &obsPos) const |
Get the elongation angle (radians) for an observer at pos obsPos in heliocentric coordinates (in AU) | |
double | getSpheroidAngularRadius (const StelCore *core) const |
Get the angular radius (degrees) of the planet spheroid (i.e. without the rings) | |
float | getPhase (const Vec3d &obsPos) const |
Get the planet phase (illuminated fraction of the planet disk, [0=dark..1=full]) for an observer at pos obsPos in heliocentric coordinates (in AU) | |
QPair< Vec4d, Vec3d > | getSubSolarObserverPoints (const StelCore *core, bool jupiterGraphical=false) const |
Get planetographic coordinates of subsolar and sub-observer points. More... | |
bool | isRotatingRetrograde () const |
returns if planet has retrograde rotation | |
Vec3d | getEclipticPos (double dateJDE) const |
Get the Planet position in the parent Planet ecliptic coordinate in AU. | |
Vec3d | getEclipticPos () const |
Get the last computed Planet position in the parent Planet ecliptic coordinate in AU. | |
Vec3d | getHeliocentricEclipticPos () const |
Return the heliocentric ecliptical position. | |
Vec3d | getHeliocentricEclipticPos (double dateJDE) const |
Vec3d | getHeliocentricPos (Vec3d p) const |
Return the heliocentric transformation for local (parentocentric) coordinate. More... | |
void | setHeliocentricEclipticPos (const Vec3d &pos) |
Propagate the heliocentric coordinates to parentocentric coordinates. More... | |
Vec3d | getEclipticVelocity () const |
Get the planet velocity around the parent planet in ecliptical coordinates in AU/d. | |
Vec3d | getHeliocentricEclipticVelocity () const |
Get the planet's heliocentric velocity in the solar system in ecliptical coordinates in AU/d. Required for aberration! | |
double | computeDistance (const Vec3d &obsHelioPos) |
Compute and return the distance to the given position in heliocentric ecliptical (J2000) coordinates (in AU) Preserves result for later retrieval by getDistance() As side effect, improve fps by juggling update frequency (deltaJDE) for asteroids and other minor bodies. More... | |
double | getDistance (void) const |
Return the last computed distance to the given position in heliocentric ecliptical (J2000) coordinates (in AU) | |
void | setRings (Ring *r) |
void | setSphereScale (double s) |
double | getSphereScale () const |
const QSharedPointer< Planet > | getParent (void) const |
void | setFlagHints (bool b) |
bool | getFlagHints (void) const |
void | setFlagLabels (bool b) |
bool | getFlagLabels (void) const |
void | setFlagNativeName (bool b) |
bool | getFlagNativeName (void) const |
void | setFlagOrbits (bool b) |
bool | getFlagOrbits (void) const |
void | drawOrbit (const StelCore *) |
QVector< const Planet * > | getCandidatesForShadow () const |
Return the list of planets which project some shadow on this planet. | |
Vec3d | getAberrationPush () const |
virtual Vec4d | getClosestRTSTime (const StelCore *core, const double altitude=0.) const |
Compute times of nearest rise, transit and set for a solar system object for current location. More... | |
virtual Vec4d | getRTSTime (const StelCore *core, const double altitude=0.) const Q_DECL_OVERRIDE |
Adaptation of getClosestRTSTime() to compute times of rise, transit and set for a solar system object for current location and date. More... | |
void | resetTextures () |
void | replaceTexture (const QString &texName) |
Public Member Functions inherited from StelObject | |
virtual SphericalRegionP | getRegion () const Q_DECL_OVERRIDE |
Default implementation of the getRegion method. More... | |
virtual Vec3d | getPointInRegion () const Q_DECL_OVERRIDE |
Default implementation of the getPointInRegion method. More... | |
Vec3d | getEquinoxEquatorialPos (const StelCore *core) const |
Get observer-centered equatorial coordinate at the current equinox The frame has its Z axis at the planet's current rotation axis At time 2000-01-01 this frame is almost the same as J2000, but ONLY if the observer is on earth. | |
Vec3d | getEquinoxEquatorialPosApparent (const StelCore *core) const |
Like getEquinoxEquatorialPos(core), but always adds refraction correction to the position. | |
Vec3d | getEquinoxEquatorialPosAuto (const StelCore *core) const |
Like getEquinoxEquatorialPos(core), but adds refraction correction to the position if atmosphere is active. | |
Vec3d | getGalacticPos (const StelCore *core) const |
Get observer-centered galactic coordinates. | |
Vec3d | getSupergalacticPos (const StelCore *core) const |
Get observer-centered supergalactic coordinates. | |
Vec3d | getSiderealPosGeometric (const StelCore *core) const |
Get observer-centered hour angle + declination (at current equinox) It is the geometric position, i.e. More... | |
Vec3d | getSiderealPosApparent (const StelCore *core) const |
Get observer-centered hour angle + declination (at current equinox) It is the apparent position, i.e. More... | |
Vec3d | getAltAzPosGeometric (const StelCore *core) const |
Get observer-centered alt/az position It is the geometric position, i.e. More... | |
Vec3d | getAltAzPosApparent (const StelCore *core) const |
Get observer-centered alt/az position It is the apparent position, i.e. More... | |
Vec3d | getAltAzPosAuto (const StelCore *core) const |
Get observer-centered alt/az position It is the automatic position, i.e. More... | |
float | getParallacticAngle (const StelCore *core) const |
Get parallactic angle, which is the deviation between zenith angle and north angle. [radians]. | |
bool | isAboveHorizon (const StelCore *core) const |
Checking position an object above mathematical horizon for current location. More... | |
bool | isAboveRealHorizon (const StelCore *core) const |
Checking position an object above real horizon for current location. More... | |
float | getVMagnitudeWithExtinction (const StelCore *core) const |
Return object's apparent V magnitude as seen from observer including extinction. More... | |
virtual float | getAirmass (const StelCore *core) const |
Return airmass value for the object (for atmosphere-dependent calculations) More... | |
Static Public Member Functions | |
static QString | renderDiscoveryDesignationHtml (const QString &plainText) |
renders the subscript in a comet discovery designation with HTML. More... | |
Static Public Member Functions inherited from Planet | |
static void | init () |
Initializes static vars. Must be called before creating first planet. | |
static ApparentMagnitudeAlgorithm | getApparentMagnitudeAlgorithm () |
static const QString | getApparentMagnitudeAlgorithmString () |
static void | setApparentMagnitudeAlgorithm (QString algorithm) |
static void | setApparentMagnitudeAlgorithm (ApparentMagnitudeAlgorithm algorithm) |
static float | getPAsun (const Vec3d &sunPos, const Vec3d &objPos) |
Get the position angle of the illuminated limb of a planet The result depends on the arguments' coordinate system which must be identical. More... | |
static void | setLabelColor (const Vec3f &lc) |
static const Vec3f & | getLabelColor (void) |
static void | setOrbitColor (const Vec3f &oc) |
static const Vec3f & | getOrbitColor () |
static void | setMajorPlanetOrbitColor (const Vec3f &oc) |
static const Vec3f & | getMajorPlanetOrbitColor () |
static void | setMoonOrbitColor (const Vec3f &oc) |
static const Vec3f & | getMoonOrbitColor () |
static void | setMinorPlanetOrbitColor (const Vec3f &oc) |
static const Vec3f & | getMinorPlanetOrbitColor () |
static void | setDwarfPlanetOrbitColor (const Vec3f &oc) |
static const Vec3f & | getDwarfPlanetOrbitColor () |
static void | setCubewanoOrbitColor (const Vec3f &oc) |
static const Vec3f & | getCubewanoOrbitColor () |
static void | setPlutinoOrbitColor (const Vec3f &oc) |
static const Vec3f & | getPlutinoOrbitColor () |
static void | setScatteredDiscObjectOrbitColor (const Vec3f &oc) |
static const Vec3f & | getScatteredDiscObjectOrbitColor () |
static void | setOortCloudObjectOrbitColor (const Vec3f &oc) |
static const Vec3f & | getOortCloudObjectOrbitColor () |
static void | setCometOrbitColor (const Vec3f &oc) |
static const Vec3f & | getCometOrbitColor () |
static void | setSednoidOrbitColor (const Vec3f &oc) |
static const Vec3f & | getSednoidOrbitColor () |
static void | setInterstellarOrbitColor (const Vec3f &oc) |
static const Vec3f & | getInterstellarOrbitColor () |
static void | setMercuryOrbitColor (const Vec3f &oc) |
static const Vec3f & | getMercuryOrbitColor () |
static void | setVenusOrbitColor (const Vec3f &oc) |
static const Vec3f & | getVenusOrbitColor () |
static void | setEarthOrbitColor (const Vec3f &oc) |
static const Vec3f & | getEarthOrbitColor () |
static void | setMarsOrbitColor (const Vec3f &oc) |
static const Vec3f & | getMarsOrbitColor () |
static void | setJupiterOrbitColor (const Vec3f &oc) |
static const Vec3f & | getJupiterOrbitColor () |
static void | setSaturnOrbitColor (const Vec3f &oc) |
static const Vec3f & | getSaturnOrbitColor () |
static void | setUranusOrbitColor (const Vec3f &oc) |
static const Vec3f & | getUranusOrbitColor () |
static void | setNeptuneOrbitColor (const Vec3f &oc) |
static const Vec3f & | getNeptuneOrbitColor () |
Protected Member Functions | |
virtual QString | getInfoStringName (const StelCore *core, const InfoStringGroup &flags) const Q_DECL_OVERRIDE |
virtual QString | getInfoStringAbsoluteMagnitude (const StelCore *core, const InfoStringGroup &flags) const Q_DECL_OVERRIDE |
virtual QString | getInfoStringSize (const StelCore *core, const InfoStringGroup &flags) const Q_DECL_OVERRIDE |
Any flag=Size information to be displayed. | |
virtual QString | getInfoStringExtra (const StelCore *core, const InfoStringGroup &flags) const Q_DECL_OVERRIDE |
Any flag=Extra information to be displayed at the end. | |
virtual QString | getDiscoveryCircumstances () const Q_DECL_OVERRIDE |
Protected Member Functions inherited from Planet | |
virtual QString | getInfoStringExtraMag (const StelCore *core, const InfoStringGroup &flags) const |
Any flag=Extra information to be displayed after the magnitude strings. | |
virtual QString | getInfoStringEloPhase (const StelCore *core, const InfoStringGroup &flags, const bool withIllum) const |
Return elongation and phase angle when flags=Elongation. | |
virtual QString | getInfoStringPeriods (const StelCore *core, const InfoStringGroup &flags) const |
Return sidereal and synodic periods when flags=Extra. | |
void | computeModelMatrix (Mat4d &result, bool solarEclipseCase) const |
Used in drawSphere() to compute shadows, and inside a function to derive eclipse sizes. More... | |
void | computeOrbit () |
Update the orbit position values. | |
Vec3f | getCurrentOrbitColor () const |
QString | getPlanetLabel () const |
Return the information string "ready to print". | |
void | draw3dModel (StelCore *core, StelProjector::ModelViewTranformP transfo, float screenRd, bool drawOnlyRing=false) |
Draw the 3d model. More... | |
bool | drawObjModel (StelPainter *painter, float screenRd) |
Draws the OBJ model, assuming it is available. More... | |
bool | drawObjShadowMap (StelPainter *painter, QMatrix4x4 &shadowMatrix) |
bool | ensureObjLoaded () |
Starts the OBJ loading process, if it has not been done yet. More... | |
void | drawSphere (StelPainter *painter, float screenRd, bool drawOnlyRing=false) |
Draw the 3D sphere. | |
void | drawSurvey (StelCore *core, StelPainter *painter) |
Draw the Hips survey. | |
void | drawHints (const StelCore *core, const QFont &planetNameFont) |
Draw the circle and name of the Planet. | |
PlanetOBJModel * | loadObjModel () const |
Protected Member Functions inherited from StelObject | |
QString | getCommonInfoString (const StelCore *core, const InfoStringGroup &flags) const |
Format the positional info string containing J2000/of date/altaz/hour angle positions and constellation, sidereal time, etc. More... | |
virtual QString | getMagnitudeInfoString (const StelCore *core, const InfoStringGroup &flags, const int decimals=1) const |
Format the magnitude info string for the object. More... | |
QString | getSolarLunarInfoString (const StelCore *core, const InfoStringGroup &flags) const |
Add a section to the InfoString with just horizontal data for the Sun and Moon, when observed from Earth. More... | |
void | postProcessInfoString (QString &str, const InfoStringGroup &flags) const |
Apply post processing on the info string. More... | |
Friends | |
class | SolarSystem |
Additional Inherited Members | |
Public Types inherited from Planet | |
enum | PlanetType { isStar , isPlanet , isMoon , isObserver , isArtificial , isAsteroid , isPlutino , isComet , isDwarfPlanet , isCubewano , isSDO , isOCO , isSednoid , isInterstellar , isUNDEFINED } |
numeric typecodes for the type descriptions in ssystem.ini | |
enum | PlanetOrbitColorStyle { ocsOneColor , ocsGroups , ocsMajorPlanets } |
enum | ApparentMagnitudeAlgorithm { Mueller_1893 , AstronomicalAlmanac_1984 , ExplanatorySupplement_1992 , ExplanatorySupplement_2013 , MallamaHilton_2018 , UndefinedAlgorithm , Generic } |
enum | PositionQuality { Position , OrbitPlotting } |
enums to indicate for which purpose we check positional quality. More... | |
Public Types inherited from StelObject | |
enum | InfoStringGroupFlags { None = 0x00000000 , Name = 0x00000001 , CatalogNumber = 0x00000002 , Magnitude = 0x00000004 , RaDecJ2000 = 0x00000008 , RaDecOfDate = 0x00000010 , AltAzi = 0x00000020 , Distance = 0x00000040 , Elongation = 0x00000080 , Size = 0x00000100 , Velocity = 0x00000200 , ProperMotion = 0x00000400 , Extra = 0x00000800 , HourAngle = 0x00001000 , AbsoluteMagnitude = 0x00002000 , GalacticCoord = 0x00004000 , SupergalacticCoord = 0x00008000 , OtherCoord = 0x00010000 , ObjectType = 0x00020000 , EclipticCoordJ2000 = 0x00040000 , EclipticCoordOfDate = 0x00080000 , IAUConstellation = 0x00100000 , SiderealTime = 0x00200000 , RTSTime = 0x00400000 , SolarLunarPosition = 0x00800000 , Script = 0x01000000 , DebugAid = 0x02000000 , NoFont = 0x04000000 , PlainText = 0x08000000 } |
Used as named bitfield flags as specifiers to filter results of getInfoString. More... | |
Public Slots inherited from StelObject | |
virtual void | setExtraInfoString (const InfoStringGroup &flags, const QString &str) |
Allow additions to the Info String. More... | |
virtual void | addToExtraInfoString (const StelObject::InfoStringGroup &flags, const QString &str) |
Add str to the extra string. More... | |
QStringList | getExtraInfoStrings (const InfoStringGroup &flags) const |
Retrieve an (unsorted) QStringList of all extra info strings that match flags. More... | |
void | removeExtraInfoStrings (const InfoStringGroup &flags) |
Remove the extraInfoStrings with the given flags. More... | |
Data Fields inherited from Planet | |
bool | flagNativeName |
LinearFader | orbitFader |
Vec3d | orbit [ORBIT_SEGMENTS+1] |
double | deltaJDE |
double | deltaOrbitJDE |
bool | closeOrbit |
Static Public Attributes inherited from Planet | |
static const QString | PLANET_TYPE |
static Vec3f | orbitColor |
static Vec3f | orbitMajorPlanetsColor |
static Vec3f | orbitMoonsColor |
static Vec3f | orbitMinorPlanetsColor |
static Vec3f | orbitDwarfPlanetsColor |
static Vec3f | orbitCubewanosColor |
static Vec3f | orbitPlutinosColor |
static Vec3f | orbitScatteredDiscObjectsColor |
static Vec3f | orbitOortCloudObjectsColor |
static Vec3f | orbitCometsColor |
static Vec3f | orbitSednoidsColor |
static Vec3f | orbitInterstellarColor |
static Vec3f | orbitMercuryColor |
static Vec3f | orbitVenusColor |
static Vec3f | orbitEarthColor |
static Vec3f | orbitMarsColor |
static Vec3f | orbitJupiterColor |
static Vec3f | orbitSaturnColor |
static Vec3f | orbitUranusColor |
static Vec3f | orbitNeptuneColor |
static PlanetOrbitColorStyle | orbitColorStyle |
Static Public Attributes inherited from StelObject | |
static constexpr InfoStringGroup | AllInfo |
A pre-defined "all available" set of specifiers for the getInfoString flags argument to getInfoString. More... | |
static constexpr InfoStringGroup | DefaultInfo |
A pre-defined "default" set of specifiers for the getInfoString flags argument to getInfoString It appears useful to propose this set as post-install settings and let users configure more on demand. More... | |
static constexpr InfoStringGroup | ShortInfo = static_cast<InfoStringGroup>(Name|CatalogNumber|Magnitude|RaDecJ2000) |
A pre-defined "shortest useful" set of specifiers for the getInfoString flags argument to getInfoString. | |
Protected Attributes inherited from Planet | |
QString | englishName |
QString | nameI18 |
QString | nativeName |
QString | nativeNameMeaning |
QString | nativeNameMeaningI18n |
QString | texMapName |
QString | normalMapName |
QString | horizonMapName |
RotationElements | re |
double | siderealPeriod |
double | equatorialRadius |
double | oneMinusOblateness |
Vec3d | eclipticPos |
Vec3d | eclipticVelocity |
Vec3d | aberrationPush |
Vec3d | screenPos |
Vec3f | haloColor |
float | absoluteMagnitude |
double | massKg |
float | albedo |
float | roughness |
float | outgas_intensity |
float | outgas_falloff |
Mat4d | rotLocalToParent |
float | axisRotation |
StelTextureSP | texMap |
StelTextureSP | normalMap |
StelTextureSP | horizonMap |
PlanetOBJModel * | objModel |
QFuture< PlanetOBJModel * > * | objModelLoader |
QString | objModelPath |
HipsSurveyP | survey |
Ring * | rings |
double | distance |
double | sphereScale |
double | lastJDE |
posFuncType | coordFunc |
Orbit * | orbitPtr |
OsculatingFunctType *const | osculatingFunc |
QSharedPointer< Planet > | parent |
QList< QSharedPointer< Planet > > | satellites |
LinearFader | hintFader |
LinearFader | labelsFader |
bool | flagLabels |
bool | hidden |
bool | atmosphere |
bool | halo |
PlanetType | pType |
bool | multisamplingEnabled_ |
bool | planetShadowsSupersampEnabled_ |
QOpenGLFunctions * | gl |
Static Protected Attributes inherited from Planet | |
static StelTextureSP | texEarthShadow |
static ApparentMagnitudeAlgorithm | vMagAlgorithm |
static Vec3f | labelColor |
static StelTextureSP | hintCircleTex |
static const QMap< PlanetType, QString > | pTypeMap |
static const QMap< QString, QString > | nPlanetMap |
static const QMap< ApparentMagnitudeAlgorithm, QString > | vMagAlgorithmMap |
static bool | drawMoonHalo |
static bool | drawSunHalo |
static bool | permanentDrawingOrbits |
If true, planet orbits will be drawn even if planet is off screen. | |
static int | orbitsThickness |
Some of the code in this class is re-used from the parent Planet class.
|
virtual |
In addition to Planet::getInfoMap(), Comets provides estimates for.
Reimplemented from Planet.
|
virtual |
Reimplemented from Planet.
|
static |
renders the subscript in a comet discovery designation with HTML.
This subscript only ever appears in the super rare case when a comet is first labeled as asteroid.
void Comet::setAbsoluteMagnitudeAndSlope | ( | const float | magnitude, |
const float | 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.
|
inline |
set the discovery circumstances of comet
date | of discovery |
name | of discoverer |
|
virtual |
sets the nameI18 property with the appropriate translation.
Function overridden to handle the problem with name conflicts.
Reimplemented from Planet.