MinorPlanet.hpp   MinorPlanet.hpp 
skipping to change at line 49 skipping to change at line 49
public: public:
MinorPlanet(const QString& englishName, MinorPlanet(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);
~MinorPlanet(); ~MinorPlanet();
//Inherited from StelObject via Planet //Inherited from StelObject via Planet
//! Get a string with data about the MinorPlanet. //! Get a string with data about the MinorPlanet.
//! Asteroids support the following InfoStringGroup flags: //! Asteroids support the following InfoStringGroup flags:
//! - Name //! - Name
//! - Magnitude //! - Magnitude
//! - RaDec //! - RaDec
//! - AltAzi //! - AltAzi
//! - Distance //! - Distance
//! - Size //! - Size
//! - PlainText //! - PlainText
//! \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 MinorPlanet. //! \return a QString containing an HMTL encoded description of the MinorPlanet.
virtual QString getInfoString(const StelCore *core, const InfoString Group &flags) const; virtual QString getInfoString(const StelCore *core, const InfoString Group &flags) const;
//! \todo Decide if this is going to be "MinorPlanet" or "Asteroid" //The Comet class inherits the "Planet" type because the SolarSystem
virtual QString getType() const {return "MinorPlanet";} class
virtual float getVMagnitude(const StelNavigator *nav) const; //was not designed to handle different types of objects.
// \todo Decide if this is going to be "MinorPlanet" or "Asteroid"
//virtual QString getType() const {return "MinorPlanet";}
virtual float getVMagnitude(const StelCore* core) const;
//! sets the nameI18 property with the appropriate translation. //! sets the nameI18 property with the appropriate translation.
//! Function overriden to handle the problem with name conflicts. //! Function overriden to handle the problem with name conflicts.
virtual void translateName(StelTranslator& trans); virtual void translateName(StelTranslator& trans);
//! set the minor planet's number, if any. //! set the minor planet's number, if any.
//! The number should be specified as an additional parameter, as //! The number should be specified as an additional parameter, as
//! englishName is passed as a constant to Planet's constructor. //! englishName is passed as a constant to Planet's constructor.
//! The number can be set only once. Any further calls of this funct ion will //! The number can be set only once. Any further calls of this funct ion will
//! have no result. //! have no result.
void setMinorPlanetNumber(int number); void setMinorPlanetNumber(int number);
 End of changes. 2 change blocks. 
4 lines changed or deleted 7 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/