From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/classNL3D_1_1CPSDirectionnalForce.html | 535 +++++++++++++++++++++ 1 file changed, 535 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CPSDirectionnalForce.html (limited to 'docs/doxygen/nel/classNL3D_1_1CPSDirectionnalForce.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CPSDirectionnalForce.html b/docs/doxygen/nel/classNL3D_1_1CPSDirectionnalForce.html new file mode 100644 index 00000000..364563f6 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CPSDirectionnalForce.html @@ -0,0 +1,535 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# 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::CPSDirectionnalForce Class Reference

a force that has the same direction everywhere. +More... +

+#include <ps_force.h> +

+

Inheritance diagram for NL3D::CPSDirectionnalForce: +

+ +NL3D::CPSForceIntensityHelper +NL3D::CPSDirection +NL3D::CPSForce +NL3D::CPSForceIntensity +NL3D::CPSTargetLocatedBindable +NL3D::CPSLocatedBindable +NLMISC::IStreamable +NLMISC::IClassable +NL3D::CPSMagneticForce + +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...

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

 NLMISC_DECLARE_CLASS (CPSDirectionnalForce)
From CPSDirection
virtual void setDir (const NLMISC::CVector &dir)
 set the direction of the force. More...

virtual NLMISC::CVector getDir (void) const
 get the direction of the force. More...

virtual bool supportGlobalVectorValue () const
virtual void enableGlobalVectorValue (const std::string &name)
 Bind the direction to a global vaariable (e.g "WIND" ). The value can be changed in CParticleSystem::setGlobalVectorValue. More...

virtual std::string getGlobalVectorValueName () const

Protected Attributes

NLMISC::CVector _Dir
CParticleSystem::CGlobalVectorValueHandle _GlobalValueHandle
+

Detailed Description

+a force that has the same direction everywhere. +

+Mass is also taken in account (which is not the case for gravity) +

+ +

+Definition at line 350 of file ps_force.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + +
NL3D::CPSDirectionnalForce::CPSDirectionnalForce float   i = 1.f [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 361 of file ps_force.h. +

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

+Referenced by NL3D::CPSMagneticForce::CPSMagneticForce.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CPSDirectionnalForce::enableGlobalVectorValue const std::string &   name [virtual]
+
+ + + + + +
+   + + +

+Bind the direction to a global vaariable (e.g "WIND" ). The value can be changed in CParticleSystem::setGlobalVectorValue. +

+ +

+Reimplemented from NL3D::CPSDirection. +

+Definition at line 362 of file ps_force.cpp. +

+References _GlobalValueHandle.

+

+ + + + +
+ + + + + + + + + + +
virtual NLMISC::CVector NL3D::CPSDirectionnalForce::getDir void   const [inline, virtual]
+
+ + + + + +
+   + + +

+get the direction of the force. +

+ +

+Implements NL3D::CPSDirection. +

+Definition at line 379 of file ps_force.h. +

+References _Dir.

+

+ + + + +
+ + + + + + + + + +
std::string NL3D::CPSDirectionnalForce::getGlobalVectorValueName   const [virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::CPSDirection. +

+Definition at line 372 of file ps_force.cpp. +

+References _GlobalValueHandle.

+

+ + + + +
+ + + + + + + + + + +
NL3D::CPSDirectionnalForce::NLMISC_DECLARE_CLASS CPSDirectionnalForce  
+
+ + + + + +
+   + + +

+ +

+Reimplemented in NL3D::CPSMagneticForce.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CPSDirectionnalForce::performDynamic TAnimationTime   ellapsedTime [virtual]
+
+ + + + + +
+   + + +

+Compute the force on the targets. +

+ +

+Implements NL3D::CPSForce. +

+Reimplemented in NL3D::CPSMagneticForce. +

+Definition at line 249 of file ps_force.cpp. +

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

+

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

+serialization. +

+ +

+Reimplemented from NL3D::CPSForceIntensityHelper. +

+Reimplemented in NL3D::CPSMagneticForce. +

+Definition at line 324 of file ps_force.cpp.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CPSDirectionnalForce::setDir const NLMISC::CVector  dir [inline, virtual]
+
+ + + + + +
+   + + +

+set the direction of the force. +

+ +

+Implements NL3D::CPSDirection. +

+Definition at line 377 of file ps_force.h. +

+References _Dir.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CPSDirectionnalForce::show TAnimationTime   ellapsedTime [virtual]
+
+ + + + + +
+   + + +

+Show the force (edition mode). +

+ +

+Implements NL3D::CPSForce. +

+Definition at line 297 of file ps_force.cpp. +

+References _Dir, _GlobalValueHandle, NL3D::CPSLocatedBindable::_Owner, NL3D::CPSForce::CPSLocated, NL3D::CPSLocatedBindable::CPSLocatedBindable, NL3D::CPSLocatedBindable::getDriver, index, NL3D::CPSLocatedBindable::setupDriverModelMatrix, and NL3D::TAnimationTime.

+

+ + + + +
+ + + + + + + + + +
virtual bool NL3D::CPSDirectionnalForce::supportGlobalVectorValue   const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::CPSDirection. +

+Definition at line 381 of file ps_force.h.

+


Member Data Documentation

+

+ + + + +
+ + +
NLMISC::CVector NL3D::CPSDirectionnalForce::_Dir [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 388 of file ps_force.h. +

+Referenced by CPSDirectionnalForce, getDir, NL3D::CPSMagneticForce::performDynamic, performDynamic, setDir, and show.

+

+ + + + +
+ + +
CParticleSystem::CGlobalVectorValueHandle NL3D::CPSDirectionnalForce::_GlobalValueHandle [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 389 of file ps_force.h. +

+Referenced by enableGlobalVectorValue, getGlobalVectorValueName, performDynamic, and show.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1