SolarSystem.hpp   SolarSystem.hpp 
skipping to change at line 300 skipping to change at line 300
//! Set flag which enable use translated names for planets or not. //! Set flag which enable use translated names for planets or not.
void setFlagTranslatedNames(bool b); void setFlagTranslatedNames(bool b);
//! Get the current value of the flag which enables showing translat ed names for planets or not. //! Get the current value of the flag which enables showing translat ed names for planets or not.
bool getFlagTranslatedNames(void) const; bool getFlagTranslatedNames(void) const;
//! Set flag which enabled the showing of isolated trails for select ed objects only or not //! Set flag which enabled the showing of isolated trails for select ed objects only or not
void setFlagIsolatedTrails(bool b); void setFlagIsolatedTrails(bool b);
//! Get the current value of the flag which enables showing of isola ted trails for selected objects only or not. //! Get the current value of the flag which enables showing of isola ted trails for selected objects only or not.
bool getFlagIsolatedTrails(void) const; bool getFlagIsolatedTrails(void) const;
//! Set flag which enabled the showing of isolated orbits for select
ed objects only or not
void setFlagIsolatedOrbits(bool b);
//! Get the current value of the flag which enables showing of isola
ted orbits for selected objects only or not.
bool getFlagIsolatedOrbits(void) const;
public: public:
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Other public methods // Other public methods
//! Get a pointer to a Planet object. //! Get a pointer to a Planet object.
//! @param planetEnglishName the English name of the desired planet. //! @param planetEnglishName the English name of the desired planet.
//! @return The matching planet pointer if exists or NULL. //! @return The matching planet pointer if exists or NULL.
PlanetP searchByEnglishName(QString planetEnglishName) const; PlanetP searchByEnglishName(QString planetEnglishName) const;
//! Get the Planet object pointer for the Sun. //! Get the Planet object pointer for the Sun.
PlanetP getSun() const {return sun;} PlanetP getSun() const {return sun;}
skipping to change at line 329 skipping to change at line 334
//! Get the list of all the planet english names //! Get the list of all the planet english names
QStringList getAllPlanetEnglishNames() const; QStringList getAllPlanetEnglishNames() const;
//! Get the list of all the planet localized names //! Get the list of all the planet localized names
QStringList getAllPlanetLocalizedNames() const; QStringList getAllPlanetLocalizedNames() const;
//! Reload the planets //! Reload the planets
void reloadPlanets(); void reloadPlanets();
//! Determines relative amount of sun visible from the observer's po
sition.
double getEclipseFactor(const StelCore *core) const;
//////////////////////////////////////////////////////////////////// /////////////////// //////////////////////////////////////////////////////////////////// ///////////////////
// DEPRECATED // DEPRECATED
//////////////////////////////////////////////////////////////////// /////////////////// //////////////////////////////////////////////////////////////////// ///////////////////
//! Get a hash of locale and ssystem.ini names for use with the TUI. //! Get a hash of locale and ssystem.ini names for use with the TUI.
//! @return A newline delimited hash of localized:standard planet na mes. //! @return A newline delimited hash of localized:standard planet na mes.
//! Planet translated name is PARENT : NAME //! Planet translated name is PARENT : NAME
//! \deprecated ??? //! \deprecated ???
QString getPlanetHashString(); QString getPlanetHashString();
//! Compute the position and transform matrix for every element of t he solar system. //! Compute the position and transform matrix for every element of t he solar system.
//! @param observerPos Position of the observer in heliocentric ecli ptic frame (Required for light travel time computation). //! @param observerPos Position of the observer in heliocentric ecli ptic frame (Required for light travel time computation).
//! @param date the date in JDay //! @param dateJDE the Julian Day in JDE (Ephemeris Time or equivale nt)
//! \deprecated ??? In the "deprecated" section, but used in SolarSy stem::init() //! \deprecated ??? In the "deprecated" section, but used in SolarSy stem::init()
void computePositions(double date, const Vec3d& observerPos = Vec3d( 0.)); void computePositions(double dateJDE, const Vec3d& observerPos = Vec 3d(0.));
//! Get the list of all the bodies of the solar system. //! Get the list of all the bodies of the solar system.
//! \deprecated Used in LandscapeMgr::update(), but commented out. //! \deprecated Used in LandscapeMgr::update(), but commented out.
const QList<PlanetP>& getAllPlanets() const {return systemPlanets;} const QList<PlanetP>& getAllPlanets() const {return systemPlanets;}
private slots: private slots:
//! Called when a new object is selected. //! Called when a new object is selected.
void selectedObjectChange(StelModule::StelModuleSelectAction action) ; void selectedObjectChange(StelModule::StelModuleSelectAction action) ;
//! Load a color scheme //! Load a color scheme
skipping to change at line 370 skipping to change at line 378
private: private:
//! Search for SolarSystem objects which are close to the position g iven //! Search for SolarSystem objects which are close to the position g iven
//! in earth equatorial position. //! in earth equatorial position.
//! @param v A position in earth equatorial position. //! @param v A position in earth equatorial position.
//! @param core the StelCore object. //! @param core the StelCore object.
//! @return a pointer to a StelObject if found, else NULL //! @return a pointer to a StelObject if found, else NULL
StelObjectP search(Vec3d v, const StelCore* core) const; StelObjectP search(Vec3d v, const StelCore* core) const;
//! Compute the transformation matrix for every elements of the sola r system. //! Compute the transformation matrix for every elements of the sola r system.
//! observerPos is needed for light travel time computation. //! observerPos is needed for light travel time computation.
void computeTransMatrices(double date, const Vec3d& observerPos = Ve c3d(0.)); void computeTransMatrices(double dateJDE, const Vec3d& observerPos = Vec3d(0.));
//! Draw a nice animated pointer around the object. //! Draw a nice animated pointer around the object.
void drawPointer(const StelCore* core); void drawPointer(const StelCore* core);
//! Load planet data from the Solar System configuration file. //! Load planet data from the Solar System configuration file.
//! This function attempts to load every possible instance of the //! This function attempts to load every possible instance of the
//! Solar System configuration file in the file paths, falling back if a //! Solar System configuration file in the file paths, falling back if a
//! given path can't be loaded. //! given path can't be loaded.
void loadPlanets(); void loadPlanets();
skipping to change at line 426 skipping to change at line 434
bool flagLightTravelTime; bool flagLightTravelTime;
//! The selection pointer texture. //! The selection pointer texture.
StelTextureSP texPointer; StelTextureSP texPointer;
bool flagShow; bool flagShow;
bool flagMarker; bool flagMarker;
bool flagNativeNames; bool flagNativeNames;
bool flagTranslatedNames; bool flagTranslatedNames;
bool flagIsolatedTrails; bool flagIsolatedTrails;
bool flagIsolatedOrbits;
class TrailGroup* allTrails; class TrailGroup* allTrails;
LinearFader trailFader; LinearFader trailFader;
Vec3f trailColor; Vec3f trailColor;
Vec3f pointerColor; Vec3f pointerColor;
QHash<QString, QString> planetNativeNamesMap; QHash<QString, QString> planetNativeNamesMap;
//////////////////////////////////////////////////////////////////// ////////////// //////////////////////////////////////////////////////////////////// //////////////
// DEPRECATED // DEPRECATED
 End of changes. 6 change blocks. 
3 lines changed or deleted 15 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/