#include <rotating_body.hpp>


Definition at line 49 of file rotating_body.hpp.
Public Member Functions | |
| virtual void | calc_orientation (double jdn, gsgl::math::transform &orientation, gsgl::math::vector &angular_velocity)=0 | 
| virtual const gsgl::string & | get_type_name () const | 
Protected Member Functions | |
| void | calc_angular_velocity_aux (double ang_diff, double d, const gsgl::math::transform &orientation, gsgl::math::vector &angular_velocity) | 
| void | calc_orientation_aux (double alpha, double delta, double W, gsgl::math::transform &orientation) | 
| void calc_angular_velocity_aux | ( | double | ang_diff, | |
| double | d, | |||
| const gsgl::math::transform & | orientation, | |||
| gsgl::math::vector & | angular_velocity | |||
| ) |  [protected] | 
        
Definition at line 78 of file rotating_body.cpp.
References gsgl::math::DEG2RAD, and gsgl::math::units::SECONDS_PER_DAY.
Referenced by callisto::calc_orientation(), ganymede::calc_orientation(), europa::calc_orientation(), io::calc_orientation(), deimos::calc_orientation(), phobos::calc_orientation(), moon::calc_orientation(), and major_planet_rotator::calc_orientation().
| virtual void calc_orientation | ( | double | jdn, | |
| gsgl::math::transform & | orientation, | |||
| gsgl::math::vector & | angular_velocity | |||
| ) |  [pure virtual] | 
        
Implemented in major_planet_rotator, moon, phobos, deimos, io, europa, ganymede, and callisto.
Referenced by rotating_body::init(), and rotating_body::update().
| void calc_orientation_aux | ( | double | alpha, | |
| double | delta, | |||
| double | W, | |||
| gsgl::math::transform & | orientation | |||
| ) |  [protected] | 
        
Definition at line 54 of file rotating_body.cpp.
References gsgl::math::DEG2RAD, periapsis::space::EQUATORIAL_WRT_ECLIPTIC, and gsgl::math::PI_OVER_2.
Referenced by callisto::calc_orientation(), ganymede::calc_orientation(), europa::calc_orientation(), io::calc_orientation(), deimos::calc_orientation(), phobos::calc_orientation(), moon::calc_orientation(), and major_planet_rotator::calc_orientation().
| const gsgl::string & get_type_name | ( | ) |  const [virtual, inherited] | 
        
Definition at line 54 of file broker.cpp.
References countable::is_empty(), and brokered_object::type_name.
Referenced by node::draw_scene(), and simulation::update_node().
 1.5.5