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

a central gravity class. Mass is taken in account here. More...

#include <ps_force.h>

Inheritance diagram for NL3D::CPSCentralGravity:

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

Public Methods

virtual void performDynamic (TAnimationTime ellapsedTime)
 Compute the force on the targets. More...

virtual void show (TAnimationTime ellapsedTime)
 Show the force (edition mode). More...

 CPSCentralGravity (float i=1.f)
virtual void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
 serialization. More...

 NLMISC_DECLARE_CLASS (CPSCentralGravity)

Detailed Description

a central gravity class. Mass is taken in account here.

Definition at line 440 of file ps_force.h.


Constructor & Destructor Documentation

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

Definition at line 451 of file ps_force.h.

References NL3D::CPSLocatedBindable::_Name, and NL3D::CPSForceIntensity::setIntensity.


Member Function Documentation

NL3D::CPSCentralGravity::NLMISC_DECLARE_CLASS CPSCentralGravity   
 

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

Compute the force on the targets.

Implements NL3D::CPSForce.

Definition at line 690 of file ps_force.cpp.

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

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

serialization.

Reimplemented from NL3D::CPSForceIntensityHelper.

Definition at line 749 of file ps_force.cpp.

void NL3D::CPSCentralGravity::show TAnimationTime    ellapsedTime [virtual]
 

Show the force (edition mode).

Implements NL3D::CPSForce.

Definition at line 731 of file ps_force.cpp.

References NL3D::CPSLocatedBindable::displayIcon2d, and NL3D::TAnimationTime.


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