GlobeEngine
geAstro::Orbit Class Reference

#include <Orbit.h>

Public Member Functions

 Orbit ()
 
 ~Orbit ()
 
void clear ()
 
void create (OrbitInfo orbitInfo, vmml::Vector3d _center, std::shared_ptr< ge::Shader > _programForOrbits, vmml::Vector3d _orbitColor, bool _smallBodiesAsPointCloud, unsigned int _uid, unsigned int _groupuid, bool _isRealScale, double _scaleFactor)
 
void update (double _date, bool _isRealScale, double _scaleFactor)
 
void draw (std::shared_ptr< ge::Camera > _cam)
 
void setOrbitColor (vmml::Vector3f _orbitColor)
 
void setVisible (bool visible)
 
vmml::Vector3d getPositionOnEllipsis (double _angle) const
 
double getRadiusByTrueAnomaly (double _angle) const
 
vmml::Vector3d getCenterOfGravity () const
 
void setCenterOfGravity (vmml::Vector3d _pos)
 
vmml::Vector3d getCurrentBodyPosition () const
 
const OrbitInfogetOrbitData () const
 
const OrbitDrawablegetOrbitDrawable () const
 
void reloadShader (std::shared_ptr< ge::Shader > _programForOrbits)
 

Constructor & Destructor Documentation

geAstro::Orbit::Orbit ( )
geAstro::Orbit::~Orbit ( )

Member Function Documentation

void geAstro::Orbit::clear ( )
void geAstro::Orbit::create ( OrbitInfo  orbitInfo,
vmml::Vector3d  _center,
std::shared_ptr< ge::Shader _programForOrbits,
vmml::Vector3d  _orbitColor,
bool  _smallBodiesAsPointCloud,
unsigned int  _uid,
unsigned int  _groupuid,
bool  _isRealScale,
double  _scaleFactor 
)
void geAstro::Orbit::draw ( std::shared_ptr< ge::Camera _cam)
vmml::Vector3d geAstro::Orbit::getCenterOfGravity ( ) const
vmml::Vector3d geAstro::Orbit::getCurrentBodyPosition ( ) const
const OrbitInfo & geAstro::Orbit::getOrbitData ( ) const
const OrbitDrawable & geAstro::Orbit::getOrbitDrawable ( ) const
vmml::Vector3d geAstro::Orbit::getPositionOnEllipsis ( double  _angle) const
double geAstro::Orbit::getRadiusByTrueAnomaly ( double  _angle) const
void geAstro::Orbit::reloadShader ( std::shared_ptr< ge::Shader _programForOrbits)
void geAstro::Orbit::setCenterOfGravity ( vmml::Vector3d  _pos)
void geAstro::Orbit::setOrbitColor ( vmml::Vector3f  _orbitColor)
void geAstro::Orbit::setVisible ( bool  visible)
void geAstro::Orbit::update ( double  _date,
bool  _isRealScale,
double  _scaleFactor 
)

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