# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CPSFluidFrictionFunctor Class Reference

a fluid friction functor, it is used by the fluid friction class. More...

#include <ps_force.h>

List of all members.

Public Methods

 CPSFluidFrictionFunctor ()
void operator() (const NLMISC::CVector &pos, NLMISC::CVector &speed, float invMass, TAnimationTime ellapsedTime)
virtual void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
float getK (void) const
void setK (float coeff)

Protected Attributes

float _K


Detailed Description

a fluid friction functor, it is used by the fluid friction class.

Definition at line 496 of file ps_force.h.


Constructor & Destructor Documentation

NL3D::CPSFluidFrictionFunctor::CPSFluidFrictionFunctor   [inline]
 

Definition at line 499 of file ps_force.h.

References _K.


Member Function Documentation

float NL3D::CPSFluidFrictionFunctor::getK void    const [inline]
 

Definition at line 518 of file ps_force.h.

References _K.

void NL3D::CPSFluidFrictionFunctor::operator() const NLMISC::CVector   pos,
NLMISC::CVector   speed,
float    invMass,
TAnimationTime    ellapsedTime
[inline]
 

Definition at line 506 of file ps_force.h.

References _K, and NL3D::TAnimationTime.

virtual void NL3D::CPSFluidFrictionFunctor::serial NLMISC::IStream   f throw (NLMISC::EStream) [inline, virtual]
 

Definition at line 511 of file ps_force.h.

void NL3D::CPSFluidFrictionFunctor::setK float    coeff [inline]
 

Definition at line 521 of file ps_force.h.

References _K.


Member Data Documentation

float NL3D::CPSFluidFrictionFunctor::_K [protected]
 

Definition at line 524 of file ps_force.h.

Referenced by CPSFluidFrictionFunctor, getK, operator(), and setK.


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