Moby
|
Public Member Functions | |
StokesDragForce () | |
Constructs a default drag coefficient of 0. | |
StokesDragForce (const StokesDragForce &source) | |
Copy constructor. | |
virtual void | add_force (boost::shared_ptr< Ravelin::DynamicBodyd > body) |
Adds gravity to a body. | |
virtual void | load_from_xml (boost::shared_ptr< const XMLTree > node, std::map< std::string, BasePtr > &id_map) |
Implements Base::load_from_xml() | |
virtual void | save_to_xml (XMLTreePtr node, std::list< boost::shared_ptr< const Base > > &shared_objects) const |
Implements Base::save_to_xml() | |
Public Member Functions inherited from Moby::Base | |
Base (const Base *b) | |
Public Attributes | |
double | b |
The drag coefficient. | |
double | b_ang |
Public Attributes inherited from Moby::Base | |
boost::shared_ptr< void > | userdata |
Any relevant userdata. | |
std::string | id |
The unique ID for this object. | |
Additional Inherited Members | |
Static Public Member Functions inherited from Moby::Base | |
template<class T > | |
static boost::shared_ptr< T > | clone (boost::shared_ptr< T > x) |
Static method for cloning a shared pointer. | |