sofa::component::contextobject::Gravity Class Reference

Override the default gravity. More...

#include <Gravity.h>

Inheritance diagram for sofa::component::contextobject::Gravity:

Inheritance graph
[legend]
Collaboration diagram for sofa::component::contextobject::Gravity:

Collaboration graph
[legend]

Public Member Functions

 Gravity ()
void apply ()
 Modify the context of the GNode.

Data Fields

Data< Vector3 > f_gravity
 Gravity in the world coordinate system.

Detailed Description

Override the default gravity.

Definition at line 51 of file Gravity.h.


Constructor & Destructor Documentation

sofa::component::contextobject::Gravity::Gravity (  ) 

Definition at line 44 of file Gravity.cpp.


Member Function Documentation

void sofa::component::contextobject::Gravity::apply (  )  [virtual]


Field Documentation

Gravity in the world coordinate system.

Definition at line 56 of file Gravity.h.

Referenced by apply().


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

Generated on Sun Nov 23 04:18:33 2008 for Sofa by  doxygen 1.5.7.1