Inheritance diagram for osgParticle::ForceOperator:

Public Member Functions | |
| ForceOperator () | |
| ForceOperator (const ForceOperator ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Object (osgParticle, ForceOperator) | |
| const osg::Vec3 & | getForce () const |
| Get the force vector. | |
| void | setForce (const osg::Vec3 &f) |
| Set the force vector. | |
| void | operate (Particle *P, double dt) |
| Apply the force to a particle. Do not call this method manually. | |
| void | beginOperate (Program *prg) |
| Perform some initialization. Do not call this method manually. | |
Protected Member Functions | |
| virtual | ~ForceOperator () |
| ForceOperator & | operator= (const ForceOperator &) |
Remember that if the mass of particles is expressed in kg and the lengths are expressed in meters, then the force should be expressed in Newtons.
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Perform some initialization. Do not call this method manually.
Reimplemented from osgParticle::Operator. |
|
|
Get the force vector.
|
|
||||||||||||
|
|
|
||||||||||||
|
Apply the force to a particle. Do not call this method manually.
Implements osgParticle::Operator. |
|
|
|
|
|
Set the force vector.
|