Comet.hpp   Comet.hpp 
skipping to change at line 44 skipping to change at line 44
public: public:
Comet(const QString& englishName, Comet(const QString& englishName,
int flagLighting, int flagLighting,
double radius, double radius,
double oblateness, double oblateness,
Vec3f color, Vec3f color,
float albedo, float albedo,
const QString& texMapName, const QString& texMapName,
posFuncType _coordFunc, posFuncType _coordFunc,
void* userDataPtr, void* userDataPtr,
OsulatingFunctType *osculatingFunc, OsculatingFunctType *osculatingFunc,
bool closeOrbit, bool closeOrbit,
bool hidden); bool hidden);
~Comet(); ~Comet();
//Inherited from StelObject via Planet //Inherited from StelObject via Planet
//! Get a string with data about the Comet. //! Get a string with data about the Comet.
//! Comets support the following InfoStringGroup flags: //! Comets support the following InfoStringGroup flags:
//! - Name //! - Name
//! - Magnitude //! - Magnitude
//! - RaDec //! - RaDec
//! - AltAzi //! - AltAzi
//! - Distance //! - Distance
//! - PlainText //! - PlainText
// - Size <- Size of what? // - Size <- Size of what?
//! \param core the StelCore object //! \param core the StelCore object
//! \param flags a set of InfoStringGroup items to include in the re turn value. //! \param flags a set of InfoStringGroup items to include in the re turn value.
//! \return a QString containing an HMTL encoded description of the Comet. //! \return a QString containing an HMTL encoded description of the Comet.
virtual QString getInfoString(const StelCore *core, const InfoString Group &flags) const; virtual QString getInfoString(const StelCore *core, const InfoString Group &flags) const;
virtual QString getType() const {return "Comet";} //The Comet class inherits the "Planet" type because the SolarSystem
class
//was not designed to handle different types of objects.
//virtual QString getType() const {return "Comet";}
//! \todo Find better sources for the g,k system //! \todo Find better sources for the g,k system
virtual float getVMagnitude(const StelNavigator *nav) const; virtual float getVMagnitude(const StelCore* core) const;
//! \brief sets absolute magnitude and slope parameter. //! \brief sets absolute magnitude and slope parameter.
//! These are the parameters in the IAU's two-parameter magnitude sy stem //! These are the parameters in the IAU's two-parameter magnitude sy stem
//! for comets. They are used to calculate the apparent magnitude at //! for comets. They are used to calculate the apparent magnitude at
//! different distances from the Sun. They are not used in the same way //! different distances from the Sun. They are not used in the same way
//! as the same parameters in MinorPlanet. //! as the same parameters in MinorPlanet.
void setAbsoluteMagnitudeAndSlope(double magnitude, double slope); void setAbsoluteMagnitudeAndSlope(double magnitude, double slope);
private: private:
double absoluteMagnitude; double absoluteMagnitude;
 End of changes. 3 change blocks. 
3 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/