GlobeEngine
geAstro::Universe Class Reference

#include <Universe.h>

Public Member Functions

 Universe ()
 
 ~Universe ()
 
void clear ()
 
void create (std::string _path)
 
void Universe::loadShaders (std::string _shaderpath)
 
void createSolarSystemBodies ()
 
void createExoSystems ()
 
void createSSsmallBodies (std::shared_ptr< System > _system)
 
void updateAllOrbits (double _currentDate)
 
void updateOrbitsOfCurrentSystem (double _currentDate)
 
void updatePositions ()
 
void isRealScaled (bool _in)
 
bool isRealScaled () const
 
int getSystemCount ()
 
std::shared_ptr< System > const & getSystemAtIdx (int _idx) const
 
const std::shared_ptr< SystemgetSystemByName (std::string _name)
 
void setModelsVisibleForSelection (UniverseSelection _sel, bool _isVisible)
 
const std::vector< std::shared_ptr< System > > & getSystems ()
 
void showHabitableZones ()
 
void drawObjectsOfSystemAtIdx (int _idx, System::BodyType _type, std::shared_ptr< ge::Camera > _cam)
 
void drawOrbitsOfSystemAtIdx (int _idx, System::BodyType _type, std::shared_ptr< ge::Camera > _cam)
 
void collectAllBodyNames ()
 
const std::vector< std::string > & getAllBodyNames () const
 
const std::vector< std::string > & getSystemAndPlanetNames () const
 
UniverseSelection findSelectionByName (std::string _name)
 
bool getCurrentlySelectedVisibilty () const
 
std::shared_ptr< BodygetCurrentlySelectedBody () const
 
vmml::Vector3d getCurrentlySelectedPosition () const
 
vmml::Matrix4d getCurrentlySelectedModelMatrix () const
 
std::shared_ptr< BodygetBodyForSelection (UniverseSelection _selection) const
 
std::shared_ptr< SystemgetSystemForSelection (UniverseSelection _selection) const
 
std::shared_ptr< PlanetgetPlanetForSelection (UniverseSelection _selection) const
 
void setCurrentSelection (UniverseSelection _selection)
 
UniverseSelection getCurrentSelection () const
 
void navigateBackInHistory ()
 

Public Attributes

std::shared_ptr< OverviewPointCloudoverviewPointCloud
 

Constructor & Destructor Documentation

geAstro::Universe::Universe ( )
geAstro::Universe::~Universe ( )

Member Function Documentation

void geAstro::Universe::clear ( )
void geAstro::Universe::collectAllBodyNames ( )
void geAstro::Universe::create ( std::string  _path)
void geAstro::Universe::createExoSystems ( )
void geAstro::Universe::createSolarSystemBodies ( )
void geAstro::Universe::createSSsmallBodies ( std::shared_ptr< System _system)
void geAstro::Universe::drawObjectsOfSystemAtIdx ( int  _idx,
System::BodyType  _type,
std::shared_ptr< ge::Camera _cam 
)
void geAstro::Universe::drawOrbitsOfSystemAtIdx ( int  _idx,
System::BodyType  _type,
std::shared_ptr< ge::Camera _cam 
)
UniverseSelection geAstro::Universe::findSelectionByName ( std::string  _name)
const std::vector< std::string > & geAstro::Universe::getAllBodyNames ( ) const
std::shared_ptr< Body > geAstro::Universe::getBodyForSelection ( UniverseSelection  _selection) const
std::shared_ptr< Body > geAstro::Universe::getCurrentlySelectedBody ( ) const
vmml::Matrix4d geAstro::Universe::getCurrentlySelectedModelMatrix ( ) const
vmml::Vector3d geAstro::Universe::getCurrentlySelectedPosition ( ) const
bool geAstro::Universe::getCurrentlySelectedVisibilty ( ) const
UniverseSelection geAstro::Universe::getCurrentSelection ( ) const
std::shared_ptr< Planet > geAstro::Universe::getPlanetForSelection ( UniverseSelection  _selection) const
const std::vector< std::string > & geAstro::Universe::getSystemAndPlanetNames ( ) const
std::shared_ptr< System > const & geAstro::Universe::getSystemAtIdx ( int  _idx) const
const std::shared_ptr< System > geAstro::Universe::getSystemByName ( std::string  _name)
int geAstro::Universe::getSystemCount ( )
std::shared_ptr< System > geAstro::Universe::getSystemForSelection ( UniverseSelection  _selection) const
const std::vector< std::shared_ptr< System > > & geAstro::Universe::getSystems ( )
void geAstro::Universe::isRealScaled ( bool  _in)
bool geAstro::Universe::isRealScaled ( ) const
void geAstro::Universe::navigateBackInHistory ( )
void geAstro::Universe::setCurrentSelection ( UniverseSelection  _selection)
void geAstro::Universe::setModelsVisibleForSelection ( UniverseSelection  _sel,
bool  _isVisible 
)
void geAstro::Universe::showHabitableZones ( )
void geAstro::Universe::Universe::loadShaders ( std::string  _shaderpath)
void geAstro::Universe::updateAllOrbits ( double  _currentDate)
void geAstro::Universe::updateOrbitsOfCurrentSystem ( double  _currentDate)
void geAstro::Universe::updatePositions ( )

Member Data Documentation

std::shared_ptr<OverviewPointCloud> geAstro::Universe::overviewPointCloud

The documentation for this class was generated from the following files: