|
| DampingOperator () |
|
| DampingOperator (const DampingOperator ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
|
| META_Object (osgParticle, DampingOperator) |
|
void | setDamping (float x, float y, float z) |
| Set the damping factors. More...
|
|
void | setDamping (const osg::Vec3 &damping) |
|
void | setDamping (float x) |
| Set the damping factors to one value. More...
|
|
void | getDamping (float &x, float &y, float &z) const |
| Get the damping factors. More...
|
|
const osg::Vec3 & | getDamping () const |
|
void | setCutoff (float low, float high) |
| Set the velocity cutoff factors. More...
|
|
void | setCutoffLow (float low) |
|
void | setCutoffHigh (float low) |
|
void | getCutoff (float &low, float &high) const |
| Get the velocity cutoff factors. More...
|
|
float | getCutoffLow () const |
|
float | getCutoffHigh () const |
|
void | operate (Particle *P, double dt) |
| Apply the acceleration to a particle. Do not call this method manually. More...
|
|
Public Member Functions inherited from osgParticle::Operator |
| Operator () |
|
| Operator (const Operator ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
|
virtual const char * | libraryName () const |
|
virtual const char * | className () const |
|
virtual bool | isSameKindAs (const osg::Object *obj) const |
|
bool | isEnabled () const |
| Get whether this operator is enabled. More...
|
|
void | setEnabled (bool v) |
| Enable or disable this operator. More...
|
|
virtual void | operateParticles (ParticleSystem *ps, double dt) |
|
virtual void | beginOperate (Program *) |
|
virtual void | endOperate () |
| Do something after all particles have been processed. More...
|
|
| Object () |
|
| Object (bool threadSafeRefUnref) |
|
| Object (const Object &, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
|
virtual Object * | cloneType () const =0 |
|
virtual Object * | clone (const CopyOp &) const =0 |
|
std::string | getCompoundClassName () const |
|
virtual Node * | asNode () |
|
virtual const Node * | asNode () const |
|
virtual NodeVisitor * | asNodeVisitor () |
|
virtual const NodeVisitor * | asNodeVisitor () const |
|
virtual StateAttribute * | asStateAttribute () |
|
virtual const StateAttribute * | asStateAttribute () const |
|
virtual Uniform * | asUniform () |
|
virtual const Uniform * | asUniform () const |
|
virtual void | setThreadSafeRefUnref (bool threadSafe) |
|
virtual void | setName (const std::string &name) |
|
void | setName (const char *name) |
|
const std::string & | getName () const |
|
void | setDataVariance (DataVariance dv) |
|
DataVariance | getDataVariance () const |
|
virtual void | computeDataVariance () |
|
void | setUserDataContainer (osg::UserDataContainer *udc) |
|
osg::UserDataContainer * | getUserDataContainer () |
|
const osg::UserDataContainer * | getUserDataContainer () const |
|
osg::UserDataContainer * | getOrCreateUserDataContainer () |
|
virtual void | setUserData (Referenced *obj) |
|
virtual Referenced * | getUserData () |
|
virtual const Referenced * | getUserData () const |
|
template<typename T > |
bool | getUserValue (const std::string &name, T &value) const |
|
template<typename T > |
void | setUserValue (const std::string &name, const T &value) |
|
virtual void | resizeGLObjectBuffers (unsigned int) |
|
virtual void | releaseGLObjects (osg::State *=0) const |
|
template<typename T > |
BoolValueObject
UCharValueObject
UShortValueObject
UIntValueObject
DoubleValueObject
Vec3fValueObject
Vec2dValueObject
Vec4dValueObject
PlaneValueObject
MatrixdValueObject
BoundingBoxdValueObject
BoundingSpheredValueObject
bool | getUserValue (const std::string &name, T &value) const |
|
| Referenced () |
|
| Referenced (bool threadSafeRefUnref) |
|
| Referenced (const Referenced &) |
|
Referenced & | operator= (const Referenced &) |
|
bool | getThreadSafeRefUnref () const |
|
OpenThreads::Mutex * | getRefMutex () const |
|
int | ref () const |
|
int | unref () const |
|
int | unref_nodelete () const |
|
int | referenceCount () const |
|
ObserverSet * | getObserverSet () const |
|
ObserverSet * | getOrCreateObserverSet () const |
|
void | addObserver (Observer *observer) const |
|
void | removeObserver (Observer *observer) const |
|
A damping operator applies damping constant to particle's velocity. Refer to David McAllister's Particle System API (http://www.particlesystems.org)
Definition at line 28 of file DampingOperator.h.