Pulsar.hpp   Pulsar.hpp 
skipping to change at line 49 skipping to change at line 49
//! @ingroup pulsars //! @ingroup pulsars
class Pulsar : public StelObject class Pulsar : public StelObject
{ {
friend class Pulsars; friend class Pulsars;
public: public:
//! @param id The official designation for a pulsar, e.g. "PSR J1919 +21" //! @param id The official designation for a pulsar, e.g. "PSR J1919 +21"
Pulsar(const QVariantMap& map); Pulsar(const QVariantMap& map);
~Pulsar(); ~Pulsar();
//! Get a QVariantMap which describes the pulsar. Could be used to //! Get a QVariantMap which describes the pulsar. Could be used to c
//! create a duplicate. reate a duplicate.
QVariantMap getMap(void); // TODO: Add proper documentation of these fields!
//! - designation
//! - parallax
//! - bperiod
//! - frequency
//! - pfrequency
//! - pderivative
//! - dmeasure
//! - eccentricity
//! - RA
//! - DE
//! - period
//! - w50
//! - s400
//! - s600
//! - s1400
//! - distance
//! - glitch
//! - notes
QVariantMap getMap(void) const;
//! Get the type of object //! Get the type of object
virtual QString getType(void) const virtual QString getType(void) const
{ {
return "Pulsar"; return "Pulsar";
} }
virtual float getSelectPriority(const StelCore* core) const; virtual float getSelectPriority(const StelCore* core) const;
//! Get an HTML string to describe the object //! Get an HTML string to describe the object
//! @param core A pointer to the core //! @param core A pointer to the core
//! @flags a set of flags with information types to include. //! @flags a set of flags with information types to include.
virtual QString getInfoString(const StelCore* core, const InfoString Group& flags) const; virtual QString getInfoString(const StelCore* core, const InfoString Group& flags) const;
//! Return a map like StelObject::getInfoMap(), but with a few extra
tags also available in getMap(), except for designation, RA and DE fields.
virtual QVariantMap getInfoMap(const StelCore *core) const;
virtual Vec3f getInfoColor(void) const; virtual Vec3f getInfoColor(void) const;
virtual Vec3d getJ2000EquatorialPos(const StelCore*) const virtual Vec3d getJ2000EquatorialPos(const StelCore*) const
{ {
return XYZ; return XYZ;
} }
//! Get the visual magnitude of pulsar //! Get the visual magnitude of pulsar
virtual float getVMagnitude(const StelCore* core) const; virtual float getVMagnitude(const StelCore* core) const;
virtual float getVMagnitudeWithExtinction(const StelCore *core) cons t; virtual float getVMagnitudeWithExtinction(const StelCore *core) cons t;
//! Get the angular size of pulsar //! Get the angular size of pulsar
virtual double getAngularSize(const StelCore* core) const; virtual double getAngularSize(const StelCore* core) const;
 End of changes. 2 change blocks. 
3 lines changed or deleted 25 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/