Definition at line 381 of file rotating_body.cpp.
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 |
jupiter_rotator () | |
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_orientation_pre (double jdn) |
Protected Attributes | |
double | alpha |
double | d |
double | delta |
double | J1 |
double | J2 |
double | J3 |
double | J4 |
double | J5 |
double | J6 |
double | J7 |
double | J8 |
double | T |
double | W |
jupiter_rotator | ( | ) | [inline] |
Definition at line 384 of file rotating_body.cpp.
void calc_angular_velocity_aux | ( | double | ang_diff, | |
double | d, | |||
const gsgl::math::transform & | orientation, | |||
gsgl::math::vector & | angular_velocity | |||
) | [protected, inherited] |
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, inherited] |
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, inherited] |
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().
void calc_orientation_pre | ( | double | jdn | ) | [inline, protected] |
Definition at line 390 of file rotating_body.cpp.
References gsgl::math::DEG2RAD, and periapsis::space::J2000.
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().
double alpha [protected] |
Definition at line 387 of file rotating_body.cpp.
double d [protected] |
Definition at line 387 of file rotating_body.cpp.
double delta [protected] |
Definition at line 387 of file rotating_body.cpp.
double J1 [protected] |
Definition at line 388 of file rotating_body.cpp.
double J2 [protected] |
Definition at line 388 of file rotating_body.cpp.
double J3 [protected] |
Definition at line 388 of file rotating_body.cpp.
double J4 [protected] |
Definition at line 388 of file rotating_body.cpp.
double J5 [protected] |
Definition at line 388 of file rotating_body.cpp.
double J6 [protected] |
Definition at line 388 of file rotating_body.cpp.
double J7 [protected] |
Definition at line 388 of file rotating_body.cpp.
double J8 [protected] |
Definition at line 388 of file rotating_body.cpp.
double T [protected] |
Definition at line 387 of file rotating_body.cpp.
double W [protected] |
Definition at line 387 of file rotating_body.cpp.