# 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::CPSMagneticForce Class Reference

a magnetic field that has the given direction. More...

#include <ps_force.h>

Inheritance diagram for NL3D::CPSMagneticForce:

NL3D::CPSDirectionnalForce NL3D::CPSForceIntensityHelper NL3D::CPSDirection NL3D::CPSForce NL3D::CPSForceIntensity NL3D::CPSTargetLocatedBindable NL3D::CPSLocatedBindable NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

 CPSMagneticForce (float i=1.f)
virtual void performDynamic (TAnimationTime ellapsedTime)
 Compute the force on the targets. More...

virtual void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
 a magnetic field that has the given direction. More...

 NLMISC_DECLARE_CLASS (CPSMagneticForce)

Detailed Description

a magnetic field that has the given direction.

Definition at line 803 of file ps_force.h.


Constructor & Destructor Documentation

NL3D::CPSMagneticForce::CPSMagneticForce float    i = 1.f [inline]
 

Definition at line 806 of file ps_force.h.

References NL3D::CPSLocatedBindable::_Name, and NL3D::CPSDirectionnalForce::CPSDirectionnalForce.


Member Function Documentation

NL3D::CPSMagneticForce::NLMISC_DECLARE_CLASS CPSMagneticForce   
 

Reimplemented from NL3D::CPSDirectionnalForce.

void NL3D::CPSMagneticForce::performDynamic TAnimationTime    ellapsedTime [virtual]
 

Compute the force on the targets.

Reimplemented from NL3D::CPSDirectionnalForce.

Definition at line 990 of file ps_force.cpp.

References NL3D::CPSDirectionnalForce::_Dir, NL3D::CPSForceIntensity::_IntensityScheme, NL3D::CPSForceIntensity::_K, NL3D::CPSLocatedBindable::_Owner, NL3D::CPSTargetLocatedBindable::_Targets, and NL3D::TAnimationTime.

void NL3D::CPSMagneticForce::serial NLMISC::IStream   f throw (NLMISC::EStream) [virtual]
 

a magnetic field that has the given direction.

Reimplemented from NL3D::CPSDirectionnalForce.

Definition at line 984 of file ps_force.cpp.


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