#include <ps_force.h>
Inherits CIsotropicForceT< CPSTurbulForceFunc >, and NL3D::CPSForceIntensity.
Public Member Functions | |
| CPSTurbul (float scale=1.f, uint numOctaves=4) | |
| float | getScale (void) const |
| void | setScale (float scale) |
| uint | getNumOctaves (void) const |
| void | setNumOctaves (uint numOctaves) |
| virtual void | serial (NLMISC::IStream &f) throw (NLMISC::EStream) |
| serialization | |
| virtual void | setupFunctor (uint32 index) |
Protected Member Functions | |
| virtual CPSLocated * | getForceIntensityOwner (void) |
| deriver must return the located that own them here | |
| virtual void | newElement (const CPSEmitterInfo &info) |
| Generate a new element for this bindable. | |
| virtual void | deleteElement (uint32 index) |
| Delete an element given its index Attributes of the located that hold this bindable are still accessible for of the index given index out of range -> nl_assert. | |
| virtual void | resize (uint32 size) |
| Resize the bindable attributes containers DERIVERS SHOULD CALL THEIR PARENT VERSION should not be called directly. | |
Definition at line 673 of file ps_force.h.
Definition at line 677 of file ps_force.h.
References NL3D::CPSLocatedBindable::_Name, NL3D::CParticleSystem::getSerializeIdentifierFlag(), nlassert, setNumOctaves(), and setScale().
| virtual void NL3D::CPSTurbul::deleteElement | ( | uint32 | index | ) | [inline, protected, virtual] |
Delete an element given its index Attributes of the located that hold this bindable are still accessible for of the index given index out of range -> nl_assert.
Reimplemented from NL3D::CIsotropicForceT< CPSTurbulForceFunc >.
Definition at line 716 of file ps_force.h.
References NL3D::CPSForceIntensity::deleteForceIntensityElement().
| virtual CPSLocated* NL3D::CPSTurbul::getForceIntensityOwner | ( | void | ) | [inline, protected, virtual] |
deriver must return the located that own them here
Implements NL3D::CPSForceIntensity.
Definition at line 714 of file ps_force.h.
References NL3D::CPSLocatedBindable::_Owner.
| uint NL3D::CPSTurbul::getNumOctaves | ( | void | ) | const [inline] |
Definition at line 690 of file ps_force.h.
References NL3D::CIsotropicForceT< CPSTurbulForceFunc >::_F, and NL3D::CPSTurbulForceFunc::_NumOctaves.
| float NL3D::CPSTurbul::getScale | ( | void | ) | const [inline] |
Definition at line 686 of file ps_force.h.
References NL3D::CIsotropicForceT< CPSTurbulForceFunc >::_F, and NL3D::CPSTurbulForceFunc::_Scale.
| virtual void NL3D::CPSTurbul::newElement | ( | const CPSEmitterInfo & | info | ) | [inline, protected, virtual] |
Generate a new element for this bindable.
They are generated according to the propertie of the class
Reimplemented from NL3D::CIsotropicForceT< CPSTurbulForceFunc >.
Definition at line 715 of file ps_force.h.
References NL3D::CPSForceIntensity::newForceIntensityElement().
| virtual void NL3D::CPSTurbul::resize | ( | uint32 | size | ) | [inline, protected, virtual] |
Resize the bindable attributes containers DERIVERS SHOULD CALL THEIR PARENT VERSION should not be called directly.
Call CPSLOcated::resize instead
Reimplemented from NL3D::CIsotropicForceT< CPSTurbulForceFunc >.
Definition at line 717 of file ps_force.h.
References NL3D::CPSForceIntensity::resizeForceIntensity().
| virtual void NL3D::CPSTurbul::serial | ( | NLMISC::IStream & | f | ) | throw (NLMISC::EStream) [inline, virtual] |
serialization
Reimplemented from NL3D::CIsotropicForceT< CPSTurbulForceFunc >.
Definition at line 696 of file ps_force.h.
References NL3D::CPSForce::registerToTargets(), and NL3D::CPSForceIntensity::serialForceIntensity().
| void NL3D::CPSTurbul::setNumOctaves | ( | uint | numOctaves | ) | [inline] |
Definition at line 691 of file ps_force.h.
References NL3D::CIsotropicForceT< CPSTurbulForceFunc >::_F, and NL3D::CPSTurbulForceFunc::_NumOctaves.
Referenced by CPSTurbul().
| void NL3D::CPSTurbul::setScale | ( | float | scale | ) | [inline] |
Definition at line 687 of file ps_force.h.
References NL3D::CIsotropicForceT< CPSTurbulForceFunc >::_F, and NL3D::CPSTurbulForceFunc::_Scale.
Referenced by CPSTurbul().
| virtual void NL3D::CPSTurbul::setupFunctor | ( | uint32 | index | ) | [inline, virtual] |
Reimplemented from NL3D::CPSForceIntensity.
Definition at line 708 of file ps_force.h.
References NL3D::CIsotropicForceT< CPSTurbulForceFunc >::_F, NL3D::CPSTurbulForceFunc::_Intensity, NL3D::CPSForceIntensity::_IntensityScheme, NL3D::CPSForceIntensity::_K, NL3D::CPSLocatedBindable::_Owner, and NL3D::CPSAttribMaker< T >::get().
1.6.1