Nebula.hpp   Nebula.hpp 
skipping to change at line 52 skipping to change at line 52
//! - RaDec //! - RaDec
//! - AltAzi //! - AltAzi
//! - Distance //! - Distance
//! - Size //! - Size
//! - Extra1 (contains the Nebula type, which might be "Galaxy", "Cl uster" or similar) //! - Extra1 (contains the Nebula type, which might be "Galaxy", "Cl uster" or similar)
//! - PlainText //! - PlainText
//! @param core the Stelore object //! @param core the Stelore 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 Nebula. //! @return a QString containing an HMTL encoded description of the Nebula.
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(void) const {return "Nebula";} virtual QString getType() const {return "Nebula";}
virtual Vec3d getJ2000EquatorialPos(const StelNavigator *nav) const virtual Vec3d getJ2000EquatorialPos(const StelNavigator*) const {ret
{return XYZ;} urn XYZ;}
virtual double getCloseViewFov(const StelNavigator * nav = NULL) con virtual double getCloseViewFov(const StelNavigator* nav = NULL) cons
st; t;
virtual float getVMagnitude(const StelNavigator * nav = NULL) const virtual float getVMagnitude(const StelNavigator* nav = NULL) const {
{return mag;} Q_UNUSED(nav); return mag;}
virtual float getSelectPriority(const StelNavigator *nav) const; virtual float getSelectPriority(const StelNavigator *nav) const;
virtual Vec3f getInfoColor(void) const; virtual Vec3f getInfoColor() const;
virtual QString getNameI18n(void) const {return nameI18;} virtual QString getNameI18n() const {return nameI18;}
virtual QString getEnglishName(void) const {return englishName;} virtual QString getEnglishName() const {return englishName;}
virtual double getAngularSize(const StelCore *core) const {return an virtual double getAngularSize(const StelCore*) const {return angular
gularSize*0.5;} Size*0.5;}
virtual SphericalRegionP getRegion() const {return pointRegion;} virtual SphericalRegionP getRegion() const {return pointRegion;}
// Methods specific to Nebula // Methods specific to Nebula
void setLabelColor(const Vec3f& v) {labelColor = v;} void setLabelColor(const Vec3f& v) {labelColor = v;}
void setCircleColor(const Vec3f& v) {circleColor = v;} void setCircleColor(const Vec3f& v) {circleColor = v;}
//! Get the printable nebula Type. //! Get the printable nebula Type.
//! @return the nebula type code. //! @return the nebula type code.
QString getTypeString(void) const; QString getTypeString() const;
private: private:
friend struct DrawNebulaFuncObject; friend struct DrawNebulaFuncObject;
//! @enum NebulaType Nebula types //! @enum NebulaType Nebula types
enum NebulaType enum NebulaType
{ {
NebGx=0, //!< Galaxy NebGx=0, //!< Galaxy
NebOc=1, //!< Open star cluster NebOc=1, //!< Open star cluster
NebGc=2, //!< Globular star cluster, usually in the Milk y Way Galaxy NebGc=2, //!< Globular star cluster, usually in the Milk y Way Galaxy
 End of changes. 3 change blocks. 
13 lines changed or deleted 13 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/