#include <Gravity.h>


Public Member Functions | |
| Gravity () | |
| void | apply () |
| Modify the context of the GNode. | |
Data Fields | |
| Data< Vector3 > | f_gravity |
| Gravity in the world coordinate system. | |
Definition at line 51 of file Gravity.h.
| sofa::component::contextobject::Gravity::Gravity | ( | ) |
Definition at line 44 of file Gravity.cpp.
| void sofa::component::contextobject::Gravity::apply | ( | ) | [virtual] |
Modify the context of the GNode.
Implements sofa::core::objectmodel::ContextObject.
Definition at line 49 of file Gravity.cpp.
References f_gravity, sofa::core::objectmodel::ContextObject::getContext(), sofa::core::objectmodel::Data< T >::getValue(), and sofa::core::objectmodel::BaseContext::setGravityInWorld().
1.5.7.1