NL3D::CPSTurbul Class Reference

#include <ps_force.h>

Inherits CIsotropicForceT< CPSTurbulForceFunc >, and NL3D::CPSForceIntensity.

List of all members.

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 CPSLocatedgetForceIntensityOwner (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.

Detailed Description

Definition at line 673 of file ps_force.h.


Constructor & Destructor Documentation

NL3D::CPSTurbul::CPSTurbul ( float  scale = 1.f,
uint  numOctaves = 4 
) [inline]

Member Function Documentation

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]
float NL3D::CPSTurbul::getScale ( void   )  const [inline]
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]
void NL3D::CPSTurbul::setNumOctaves ( uint  numOctaves  )  [inline]
void NL3D::CPSTurbul::setScale ( float  scale  )  [inline]
virtual void NL3D::CPSTurbul::setupFunctor ( uint32  index  )  [inline, virtual]

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

Generated on Thu Jan 7 08:30:08 2010 for NeL by  doxygen 1.6.1