#include <solarsys.h>
Collaboration diagram for SolarSystem:

Public Member Functions | |
| Point3f | getCenter () const |
| PlanetarySystem * | getPlanets () const |
| Star * | getStar () const |
| SolarSystem (Star *) | |
Private Attributes | |
| PlanetarySystem * | planets |
| Star * | star |
|
|
Definition at line 616 of file solarsys.cpp. References planets. 00616 : star(_star) 00617 { 00618 planets = new PlanetarySystem(_star); 00619 }
|
|
|
Definition at line 627 of file solarsys.cpp. References Star::getPosition(), and star. 00628 {
00629 // TODO: This is a very simple method at the moment, but it will get
00630 // more complex when planets around multistar systems are supported
00631 // where the planets may orbit the center of mass of two stars.
00632 return star->getPosition();
00633 }
|
|
|
Definition at line 635 of file solarsys.cpp. References planets. Referenced by EclipseFinder::CalculateEclipses(), createBody(), displayStarInfo(), Universe::findChildObject(), Universe::findObjectInContext(), Universe::getCompletion(), Universe::getCompletionPath(), SelectionPopup::getSelectionFromId(), handlePopupMenu(), SelectionPopup::insert(), loadNearestStarSystem(), LoadSolarSystemObjects(), menuContext(), object_getchildren(), Renderer::render(), Simulation::selectPlanet(), CelestialBrowser::slotRefresh(), and SolarSystemBrowserProc(). 00636 {
00637 return planets;
00638 }
|
|
|
Definition at line 622 of file solarsys.cpp. References star. Referenced by EclipseFinder::CalculateEclipses(), Simulation::findObject(), Simulation::findObjectFromPath(), Simulation::getObjectCompletion(), loadNearestStarSystem(), and SolarSystemBrowserProc(). 00623 {
00624 return star;
00625 }
|
|
|
Definition at line 30 of file solarsys.h. Referenced by getPlanets(), and SolarSystem(). |
|
|
Definition at line 31 of file solarsys.h. Referenced by getCenter(), and getStar(). |
1.4.1