diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03147.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03147.html')
-rw-r--r-- | docs/doxygen/nel/a03147.html | 4453 |
1 files changed, 4453 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03147.html b/docs/doxygen/nel/a03147.html new file mode 100644 index 00000000..d10f996e --- /dev/null +++ b/docs/doxygen/nel/a03147.html @@ -0,0 +1,4453 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NL3D::CPSBrownianForce class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CPSBrownianForce Class Reference</h1><code>#include <<a class="el" href="a06240.html">ps_force.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPSBrownianForce: +<p><center><img src="a03147.png" usemap="#NL3D::CPSBrownianForce_map" border="0" alt=""></center> +<map name="NL3D::CPSBrownianForce_map"> +<area href="a03149.html" alt="NL3D::CPSForceIntensityHelper" shape="rect" coords="107,280,312,304"> +<area href="a02690.html" alt="NL3D::CPSForce" shape="rect" coords="0,224,205,248"> +<area href="a03148.html" alt="NL3D::CPSForceIntensity" shape="rect" coords="215,224,420,248"> +<area href="a02689.html" alt="NL3D::CPSTargetLocatedBindable" shape="rect" coords="0,168,205,192"> +<area href="a02691.html" alt="NL3D::CPSLocatedBindable" shape="rect" coords="0,112,205,136"> +<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="0,56,205,80"> +<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="0,0,205,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A Brownian motion +<p> + +<p> +Definition at line <a class="el" href="a06240.html#l00576">576</a> of file <a class="el" href="a06240.html">ps_force.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02690.html#NL3D_1_1CPSTurbula0">attachTarget</a> (<a class="el" href="a03214.html">CPSLocated</a> *ptr)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">inherited from CPSLocatedBindableTarget, we use that to tell wether this force is integrable or not <a href="#NL3D_1_1CPSTurbula0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea2">completeBBox</a> (<a class="el" href="a02156.html">NLMISC::CAABBox</a> &box) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea3">computeI</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea4">computeJ</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea5">computeK</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea5">CPSBrownianForce</a> (float intensity=1.f)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">========================================================== <a href="#NL3D_1_1CPSBrownianForcea5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02689.html#NL3D_1_1CPSZoneSpherea7">detachTarget</a> (<a class="el" href="a03214.html">CPSLocated</a> *ptr)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02690.html#NL3D_1_1CPSTurbula7">doesProduceBBox</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Override of <a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea8">CPSLocatedBindable::doesProduceBBox</a>. forces usually are not part of the bbox. <a href="#NL3D_1_1CPSTurbula7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea9">enumTexs</a> (std::vector< <a class="el" href="a03408.html">NLMISC::CSmartPtr</a>< <a class="el" href="a03487.html">ITexture</a> > > &dest, <a class="el" href="a02434.html">IDriver</a> &drv)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02689.html#NL3D_1_1CPSZoneSpherea10">finalize</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSZoneSpherea10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02540.html#NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6">getClassName</a> ()=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02434.html">IDriver</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea14">getDriver</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">shortcut to get an instance of the driver <a href="#NL3D_1_1CPSZoneSpherea14"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea15">getExternID</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the extern ID of this located bindable <a href="#NL3D_1_1CPSZoneSpherea15"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02541.html">CFontGenerator</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea16">getFontGenerator</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to get the font generator if one was set (const version). <a href="#NL3D_1_1CPSZoneSpherea16"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02541.html">CFontGenerator</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea17">getFontGenerator</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to get the font generator if one was set. <a href="#NL3D_1_1CPSZoneSpherea17"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02542.html">CFontManager</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea18">getFontManager</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to get the font manager if one was set (const version). <a href="#NL3D_1_1CPSZoneSpherea18"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02542.html">CFontManager</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea19">getFontManager</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSZoneSpherea19"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbula17">getIntensity</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the constant intensity that was set for the force <a href="#NL3D_1_1CPSTurbula17"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbula18">getIntensityScheme</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbula19">getIntensityScheme</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the attribute maker for a non constant intensity <a href="#NL3D_1_1CPSTurbula19"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea20">getInvertedSysMat</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">shortcut to get the inverted matrix of the system <a href="#NL3D_1_1CPSZoneSpherea20"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea21">getInvertedViewMat</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">shortcut to get the inverted view matrix <a href="#NL3D_1_1CPSZoneSpherea21"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea22">getLocalToWorldMatrix</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to get the local to world matrix. <a href="#NL3D_1_1CPSZoneSpherea22"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05363.html#a558">TPSLod</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea23">getLOD</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the valid lods for that object <a href="#NL3D_1_1CPSZoneSpherea23"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea25">getName</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the located bindable name (edition purpose) <a href="#NL3D_1_1CPSZoneSpherea25"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02689.html#NL3D_1_1CPSZoneSpherea26">getNbTargets</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return the number of targets <a href="#NL3D_1_1CPSZoneSpherea26"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03214.html">CPSLocated</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea28">getOwner</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the located that owns this bindable (const version) <a href="#NL3D_1_1CPSZoneSpherea28"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03214.html">CPSLocated</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea29">getOwner</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the located that owns this bindable <a href="#NL3D_1_1CPSZoneSpherea29"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea28">getParametricFactor</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02690.html#NL3D_1_1CPSTurbula29">getPriority</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return priority for forces <a href="#NL3D_1_1CPSTurbula29"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea32">getSysMat</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSZoneSpherea32"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03214.html">CPSLocated</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02689.html#NL3D_1_1CPSZoneSpherea33">getTarget</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a const ptr on a target. Invalid range -> nlassert. <a href="#NL3D_1_1CPSZoneSpherea33"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03214.html">CPSLocated</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02689.html#NL3D_1_1CPSZoneSpherea34">getTarget</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a ptr on a target. Invalid range -> nlassert. <a href="#NL3D_1_1CPSZoneSpherea34"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02690.html#NL3D_1_1CPSTurbula34">getType</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return this bindable type <a href="#NL3D_1_1CPSTurbula34"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea36">getUserMatrixUsageCount</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea37">getViewMat</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">shortcut to get the view matrix <a href="#NL3D_1_1CPSZoneSpherea37"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea38">hasEmitters</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">tells wether there are alive emitters <a href="#NL3D_1_1CPSZoneSpherea38"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea39">hasParticles</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">tells wether there are alive entities / particles <a href="#NL3D_1_1CPSZoneSpherea39"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea38">integrate</a> (float date, <a class="el" href="a03214.html">CPSLocated</a> *<a class="el" href="a04223.html#a652">src</a>, <a class="el" href="a04558.html#a11">uint32</a> startIndex, <a class="el" href="a04558.html#a11">uint32</a> numObjects, <a class="el" href="a03128.html">NLMISC::CVector</a> *destPos=NULL, <a class="el" href="a03128.html">NLMISC::CVector</a> *destSpeed=NULL, bool accumulate=false, <a class="el" href="a04558.html#a15">uint</a> posStride=sizeof(<a class="el" href="a03128.html">NLMISC::CVector</a>), <a class="el" href="a04558.html#a15">uint</a> speedStride=sizeof(<a class="el" href="a03128.html">NLMISC::CVector</a>))</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">========================================================== <a href="#NL3D_1_1CPSBrownianForcea38"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea39">integrateSingle</a> (float startDate, float deltaT, <a class="el" href="a04558.html#a15">uint</a> numStep, <a class="el" href="a03214.html">CPSLocated</a> *<a class="el" href="a04223.html#a652">src</a>, <a class="el" href="a04558.html#a11">uint32</a> indexInLocated, <a class="el" href="a03128.html">NLMISC::CVector</a> *destPos, bool accumulate=false, <a class="el" href="a04558.html#a15">uint</a> posStride=sizeof(<a class="el" href="a03128.html">NLMISC::CVector</a>))</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">========================================================== <a href="#NL3D_1_1CPSBrownianForcea39"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea40">isActive</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02690.html#NL3D_1_1CPSTurbula42">isIntegrable</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">check wether this force is integrable over time. The default is false <a href="#NL3D_1_1CPSTurbula42"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea41">motionTypeChanged</a> (bool parametric)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">called when a located has switch between incrmental / parametric motion. The default does nothing <a href="#NL3D_1_1CPSZoneSpherea41"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea43">performDynamic</a> (<a class="el" href="a05363.html#a366">TAnimationTime</a> ellapsedTime)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">========================================================== <a href="#NL3D_1_1CPSBrownianForcea43"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02689.html#NL3D_1_1CPSZoneSpherea45">releaseAllRef</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSZoneSpherea45"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02689.html#NL3D_1_1CPSZoneSpherea46">releaseRefTo</a> (const <a class="el" href="a03054.html">CParticleSystemProcess</a> *other)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSZoneSpherea46"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02690.html#NL3D_1_1CPSTurbula48">releaseTargetRsc</a> (<a class="el" href="a03214.html">CPSLocated</a> *target)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">inherited from CPSLocatedBindableTarget <a href="#NL3D_1_1CPSTurbula48"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03149.html#NL3D_1_1CPSForceIntensityHelpera45">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Serial the force definition. MUST be called by deriver during their serialisation. <a href="#NL3D_1_1CPSForceIntensityHelpera45"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbula50">serialForceIntensity</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea49">setActive</a> (bool active)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Activate / Deactivate this object. When not active, the owning system won't try to call the 'step' method. <a href="#NL3D_1_1CPSZoneSpherea49"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea52">setExternID</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a564">id</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSZoneSpherea52"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea51">setIntensity</a> (float <a class="el" href="a04223.html#a658">value</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">========================================================== <a href="#NL3D_1_1CPSBrownianForcea51"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea52">setIntensityScheme</a> (<a class="el" href="a03136.html">CPSAttribMaker</a>< float > *scheme)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">========================================================== <a href="#NL3D_1_1CPSBrownianForcea52"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea53">setLOD</a> (<a class="el" href="a05363.html#a558">TPSLod</a> lod)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea55">setName</a> (const std::string &name)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set the located bindable name (edition purpose) <a href="#NL3D_1_1CPSZoneSpherea55"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea55">setParametricFactor</a> (float factor)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea59">setupDriverModelMatrix</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">shortcut to setup the model matrix (system basis or world basis) <a href="#NL3D_1_1CPSZoneSpherea59"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSSpringa56">setupFunctor</a> (<a class="el" href="a04558.html#a11">uint32</a> indexInLocated)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea60">setZBias</a> (float <a class="el" href="a04223.html#a658">value</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea59">show</a> (<a class="el" href="a05363.html#a366">TAnimationTime</a> ellapsedTime)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Show the force (edition mode). <a href="#NL3D_1_1CPSBrownianForcea59"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02690.html#NL3D_1_1CPSTurbula63">step</a> (<a class="el" href="a05363.html#a556">TPSProcessPass</a> pass, <a class="el" href="a05363.html#a366">TAnimationTime</a> ellapsedTime, <a class="el" href="a05363.html#a366">TAnimationTime</a> realEllapsedTime)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea65">systemDateChanged</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcee0">initPrecalc</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">========================================================== <a href="#NL3D_1_1CPSBrownianForcee0"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual NLMISC_DECLARE_CLASS(<a class="el" href="a03147.html">CPSBrownianForce</a>) virtual <br> +void serial(NLMISC boo </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForceo0">isIntegrable</a> )(void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">========================================================== <a href="#NL3D_1_1CPSBrownianForceo0"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="a03254.html">CPSVector</a>< <a class="el" href="a03214.html">CPSLocated</a> <br> +* >::<a class="el" href="a03254.html">V</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02689.html#NL3D_1_1CPSZoneSpherex0">TTargetCont</a></td></tr> + +<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02690.html#NL3D_1_1CPSTurbulb0">basisChanged</a> (<a class="el" href="a05363.html#a557">TPSMatrixMode</a> systemBasis)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSphereb0">bounceOccured</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02690.html#NL3D_1_1CPSTurbulb2">cancelIntegrable</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">if this force is not integrable anymore, it tells that to its targets <a href="#NL3D_1_1CPSTurbulb2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForceb3">deleteElement</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbulb4">deleteForceIntensityElement</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSphereb3">displayIcon2d</a> (const <a class="el" href="a03128.html">NLMISC::CVector</a> tab[], <a class="el" href="a04558.html#a15">uint</a> nbSegs, float scale)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSZoneSphereb3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03214.html">CPSLocated</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForceb6">getForceIntensityOwner</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">deriver must return the located that own them here <a href="#NL3D_1_1CPSBrownianForceb6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForceb7">newElement</a> (<a class="el" href="a03214.html">CPSLocated</a> *emitterLocated, <a class="el" href="a04558.html#a11">uint32</a> emitterIndex)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbulb8">newForceIntensityElement</a> (<a class="el" href="a03214.html">CPSLocated</a> *emitterLocated, <a class="el" href="a04558.html#a11">uint32</a> emitterIndex)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02689.html#NL3D_1_1CPSZoneSphereb5">notifyTargetRemoved</a> (<a class="el" href="a03214.html">CPSLocated</a> *ptr)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSZoneSphereb5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02690.html#NL3D_1_1CPSTurbulb10">registerToTargets</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">register integrable and non-integrable forces to the targets <a href="#NL3D_1_1CPSTurbulb10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02690.html#NL3D_1_1CPSTurbulb11">renewIntegrable</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">if this force has become integrable again, this method tells it to the target <a href="#NL3D_1_1CPSTurbulb11"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForceb12">resize</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a587">size</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbulb13">resizeForceIntensity</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a587">size</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSphereb7">setOwner</a> (<a class="el" href="a03214.html">CPSLocated</a> *psl)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSZoneSphereb7"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep0">_Active</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep3">_ExternID</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbulp4">_K</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05363.html#a558">TPSLod</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep4">_LOD</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">tells when this object must be dealt with <a href="#NL3D_1_1CPSZoneSpherep4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep5">_Name</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03214.html">CPSLocated</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcep7">_ParametricFactor</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02689.html#NL3D_1_1CPSZoneSpherex0">TTargetCont</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a></td></tr> + +<tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcet0">PrecomputedImpulsions</a> []</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">various impulsion for normal motion <a href="#NL3D_1_1CPSBrownianForcet0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcet1">PrecomputedPos</a> []</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">used to avoid to have to call rand for each particle the force applies on... <a href="#NL3D_1_1CPSBrownianForcet1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcet2">PrecomputedSpeed</a> []</td></tr> + +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="a02690.html#NL3D_1_1CPSTurbuln0">CPSForceIntensity</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="a02690.html#NL3D_1_1CPSTurbuln1">CPSLocated</a></td></tr> + +</table> +<hr><h2>Member Typedef Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSZoneSpherex0" doxytag="NL3D::CPSBrownianForce::TTargetCont" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef <a class="el" href="a03254.html">CPSVector</a><<a class="el" href="a03214.html">CPSLocated</a> *>::<a class="el" href="a03254.html">V</a> <a class="el" href="a03254.html">NL3D::CPSTargetLocatedBindable::TTargetCont</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01122">1122</a> of file <a class="el" href="a06247.html">ps_located.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSBrownianForcea5" doxytag="NL3D::CPSBrownianForce::CPSBrownianForce" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CPSBrownianForce::CPSBrownianForce </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>intensity</em> = 1.f </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +========================================================== +<p> + +<p> +Definition at line <a class="el" href="a06239.html#l01035">1035</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +References <a class="el" href="a06239.html#l01292">setIntensity()</a>. +<p> +<div class="fragment"><pre>01035 : <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcep7">_ParametricFactor</a>(1.f) +01036 { +01037 <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcea51">setIntensity</a>(intensity); +01038 <span class="keywordflow">if</span> (CParticleSystem::getSerializeIdentifierFlag()) <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep5">_Name</a> = std::string(<span class="stringliteral">"BrownianForce"</span>); +01039 +01040 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSTurbula0" doxytag="NL3D::CPSBrownianForce::attachTarget" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSForce::attachTarget </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03214.html">CPSLocated</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>ptr</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +inherited from CPSLocatedBindableTarget, we use that to tell wether this force is integrable or not +<p> + +<p> +Reimplemented from <a class="el" href="a02689.html#NL3D_1_1CPSTargetLocatedBindablea0">NL3D::CPSTargetLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06239.html#l00094">94</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +References <a class="el" href="a06246.html#l01866">NL3D::CPSLocated::addNonIntegrableForceRef()</a>, <a class="el" href="a06240.html#l00085">NL3D::CPSForce::isIntegrable()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a06246.html#l01836">NL3D::CPSLocated::registerIntegrableForce()</a>. +<p> +<div class="fragment"><pre>00095 { +00096 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +00097 CPSTargetLocatedBindable::attachTarget(ptr); +00098 <span class="comment">// check wether we are integrable, and if so, add us to the list</span> +00099 <span class="keywordflow">if</span> (this-><a class="code" href="a02690.html#NL3D_1_1CPSTurbula42">isIntegrable</a>()) +00100 { +00101 ptr->registerIntegrableForce(<span class="keyword">this</span>); +00102 } +00103 <span class="keywordflow">else</span> +00104 { +00105 ptr->addNonIntegrableForceRef(); +00106 } +00107 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbulb0" doxytag="NL3D::CPSBrownianForce::basisChanged" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSForce::basisChanged </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a05363.html#a557">TPSMatrixMode</a> </td> + <td class="mdname1" valign="top" nowrap> <em>systemBasis</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +inherited from <a class="el" href="a02691.html">CPSLocatedBindable</a>. When we deal with integrable forces, they must be in the same basis than their target. If this change, we must notify the target of it. +<p> +Reimplemented from <a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea1">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06239.html#l00123">123</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +References <a class="el" href="a06240.html#l00085">NL3D::CPSForce::isIntegrable()</a>. +<p> +<div class="fragment"><pre>00124 { +00125 <span class="keywordflow">if</span> (!this-><a class="code" href="a02690.html#NL3D_1_1CPSTurbula42">isIntegrable</a>()) <span class="keywordflow">return</span>; +00126 <span class="keywordflow">for</span> (TTargetCont::iterator it = <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.begin(); it != <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.end(); ++it) +00127 { +00128 (*it)->integrableForceBasisChanged(matrixMode); +00129 } +00130 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSphereb0" doxytag="NL3D::CPSBrownianForce::bounceOccured" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSLocatedBindable::bounceOccured </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +a bounce occured, so some action could be done. The default behaviour does nothing <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>index</em> </td><td>the index of the element that bounced</td></tr> + </table> +</dl> + +<p> +Reimplemented in <a class="el" href="a03179.html#NL3D_1_1CPSSphericalEmitterb0">NL3D::CPSEmitter</a>. +<p> +Definition at line <a class="el" href="a06247.html#l01011">1011</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>01011 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbulb2" doxytag="NL3D::CPSBrownianForce::cancelIntegrable" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSForce::cancelIntegrable </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +if this force is not integrable anymore, it tells that to its targets +<p> + +<p> +Definition at line <a class="el" href="a06239.html#l00133">133</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +References <a class="el" href="a06151.html#l00143">NL3D::CParticleSystemProcess::getMatrixMode()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06239.html#l01307">setIntensityScheme()</a>, and <a class="el" href="a06239.html#l00668">NL3D::CPSGravity::setIntensityScheme()</a>. +<p> +<div class="fragment"><pre>00134 { +00135 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +00136 <span class="keywordflow">for</span> (TTargetCont::iterator it = <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.begin(); it != <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.end(); ++it) +00137 { +00138 <span class="keywordflow">if</span> ((*it)->getMatrixMode() == <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getMatrixMode()) +00139 { +00140 (*it)->unregisterIntegrableForce(<span class="keyword">this</span>); +00141 (*it)->addNonIntegrableForceRef(); +00142 } +00143 } +00144 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea2" doxytag="NL3D::CPSBrownianForce::completeBBox" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CPSLocatedBindable::completeBBox </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02156.html">NLMISC::CAABBox</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>box</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a03194.html#NL3D_1_1CPSFanLighta1">NL3D::CPSFanLight</a>, <a class="el" href="a03187.html#NL3D_1_1CPSQuadb2">NL3D::CPSQuad</a>, and <a class="el" href="a03233.html#NL3D_1_1CPSShockWavea1">NL3D::CPSShockWave</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00884">884</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00884 { <span class="keywordflow">return</span> <span class="keyword">false</span> ;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea3" doxytag="NL3D::CPSBrownianForce::computeI" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03128.html">NLMISC::CVector</a> NL3D::CPSLocatedBindable::computeI </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute a vector that will map to (1 0 0) after view and model transform. This allow to have object that always faces the user, whatever basis they are in +<p> +Definition at line <a class="el" href="a06247.html#l00931">931</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06246.html#l00612">NL3D::CPSLocated::computeI()</a>. +<p> +Referenced by <a class="el" href="a06246.html#l02038">NL3D::CPSLocatedBindable::displayIcon2d()</a>, <a class="el" href="a06235.html#l00072">NL3D::CPSFanLightHelper::drawFanLight()</a>, <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>, <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>, and <a class="el" href="a06229.html#l00447">NL3D::CPSEmitter::showTool()</a>. +<p> +<div class="fragment"><pre>00931 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->computeI(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea4" doxytag="NL3D::CPSBrownianForce::computeJ" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03128.html">NLMISC::CVector</a> NL3D::CPSLocatedBindable::computeJ </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute a vector that will map to (0 1 0) after view and model transform. This allow to have object that always faces the user, whatever basis they are in +<p> +Definition at line <a class="el" href="a06247.html#l00936">936</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06246.html#l00643">NL3D::CPSLocated::computeJ()</a>. +<p> +Referenced by <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>. +<p> +<div class="fragment"><pre>00936 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->computeJ(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea5" doxytag="NL3D::CPSBrownianForce::computeK" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03128.html">NLMISC::CVector</a> NL3D::CPSLocatedBindable::computeK </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute a vector that will map to (0 0 1) after view and model transform. This allow to have object that always faces the user, whatever basis they are in +<p> +Definition at line <a class="el" href="a06247.html#l00940">940</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06246.html#l00674">NL3D::CPSLocated::computeK()</a>. +<p> +Referenced by <a class="el" href="a06246.html#l02038">NL3D::CPSLocatedBindable::displayIcon2d()</a>, <a class="el" href="a06235.html#l00072">NL3D::CPSFanLightHelper::drawFanLight()</a>, <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>, and <a class="el" href="a06229.html#l00447">NL3D::CPSEmitter::showTool()</a>. +<p> +<div class="fragment"><pre>00940 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->computeK(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForceb3" doxytag="NL3D::CPSBrownianForce::deleteElement" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSBrownianForce::deleteElement </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +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 +<p> +Reimplemented from <a class="el" href="a03149.html#NL3D_1_1CPSSpringb3">NL3D::CPSForceIntensityHelper</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00621">621</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a06240.html#l00203">NL3D::CPSForceIntensity::deleteForceIntensityElement()</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00621 { <a class="code" href="a03148.html#NL3D_1_1CPSTurbulb4">deleteForceIntensityElement</a>(index); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbulb4" doxytag="NL3D::CPSBrownianForce::deleteForceIntensityElement" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSForceIntensity::deleteForceIntensityElement </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06240.html#l00203">203</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a06240.html#l00197">NL3D::CPSForceIntensity::_IntensityScheme</a>, <a class="el" href="a06214.html#l00285">NL3D::CPSAttribMaker< float >::deleteElement()</a>, <a class="el" href="a06214.html#l00282">NL3D::CPSAttribMaker< float >::hasMemory()</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06240.html#l00717">NL3D::CPSTurbul::deleteElement()</a>, <a class="el" href="a06240.html#l00621">deleteElement()</a>, <a class="el" href="a06240.html#l00567">NL3D::CPSFluidFriction::deleteElement()</a>, and <a class="el" href="a06240.html#l00226">NL3D::CPSForceIntensityHelper::deleteElement()</a>. +<p> +<div class="fragment"><pre>00204 { +00205 <span class="keywordflow">if</span> (<a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a> && <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>->hasMemory()) <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>->deleteElement(index); +00206 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea7" doxytag="NL3D::CPSBrownianForce::detachTarget" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSTargetLocatedBindable::detachTarget </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03214.html">CPSLocated</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>ptr</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +remove a target <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a02689.html#NL3D_1_1CPSTargetLocatedBindablea0">attachTarget</a></dd></dl> + +<p> +Definition at line <a class="el" href="a06247.html#l01076">1076</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06246.html#l02223">NL3D::CPSTargetLocatedBindable::notifyTargetRemoved()</a>. +<p> +<div class="fragment"><pre>01077 { +01078 <a class="code" href="a02689.html#NL3D_1_1CPSZoneSphereb5">notifyTargetRemoved</a>(ptr); +01079 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSphereb3" doxytag="NL3D::CPSBrownianForce::displayIcon2d" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::displayIcon2d </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">NLMISC::CVector</a> </td> + <td class="mdname" nowrap> <em>tab</em>[], </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>nbSegs</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>scale</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> +show an drawing to represent the object, and in red if it is selected <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>tab</em> </td><td>: a table of 2 * nbSeg vector. only the x and y coordinates are used </td></tr> + <tr><td valign=top><em>nbSeg</em> </td><td>: the number of segment </td></tr> + <tr><td valign=top><em>scale</em> </td><td>: the scale to use for drawing</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a06246.html#l02038">2038</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06247.html#l00931">NL3D::CPSLocatedBindable::computeI()</a>, <a class="el" href="a06247.html#l00940">NL3D::CPSLocatedBindable::computeK()</a>, <a class="el" href="a06143.html#l00411">NL3D::CParticleSystem::getCurrentEditedElement()</a>, <a class="el" href="a06247.html#l00890">NL3D::CPSLocatedBindable::getDriver()</a>, <a class="el" href="a06151.html#l00111">NL3D::CParticleSystemProcess::getOwner()</a>, <a class="el" href="a06247.html#l00334">NL3D::CPSLocated::getPos()</a>, <a class="el" href="a06247.html#l00361">NL3D::CPSLocated::getSize()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05641.html#l00064">NL3D::CMaterial::setBlend()</a>, <a class="el" href="a05641.html#l00091">NL3D::CMaterial::setBlendFunc()</a>, <a class="el" href="a05641.html#l00118">NL3D::CMaterial::setColor()</a>, <a class="el" href="a05641.html#l00127">NL3D::CMaterial::setLighting()</a>, <a class="el" href="a06246.html#l02142">NL3D::CPSLocatedBindable::setupDriverModelMatrix()</a>, <a class="el" href="a05641.html#l00099">NL3D::CMaterial::setZFunc()</a>, <a class="el" href="a05641.html#l00105">NL3D::CMaterial::setZWrite()</a>, <a class="el" href="a05646.html#l00645">size</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05910.html#l00048">NLMISC::CLine::V0</a>, <a class="el" href="a05910.html#l00048">NLMISC::CLine::V1</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>. +<p> +Referenced by <a class="el" href="a06239.html#l00795">NL3D::CPSSpring::show()</a>, <a class="el" href="a06239.html#l00724">NL3D::CPSCentralGravity::show()</a>, and <a class="el" href="a06257.html#l00055">NL3D::CPSParticle::showTool()</a>. +<p> +<div class="fragment"><pre>02039 { +02040 <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a587">size</a> = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getSize(); +02041 <span class="keywordflow">if</span> (!<a class="code" href="a04223.html#a587">size</a>) <span class="keywordflow">return</span>; +02042 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea59">setupDriverModelMatrix</a>(); +02043 +02044 <span class="keyword">const</span> CVector I = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea3">computeI</a>(); +02045 <span class="keyword">const</span> CVector K = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea5">computeK</a>(); +02046 +02047 <span class="keyword">static</span> std::vector<NLMISC::CLine> lines; +02048 +02049 lines.clear(); +02050 +02051 <span class="comment">// ugly slow code, but not for runtime</span> +02052 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a04223.html#a587">size</a>; ++k) +02053 { +02054 <span class="comment">// center of the current particle</span> +02055 <span class="keyword">const</span> CVector p = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getPos()[k]; +02056 +02057 +02058 +02059 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a05373.html#a2">l</a> = 0; <a class="code" href="a05373.html#a2">l</a> < nbSegs; ++<a class="code" href="a05373.html#a2">l</a>) +02060 { +02061 <a class="code" href="a02759.html">NLMISC::CLine</a> li; +02062 li.<a class="code" href="a02759.html#NLMISC_1_1CLineUVo2">V0</a> = p + scale * (tab[<a class="code" href="a05373.html#a2">l</a> << 1].<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> * I + tab[<a class="code" href="a05373.html#a2">l</a> << 1].y * K); +02063 li.<a class="code" href="a02759.html#NLMISC_1_1CLineUVo3">V1</a> = p + scale * (tab[(<a class="code" href="a05373.html#a2">l</a> << 1) + 1].x * I + tab[(<a class="code" href="a05373.html#a2">l</a> << 1) + 1].y * K); +02064 lines.push_back(li); +02065 } +02066 +02067 CMaterial mat; +02068 +02069 mat.setBlendFunc(CMaterial::one, CMaterial::one); +02070 mat.setZWrite(<span class="keyword">false</span>); +02071 mat.setLighting(<span class="keyword">false</span>); +02072 mat.setBlend(<span class="keyword">true</span>); +02073 mat.setZFunc(CMaterial::less); +02074 +02075 +02076 +02077 <a class="code" href="a02690.html#NL3D_1_1CPSTurbuln1">CPSLocated</a> *loc; +02078 <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a566">index</a>; +02079 <a class="code" href="a02691.html#NL3D_1_1CPSLocatedBindablez743_0">CPSLocatedBindable</a> *lb; +02080 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()->getCurrentEditedElement(loc, index, lb); +02081 +02082 mat.setColor((lb == NULL || <span class="keyword">this</span> == lb) && loc == _Owner && index == k ? CRGBA::Red : <a class="code" href="a03337.html">CRGBA</a>(127, 127, 127)); +02083 +02084 +02085 CDRU::drawLinesUnlit(lines, mat, *<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea14">getDriver</a>() ); +02086 } +02087 +02088 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbula7" doxytag="NL3D::CPSBrownianForce::doesProduceBBox" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CPSForce::doesProduceBBox </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Override of <a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea8">CPSLocatedBindable::doesProduceBBox</a>. forces usually are not part of the bbox. +<p> + +<p> +Reimplemented from <a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea8">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00067">67</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +<div class="fragment"><pre>00067 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea9" doxytag="NL3D::CPSBrownianForce::enumTexs" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSLocatedBindable::enumTexs </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< <a class="el" href="a03408.html">NLMISC::CSmartPtr</a>< <a class="el" href="a03487.html">ITexture</a> > > & </td> + <td class="mdname" nowrap> <em>dest</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02434.html">IDriver</a> & </td> + <td class="mdname" nowrap> <em>drv</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a03194.html#NL3D_1_1CPSFanLighta9">NL3D::CPSFanLight</a>, <a class="el" href="a03187.html#NL3D_1_1CPSQuada13">NL3D::CPSQuad</a>, <a class="el" href="a03226.html#NL3D_1_1CPSRibbona10">NL3D::CPSRibbon</a>, <a class="el" href="a03230.html#NL3D_1_1CPSRibbonLookAta10">NL3D::CPSRibbonLookAt</a>, and <a class="el" href="a03233.html#NL3D_1_1CPSShockWavea11">NL3D::CPSShockWave</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00977">977</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00977 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea10" doxytag="NL3D::CPSBrownianForce::finalize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSTargetLocatedBindable::finalize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> + +<p> +Release the collisionInfos we've querried. We can't do it in the dtor, as calls to releaseTargetRsc wouldn't be polymorphics for derived class! And the behaviour of releaseTergetRsc is implemented in derived class +<p> +Reimplemented from <a class="el" href="a02691.html#NL3D_1_1CPSTailDotz743_0">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06246.html#l02238">2238</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06247.html#l01123">NL3D::CPSTargetLocatedBindable::_Targets</a>, and <a class="el" href="a06247.html#l01110">NL3D::CPSTargetLocatedBindable::releaseTargetRsc()</a>. +<p> +<div class="fragment"><pre>02239 { +02243 <span class="keywordflow">for</span> (TTargetCont::iterator it = <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.begin(); it != <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.end(); ++it) +02244 { +02245 <a class="code" href="a02690.html#NL3D_1_1CPSTurbula48">releaseTargetRsc</a>(*it); +02246 } +02247 CPSLocatedBindable::finalize(); +02248 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6" doxytag="NL3D::CPSBrownianForce::getClassName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual std::string NLMISC::IClassable::getClassName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02995.html#NLAIAGENT_1_1CNumericIndexz1699_0">NLAIAGENT::CNumericIndex</a>, <a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypez1764_0">NLAIC::IPointerGestion</a>, <a class="el" href="a02650.html#NLAIC_1_1CIdentTypez1766_0">NLAIC::CIdentType</a>, and <a class="el" href="a02241.html#CAutomataDescz1896_0">CAutomataDesc</a>. +<p> +Referenced by <a class="el" href="a05549.html#l00091">NLMISC::CClassRegistry::checkObject()</a>, and <a class="el" href="a06525.html#l00039">NL3D::GetTextureSize()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea14" doxytag="NL3D::CPSBrownianForce::getDriver" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02434.html">IDriver</a>* NL3D::CPSLocatedBindable::getDriver </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +shortcut to get an instance of the driver +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00890">890</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06246.html#l00705">NL3D::CPSLocated::getDriver()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06246.html#l02038">NL3D::CPSLocatedBindable::displayIcon2d()</a>, <a class="el" href="a06283.html#l00242">NL3D::CPSTailDot::displayRibbons()</a>, <a class="el" href="a06277.html#l00319">NL3D::CPSRibbonLookAt::displayRibbons()</a>, <a class="el" href="a06273.html#l00471">NL3D::CPSRibbon::displayRibbons()</a>, <a class="el" href="a06226.html#l00122">NL3D::CPSDot::draw()</a>, <a class="el" href="a06231.html#l00055">NL3D::CPSFaceHelper::drawFaces()</a>, <a class="el" href="a06235.html#l00072">NL3D::CPSFanLightHelper::drawFanLight()</a>, <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>, <a class="el" href="a06250.html#l00521">NL3D::CPSConstraintMeshHelper::drawMeshs()</a>, <a class="el" href="a06250.html#l00793">NL3D::CPSConstraintMeshHelper::drawPrerotatedMeshs()</a>, <a class="el" href="a06287.html#l01375">NL3D::CPSZoneRectangle::show()</a>, <a class="el" href="a06287.html#l01160">NL3D::CPSZoneCylinder::show()</a>, <a class="el" href="a06287.html#l00625">NL3D::CPSZoneDisc::show()</a>, <a class="el" href="a06287.html#l00448">NL3D::CPSZoneSphere::show()</a>, <a class="el" href="a06287.html#l00140">NL3D::CPSZonePlane::show()</a>, <a class="el" href="a06244.html#l00363">NL3D::CPSLight::show()</a>, <a class="el" href="a06239.html#l00900">NL3D::CPSCylindricVortex::show()</a>, <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>, <a class="el" href="a06239.html#l00295">NL3D::CPSDirectionnalForce::show()</a>, <a class="el" href="a06229.html#l02491">NL3D::CPSSphericalEmitter::showTool()</a>, <a class="el" href="a06229.html#l02391">NL3D::CPSEmitterRectangle::showTool()</a>, and <a class="el" href="a06229.html#l00447">NL3D::CPSEmitter::showTool()</a>. +<p> +<div class="fragment"><pre>00891 { +00892 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +00893 <a class="code" href="a04199.html#a6">nlassert</a>(<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getDriver()); +00894 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getDriver(); +00895 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea15" doxytag="NL3D::CPSBrownianForce::getExternID" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CPSLocatedBindable::getExternID </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the extern ID of this located bindable +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00964">964</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06247.html#l01027">NL3D::CPSLocatedBindable::_ExternID</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06246.html#l00751">NL3D::CPSLocated::bind()</a>, and <a class="el" href="a06142.html#l01096">NL3D::CParticleSystem::unregisterLocatedBindableExternID()</a>. +<p> +<div class="fragment"><pre>00964 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep3">_ExternID</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea16" doxytag="NL3D::CPSBrownianForce::getFontGenerator" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02541.html">CFontGenerator</a>* NL3D::CPSLocatedBindable::getFontGenerator </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Shortcut to get the font generator if one was set (const version). +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00904">904</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06150.html#l00071">NL3D::CParticleSystemProcess::getFontGenerator()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>00905 { +00906 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +00907 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getFontGenerator(); +00908 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea17" doxytag="NL3D::CPSBrownianForce::getFontGenerator" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02541.html">CFontGenerator</a>* NL3D::CPSLocatedBindable::getFontGenerator </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Shortcut to get the font generator if one was set. +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00897">897</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06150.html#l00071">NL3D::CParticleSystemProcess::getFontGenerator()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06287.html#l01375">NL3D::CPSZoneRectangle::show()</a>, <a class="el" href="a06287.html#l01160">NL3D::CPSZoneCylinder::show()</a>, <a class="el" href="a06287.html#l00625">NL3D::CPSZoneDisc::show()</a>, <a class="el" href="a06287.html#l00140">NL3D::CPSZonePlane::show()</a>, <a class="el" href="a06239.html#l00900">NL3D::CPSCylindricVortex::show()</a>, <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>, and <a class="el" href="a06229.html#l02391">NL3D::CPSEmitterRectangle::showTool()</a>. +<p> +<div class="fragment"><pre>00898 { +00899 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +00900 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getFontGenerator(); +00901 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea18" doxytag="NL3D::CPSBrownianForce::getFontManager" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02542.html">CFontManager</a> * NL3D::CPSLocatedBindable::getFontManager </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Shortcut to get the font manager if one was set (const version). +<p> + +<p> +Definition at line <a class="el" href="a06246.html#l02099">2099</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06150.html#l00085">NL3D::CParticleSystemProcess::getFontManager()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>02100 { +02101 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +02102 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getFontManager(); +02103 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea19" doxytag="NL3D::CPSBrownianForce::getFontManager" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02542.html">CFontManager</a> * NL3D::CPSLocatedBindable::getFontManager </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> + +<p> +Definition at line <a class="el" href="a06246.html#l02091">2091</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06150.html#l00085">NL3D::CParticleSystemProcess::getFontManager()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06287.html#l01375">NL3D::CPSZoneRectangle::show()</a>, <a class="el" href="a06287.html#l01160">NL3D::CPSZoneCylinder::show()</a>, <a class="el" href="a06287.html#l00625">NL3D::CPSZoneDisc::show()</a>, <a class="el" href="a06287.html#l00140">NL3D::CPSZonePlane::show()</a>, <a class="el" href="a06239.html#l00900">NL3D::CPSCylindricVortex::show()</a>, <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>, and <a class="el" href="a06229.html#l02391">NL3D::CPSEmitterRectangle::showTool()</a>. +<p> +<div class="fragment"><pre>02092 { +02093 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +02094 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getFontManager(); +02095 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForceb6" doxytag="NL3D::CPSBrownianForce::getForceIntensityOwner" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a03214.html">CPSLocated</a>* NL3D::CPSBrownianForce::getForceIntensityOwner </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +deriver must return the located that own them here +<p> + +<p> +Reimplemented from <a class="el" href="a03149.html#NL3D_1_1CPSSpringb6">NL3D::CPSForceIntensityHelper</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00619">619</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +<div class="fragment"><pre>00619 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbula17" doxytag="NL3D::CPSBrownianForce::getIntensity" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CPSForceIntensity::getIntensity </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the constant intensity that was set for the force +<p> + +<p> +Definition at line <a class="el" href="a06240.html#l00173">173</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a06240.html#l00196">NL3D::CPSForceIntensity::_K</a>. +<p> +<div class="fragment"><pre>00173 { <span class="keywordflow">return</span> <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp4">_K</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbula18" doxytag="NL3D::CPSBrownianForce::getIntensityScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a03136.html">CPSAttribMaker</a><float>* NL3D::CPSForceIntensity::getIntensityScheme </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06240.html#l00186">186</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a06240.html#l00197">NL3D::CPSForceIntensity::_IntensityScheme</a>. +<p> +<div class="fragment"><pre>00186 { <span class="keywordflow">return</span> <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbula19" doxytag="NL3D::CPSBrownianForce::getIntensityScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03136.html">CPSAttribMaker</a><float>* NL3D::CPSForceIntensity::getIntensityScheme </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the attribute maker for a non constant intensity +<p> + +<p> +Definition at line <a class="el" href="a06240.html#l00185">185</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a06240.html#l00197">NL3D::CPSForceIntensity::_IntensityScheme</a>. +<p> +<div class="fragment"><pre>00185 { <span class="keywordflow">return</span> <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea20" doxytag="NL3D::CPSBrownianForce::getInvertedSysMat" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & NL3D::CPSLocatedBindable::getInvertedSysMat </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +shortcut to get the inverted matrix of the system +<p> + +<p> +Definition at line <a class="el" href="a06246.html#l02116">2116</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06143.html#l00190">NL3D::CParticleSystem::getInvertedSysMat()</a>, <a class="el" href="a06151.html#l00111">NL3D::CParticleSystemProcess::getOwner()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>02117 { +02118 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +02119 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()->getInvertedSysMat(); +02120 +02121 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea21" doxytag="NL3D::CPSBrownianForce::getInvertedViewMat" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & NL3D::CPSLocatedBindable::getInvertedViewMat </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +shortcut to get the inverted view matrix +<p> + +<p> +Definition at line <a class="el" href="a06246.html#l02134">2134</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06143.html#l00223">NL3D::CParticleSystem::getInvertedViewMat()</a>, <a class="el" href="a06151.html#l00111">NL3D::CParticleSystemProcess::getOwner()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>02135 { +02136 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +02137 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()->getInvertedViewMat(); +02138 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea22" doxytag="NL3D::CPSBrownianForce::getLocalToWorldMatrix" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & NL3D::CPSLocatedBindable::getLocalToWorldMatrix </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Shortcut to get the local to world matrix. +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01144">1144</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06246.html#l00092">NL3D::CPSLocated::getLocalToWorldMatrix()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06277.html#l00319">NL3D::CPSRibbonLookAt::displayRibbons()</a>, <a class="el" href="a06281.html#l00355">NL3D::CPSSound::newElement()</a>, <a class="el" href="a06287.html#l01375">NL3D::CPSZoneRectangle::show()</a>, <a class="el" href="a06287.html#l01160">NL3D::CPSZoneCylinder::show()</a>, <a class="el" href="a06287.html#l00625">NL3D::CPSZoneDisc::show()</a>, <a class="el" href="a06287.html#l00140">NL3D::CPSZonePlane::show()</a>, <a class="el" href="a06244.html#l00363">NL3D::CPSLight::show()</a>, <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>, <a class="el" href="a06229.html#l02391">NL3D::CPSEmitterRectangle::showTool()</a>, <a class="el" href="a06244.html#l00146">NL3D::CPSLight::step()</a>, and <a class="el" href="a06250.html#l00295">NL3D::CPSMesh::updatePos()</a>. +<p> +<div class="fragment"><pre>01145 { +01146 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +01147 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getLocalToWorldMatrix(); +01148 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea23" doxytag="NL3D::CPSBrownianForce::getLOD" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a05363.html#a558">TPSLod</a> NL3D::CPSLocatedBindable::getLOD </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the valid lods for that object +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00954">954</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06247.html#l01029">NL3D::CPSLocatedBindable::_LOD</a>, and <a class="el" href="a06248.html#l00036">NL3D::TPSLod</a>. +<p> +<div class="fragment"><pre>00954 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep4">_LOD</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea25" doxytag="NL3D::CPSBrownianForce::getName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string NL3D::CPSLocatedBindable::getName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the located bindable name (edition purpose) +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00948">948</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00948 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep5">_Name</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea26" doxytag="NL3D::CPSBrownianForce::getNbTargets" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CPSTargetLocatedBindable::getNbTargets </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return the number of targets +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01091">1091</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06247.html#l01123">NL3D::CPSTargetLocatedBindable::_Targets</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06142.html#l01845">NL3D::CParticleSystem::getTargeters()</a>. +<p> +<div class="fragment"><pre>01091 { <span class="keywordflow">return</span> <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.size(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea28" doxytag="NL3D::CPSBrownianForce::getOwner" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a03214.html">CPSLocated</a>* NL3D::CPSLocatedBindable::getOwner </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the located that owns this bindable (const version) +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00944">944</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00944 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea29" doxytag="NL3D::CPSBrownianForce::getOwner" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03214.html">CPSLocated</a>* NL3D::CPSLocatedBindable::getOwner </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the located that owns this bindable +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00942">942</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +Referenced by <a class="el" href="a06246.html#l01051">NL3D::CPSLocated::deleteElement()</a>, <a class="el" href="a06144.html#l00208">NL3D::CParticleSystemInstanceUser::emit()</a>, <a class="el" href="a06234.html#l00122">NL3D::CPSFaceLookAt::CSecondSize::getSizeOwner()</a>, <a class="el" href="a06281.html#l00355">NL3D::CPSSound::newElement()</a>, <a class="el" href="a06246.html#l01836">NL3D::CPSLocated::registerIntegrableForce()</a>, <a class="el" href="a06142.html#l01081">NL3D::CParticleSystem::registerLocatedBindableExternID()</a>, <a class="el" href="a06144.html#l00236">NL3D::CParticleSystemInstanceUser::removeByID()</a>, <a class="el" href="a06281.html#l00415">NL3D::CPSSound::resize()</a>, <a class="el" href="a06244.html#l00337">NL3D::CPSLight::resize()</a>, <a class="el" href="a06281.html#l00109">NL3D::CPSSound::step()</a>, <a class="el" href="a06246.html#l01851">NL3D::CPSLocated::unregisterIntegrableForce()</a>, and <a class="el" href="a06142.html#l01096">NL3D::CParticleSystem::unregisterLocatedBindableExternID()</a>. +<p> +<div class="fragment"><pre>00942 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForcea28" doxytag="NL3D::CPSBrownianForce::getParametricFactor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CPSBrownianForce::getParametricFactor </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06240.html#l00616">616</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a06240.html#l00624">_ParametricFactor</a>. +<p> +<div class="fragment"><pre>00616 { <span class="keywordflow">return</span> <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcep7">_ParametricFactor</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbula29" doxytag="NL3D::CPSBrownianForce::getPriority" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a04558.html#a11">uint32</a> NL3D::CPSForce::getPriority </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return priority for forces +<p> + +<p> +Implements <a class="el" href="a02691.html#NL3D_1_1CPSTargetLocatedBindablea25">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00064">64</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00064 { <span class="keywordflow">return</span> 4000; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea32" doxytag="NL3D::CPSBrownianForce::getSysMat" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & NL3D::CPSLocatedBindable::getSysMat </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> + +<p> +Definition at line <a class="el" href="a06246.html#l02108">2108</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06151.html#l00111">NL3D::CParticleSystemProcess::getOwner()</a>, <a class="el" href="a06143.html#l00184">NL3D::CParticleSystem::getSysMat()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>02109 { +02110 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +02111 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()->getSysMat(); +02112 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea33" doxytag="NL3D::CPSBrownianForce::getTarget" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a03214.html">CPSLocated</a>* NL3D::CPSTargetLocatedBindable::getTarget </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return a const ptr on a target. Invalid range -> nlassert. +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01099">1099</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06247.html#l01123">NL3D::CPSTargetLocatedBindable::_Targets</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>01100 { +01101 <a class="code" href="a04199.html#a6">nlassert</a>(index < <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.size()); +01102 <span class="keywordflow">return</span> <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>[<a class="code" href="a04223.html#a566">index</a>]; +01103 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea34" doxytag="NL3D::CPSBrownianForce::getTarget" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03214.html">CPSLocated</a>* NL3D::CPSTargetLocatedBindable::getTarget </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return a ptr on a target. Invalid range -> nlassert. +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01093">1093</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06247.html#l01123">NL3D::CPSTargetLocatedBindable::_Targets</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06142.html#l01845">NL3D::CParticleSystem::getTargeters()</a>. +<p> +<div class="fragment"><pre>01094 { +01095 <a class="code" href="a04199.html#a6">nlassert</a>(index < <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.size()); +01096 <span class="keywordflow">return</span> <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>[<a class="code" href="a04223.html#a566">index</a>]; +01097 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbula34" doxytag="NL3D::CPSBrownianForce::getType" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CPSForce::getType </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return this bindable type +<p> + +<p> +Implements <a class="el" href="a02691.html#NL3D_1_1CPSTargetLocatedBindablea29">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00059">59</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a06247.html#l00805">NL3D::PSForce</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00059 { <span class="keywordflow">return</span> <a class="code" href="a05363.html#a254">PSForce</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea36" doxytag="NL3D::CPSBrownianForce::getUserMatrixUsageCount" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CPSLocatedBindable::getUserMatrixUsageCount </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a03179.html#NL3D_1_1CPSSphericalEmittera46">NL3D::CPSEmitter</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00974">974</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +Referenced by <a class="el" href="a06246.html#l01975">NL3D::CPSLocatedBindable::finalize()</a>, and <a class="el" href="a06246.html#l01948">NL3D::CPSLocatedBindable::setOwner()</a>. +<p> +<div class="fragment"><pre>00974 { <span class="keywordflow">return</span> 0; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea37" doxytag="NL3D::CPSBrownianForce::getViewMat" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & NL3D::CPSLocatedBindable::getViewMat </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +shortcut to get the view matrix +<p> + +<p> +Definition at line <a class="el" href="a06246.html#l02125">2125</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06151.html#l00111">NL3D::CParticleSystemProcess::getOwner()</a>, <a class="el" href="a06143.html#l00220">NL3D::CParticleSystem::getViewMat()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06277.html#l00319">NL3D::CPSRibbonLookAt::displayRibbons()</a>, and <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>. +<p> +<div class="fragment"><pre>02126 { +02127 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +02128 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()->getViewMat(); +02129 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea38" doxytag="NL3D::CPSBrownianForce::hasEmitters" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CPSLocatedBindable::hasEmitters </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +tells wether there are alive emitters +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00958">958</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00958 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea39" doxytag="NL3D::CPSBrownianForce::hasParticles" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CPSLocatedBindable::hasParticles </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +tells wether there are alive entities / particles +<p> + +<p> +Reimplemented in <a class="el" href="a03162.html#NL3D_1_1CPSTailDota41">NL3D::CPSParticle</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00956">956</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00956 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForcee0" doxytag="NL3D::CPSBrownianForce::initPrecalc" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSBrownianForce::initPrecalc </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +========================================================== +<p> +create the pos table +<p> +Definition at line <a class="el" href="a06239.html#l01232">1232</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +References <a class="el" href="a06239.html#l01028">NL3D::BFNumPrecomputedImpulsions</a>, <a class="el" href="a06239.html#l01023">NL3D::BFNumPredefinedPos</a>, <a class="el" href="a06239.html#l01024">NL3D::BFPredefinedNumInterp</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06239.html#l01032">PrecomputedImpulsions</a>, <a class="el" href="a06239.html#l01030">PrecomputedPos</a>, <a class="el" href="a06239.html#l01031">PrecomputedSpeed</a>, <a class="el" href="a06682.html#l00136">NLMISC::CVector::set()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>01233 { +01235 <a class="code" href="a04199.html#a6">nlassert</a>(BFNumPredefinedPos % BFPredefinedNumInterp == 0); +01236 +01237 <a class="code" href="a03128.html">NLMISC::CVector</a> p0(0, 0, 0), p1; +01238 <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> numStep = <a class="code" href="a05363.html#a244">BFNumPredefinedPos</a> / <a class="code" href="a05363.html#a245">BFPredefinedNumInterp</a>; +01239 <a class="code" href="a03128.html">NLMISC::CVector</a> *dest = <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcet1">PrecomputedPos</a>; +01240 <a class="code" href="a04558.html#a15">uint</a> k, <a class="code" href="a05373.html#a2">l</a>; +01241 <span class="keywordflow">for</span> (k = 0; k < numStep; ++k) +01242 { +01243 <span class="keywordflow">if</span> (k != numStep - 1) +01244 { +01245 p1.<a class="code" href="a03128.html#NLMISC_1_1CVectorz2051_8">set</a>(2.f * (NLMISC::frand(1.f) - 0.5f), +01246 2.f * (NLMISC::frand(1.f) - 0.5f), +01247 2.f * (NLMISC::frand(1.f) - 0.5f)); +01248 } +01249 <span class="keywordflow">else</span> +01250 { +01251 p1.<a class="code" href="a03128.html#NLMISC_1_1CVectorz2051_8">set</a>(0, 0, 0); +01252 } +01253 <span class="keywordtype">float</span> lambda = 0.f; +01254 <span class="keywordtype">float</span> lambdaStep = 1.f / <a class="code" href="a05363.html#a245">BFPredefinedNumInterp</a>; +01255 <span class="keywordflow">for</span> (<a class="code" href="a05373.html#a2">l</a> = 0; <a class="code" href="a05373.html#a2">l</a> < <a class="code" href="a05363.html#a245">BFPredefinedNumInterp</a>; ++<a class="code" href="a05373.html#a2">l</a>) +01256 { +01257 *dest++ = lambda * p1 + (1.f - lambda) * p0; +01258 lambda += lambdaStep; +01259 } +01260 p0 = p1; +01261 } +01262 +01263 <span class="comment">// now, filter the table several time to get something more smooth</span> +01264 <span class="keywordflow">for</span> (k = 0; k < (<a class="code" href="a05363.html#a245">BFPredefinedNumInterp</a> << 2) ; ++k) +01265 { +01266 <span class="keywordflow">for</span> (<a class="code" href="a05373.html#a2">l</a> = 1; <a class="code" href="a05373.html#a2">l</a> < (<a class="code" href="a05363.html#a244">BFNumPredefinedPos</a> - 1); ++<a class="code" href="a05373.html#a2">l</a>) +01267 { +01268 PrecomputedPos[<a class="code" href="a05373.html#a2">l</a>] = 0.5f * (PrecomputedPos[<a class="code" href="a05373.html#a2">l</a> - 1] + PrecomputedPos[<a class="code" href="a05373.html#a2">l</a> + 1]); +01269 } +01270 } +01271 +01272 +01273 <span class="comment">// compute the table of speeds, by using on a step of 1.s</span> +01274 <span class="keywordflow">for</span> (<a class="code" href="a05373.html#a2">l</a> = 1; <a class="code" href="a05373.html#a2">l</a> < (<a class="code" href="a05363.html#a244">BFNumPredefinedPos</a> - 1); ++<a class="code" href="a05373.html#a2">l</a>) +01275 { +01276 <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcet2">PrecomputedSpeed</a>[<a class="code" href="a05373.html#a2">l</a>] = 0.5f * (PrecomputedPos[<a class="code" href="a05373.html#a2">l</a> + 1] - PrecomputedPos[<a class="code" href="a05373.html#a2">l</a> - 1]); +01277 } +01278 <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcet2">PrecomputedSpeed</a>[<a class="code" href="a05363.html#a244">BFNumPredefinedPos</a> - 1] = <a class="code" href="a03128.html#NLMISC_1_1CVectors3">NLMISC::CVector::Null</a>; +01279 +01280 <span class="comment">// compute the table of impulsion</span> +01281 <span class="keywordflow">for</span> (k = 0; k < <a class="code" href="a05363.html#a246">BFNumPrecomputedImpulsions</a>; ++k) +01282 { +01283 <span class="keyword">static</span> <span class="keywordtype">double</span> divRand = (2.f / RAND_MAX); +01284 <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcet0">PrecomputedImpulsions</a>[k].<a class="code" href="a03128.html#NLMISC_1_1CVectorz2051_8">set</a>( (<span class="keywordtype">float</span>) (rand() * divRand - 1), +01285 (<span class="keywordtype">float</span>) (rand() * divRand - 1), +01286 (<span class="keywordtype">float</span>) (rand() * divRand - 1) +01287 ); +01288 } +01289 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForcea38" doxytag="NL3D::CPSBrownianForce::integrate" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSBrownianForce::integrate </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>date</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03214.html">CPSLocated</a> * </td> + <td class="mdname" nowrap> <em>src</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>startIndex</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>numObjects</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03128.html">NLMISC::CVector</a> * </td> + <td class="mdname" nowrap> <em>destPos</em> = NULL, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03128.html">NLMISC::CVector</a> * </td> + <td class="mdname" nowrap> <em>destSpeed</em> = NULL, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>accumulate</em> = false, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>posStride</em> = sizeof(<a class="el" href="a03128.html">NLMISC::CVector</a>), </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>speedStride</em> = sizeof(<a class="el" href="a03128.html">NLMISC::CVector</a>)</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +========================================================== +<p> +MASS DIFFERENT FROM 1 IS NOT SUPPORTED +<p> +Reimplemented from <a class="el" href="a02690.html#NL3D_1_1CPSTurbula39">NL3D::CPSForce</a>. +<p> +Definition at line <a class="el" href="a06239.html#l01050">1050</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +References <a class="el" href="a06240.html#l00624">_ParametricFactor</a>, <a class="el" href="a06239.html#l01023">NL3D::BFNumPredefinedPos</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a04816.html#a1">NEXT_POS</a>, <a class="el" href="a04816.html#a0">NEXT_SPEED</a>, <a class="el" href="a06239.html#l01030">PrecomputedPos</a>, <a class="el" href="a06239.html#l01031">PrecomputedSpeed</a>, <a class="el" href="a06682.html#l00136">NLMISC::CVector::set()</a>, <a class="el" href="a05646.html#l01124">src</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::z</a>. +<p> +<div class="fragment"><pre>01058 { +01060 <span class="keywordtype">float</span> deltaT; +01061 <span class="keywordflow">if</span> (!destPos && !destSpeed) <span class="keywordflow">return</span>; +01062 CPSLocated::TPSAttribParametricInfo::const_iterator it = <a class="code" href="a04223.html#a652">src</a>->_PInfo.begin() + startIndex, +01063 endIt = <a class="code" href="a04223.html#a652">src</a>->_PInfo.begin() + startIndex + numObjects; +01064 <span class="keywordtype">float</span> lookUpFactor = <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcep7">_ParametricFactor</a> * <a class="code" href="a05363.html#a244">BFNumPredefinedPos</a>; +01065 <span class="keywordtype">float</span> speedFactor = <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcep7">_ParametricFactor</a> * <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp4">_K</a>; +01066 <span class="keywordflow">if</span> (!accumulate) <span class="comment">// compute coords from initial condition, and applying this force</span> +01067 { +01068 <span class="keywordflow">if</span> (destPos && !destSpeed) <span class="comment">// fills dest pos only</span> +01069 { +01070 <span class="keywordflow">while</span> (it != endIt) +01071 { +01072 <span class="keywordtype">float</span> deltaT = date - it->Date; +01073 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a566">index</a> = (<a class="code" href="a04558.html#a15">uint</a>) (lookUpFactor * deltaT) & (<a class="code" href="a05363.html#a244">BFNumPredefinedPos</a> - 1); +01074 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectorz2051_8">set</a>(it->Pos.x + deltaT * it->Speed.x + _K * PrecomputedPos[index].x, +01075 it->Pos.y + deltaT * it->Speed.y + _K * PrecomputedPos[index].y, +01076 it->Pos.z + deltaT * it->Speed.z + _K * PrecomputedPos[index].z ); +01077 ++it; +01078 <a class="code" href="a04816.html#a1">NEXT_POS</a>; +01079 } +01080 } +01081 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!destPos && destSpeed) <span class="comment">// fills dest speed only</span> +01082 { +01083 <span class="keywordflow">while</span> (it != endIt) +01084 { +01085 deltaT = date - it->Date; +01086 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a566">index</a> = (<a class="code" href="a04558.html#a15">uint</a>) (lookUpFactor * deltaT) & (<a class="code" href="a05363.html#a244">BFNumPredefinedPos</a> - 1); +01087 destSpeed-><a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> = it->Speed.x + speedFactor * <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcet2">PrecomputedSpeed</a>[<a class="code" href="a04223.html#a566">index</a>].<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>; +01088 destSpeed-><a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> = it->Speed.y + speedFactor * PrecomputedSpeed[<a class="code" href="a04223.html#a566">index</a>].y; +01089 destSpeed-><a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> = it->Speed.z + speedFactor * PrecomputedSpeed[<a class="code" href="a04223.html#a566">index</a>].z; +01090 ++it; +01091 <a class="code" href="a04816.html#a0">NEXT_SPEED</a>; +01092 } +01093 } +01094 <span class="keywordflow">else</span> <span class="comment">// fills both speed and pos</span> +01095 { +01096 <span class="keywordflow">while</span> (it != endIt) +01097 { +01098 deltaT = date - it->Date; +01099 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a566">index</a> = (<a class="code" href="a04558.html#a15">uint</a>) (lookUpFactor * deltaT) & (<a class="code" href="a05363.html#a244">BFNumPredefinedPos</a> - 1); +01100 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> = it->Pos.x + deltaT * it->Speed.x + _K * <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcet1">PrecomputedPos</a>[<a class="code" href="a04223.html#a566">index</a>].<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>; +01101 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> = it->Pos.y + deltaT * it->Speed.y + _K * PrecomputedPos[<a class="code" href="a04223.html#a566">index</a>].y; +01102 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> = it->Pos.z + deltaT * it->Speed.z + _K * PrecomputedPos[<a class="code" href="a04223.html#a566">index</a>].z; +01103 +01104 destSpeed-><a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> = it->Speed.x + speedFactor * <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcet2">PrecomputedSpeed</a>[<a class="code" href="a04223.html#a566">index</a>].<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>; +01105 destSpeed-><a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> = it->Speed.y + speedFactor * PrecomputedSpeed[<a class="code" href="a04223.html#a566">index</a>].y; +01106 destSpeed-><a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> = it->Speed.z + speedFactor * PrecomputedSpeed[<a class="code" href="a04223.html#a566">index</a>].z; +01107 +01108 ++it; +01109 <a class="code" href="a04816.html#a1">NEXT_POS</a>; +01110 <a class="code" href="a04816.html#a0">NEXT_SPEED</a>; +01111 } +01112 } +01113 } +01114 <span class="keywordflow">else</span> <span class="comment">// accumulate datas</span> +01115 { +01116 <span class="keywordflow">if</span> (destPos && !destSpeed) <span class="comment">// fills dest pos only</span> +01117 { +01118 <span class="keywordflow">while</span> (it != endIt) +01119 { +01120 deltaT = date - it->Date; +01121 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a566">index</a> = (<a class="code" href="a04558.html#a15">uint</a>) (lookUpFactor * deltaT) & (<a class="code" href="a05363.html#a244">BFNumPredefinedPos</a> - 1); +01122 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectorz2051_8">set</a>(destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> + _K * PrecomputedPos[index].x, +01123 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> + _K * PrecomputedPos[index].y, +01124 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> + _K * PrecomputedPos[index].z); +01125 ++it; +01126 <a class="code" href="a04816.html#a1">NEXT_POS</a>; +01127 } +01128 } +01129 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!destPos && destSpeed) <span class="comment">// fills dest speed only</span> +01130 { +01131 <span class="keywordflow">while</span> (it != endIt) +01132 { +01133 deltaT = date - it->Date; +01134 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a566">index</a> = (<a class="code" href="a04558.html#a15">uint</a>) (lookUpFactor * deltaT) & (<a class="code" href="a05363.html#a244">BFNumPredefinedPos</a> - 1); +01135 destSpeed-><a class="code" href="a03128.html#NLMISC_1_1CVectorz2051_8">set</a>(destSpeed-><a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> + speedFactor * PrecomputedSpeed[index].x, +01136 destSpeed-><a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> + speedFactor * PrecomputedSpeed[index].y, +01137 destSpeed-><a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> + speedFactor * PrecomputedSpeed[index].z); +01138 ++it; +01139 <a class="code" href="a04816.html#a0">NEXT_SPEED</a>; +01140 } +01141 } +01142 <span class="keywordflow">else</span> <span class="comment">// fills both speed and pos</span> +01143 { +01144 <span class="keywordflow">while</span> (it != endIt) +01145 { +01146 deltaT = date - it->Date; +01147 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a566">index</a> = (<a class="code" href="a04558.html#a15">uint</a>) (lookUpFactor * deltaT) & (<a class="code" href="a05363.html#a244">BFNumPredefinedPos</a> - 1); +01148 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectorz2051_8">set</a>(destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> + _K * PrecomputedPos[index].x, +01149 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> + _K * PrecomputedPos[index].y, +01150 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> + _K * PrecomputedPos[index].z); +01151 destSpeed-><a class="code" href="a03128.html#NLMISC_1_1CVectorz2051_8">set</a>(destSpeed-><a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> + speedFactor * PrecomputedSpeed[index].x, +01152 destSpeed-><a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> + speedFactor * PrecomputedSpeed[index].y, +01153 destSpeed-><a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> + speedFactor * PrecomputedSpeed[index].z); +01154 ++it; +01155 <a class="code" href="a04816.html#a1">NEXT_POS</a>; +01156 <a class="code" href="a04816.html#a0">NEXT_SPEED</a>; +01157 } +01158 } +01159 } +01160 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForcea39" doxytag="NL3D::CPSBrownianForce::integrateSingle" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSBrownianForce::integrateSingle </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>startDate</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>deltaT</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>numStep</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03214.html">CPSLocated</a> * </td> + <td class="mdname" nowrap> <em>src</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>indexInLocated</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03128.html">NLMISC::CVector</a> * </td> + <td class="mdname" nowrap> <em>destPos</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>accumulate</em> = false, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>stride</em> = sizeof(<a class="el" href="a03128.html">NLMISC::CVector</a>)</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +========================================================== +<p> +fill start of datas (particle didn't exist at that time, so we fill by the start position) +<p> +Reimplemented from <a class="el" href="a02690.html#NL3D_1_1CPSTurbula40">NL3D::CPSForce</a>. +<p> +Definition at line <a class="el" href="a06239.html#l01164">1164</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +References <a class="el" href="a06240.html#l00624">_ParametricFactor</a>, <a class="el" href="a06239.html#l01023">NL3D::BFNumPredefinedPos</a>, <a class="el" href="a06239.html#l01024">NL3D::BFPredefinedNumInterp</a>, <a class="el" href="a06247.html#l00641">NL3D::CPSLocated::CParametricInfo::Date</a>, <a class="el" href="a06252.html#l00061">NL3D::FillBufUsingSubdiv()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06247.html#l00639">NL3D::CPSLocated::CParametricInfo::Pos</a>, <a class="el" href="a06239.html#l01030">PrecomputedPos</a>, <a class="el" href="a06252.html#l00041">NL3D::ScaleFloatGE()</a>, <a class="el" href="a06247.html#l00640">NL3D::CPSLocated::CParametricInfo::Speed</a>, <a class="el" href="a05646.html#l01124">src</a>, <a class="el" href="a05646.html#l00244">stride</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::z</a>. +<p> +<div class="fragment"><pre>01169 { +01170 <a class="code" href="a04199.html#a6">nlassert</a>(<a class="code" href="a04223.html#a652">src</a>->isParametricMotionEnabled()); +01171 <a class="code" href="a04199.html#a6">nlassert</a>(deltaT > 0); +01172 <a class="code" href="a04199.html#a6">nlassert</a>(numStep > 0); +01173 <span class="preprocessor"> #ifdef NL_DEBUG</span> +01174 <span class="preprocessor"></span> <a class="code" href="a03128.html">NLMISC::CVector</a> *endPos = (<a class="code" href="a03128.html">NLMISC::CVector</a> *) ( (<a class="code" href="a04558.html#a7">uint8</a> *) destPos + <a class="code" href="a04223.html#a582">stride</a> * numStep); +01175 <span class="preprocessor"> #endif</span> +01176 <span class="preprocessor"></span> <span class="keyword">const</span> CPSLocated::CParametricInfo &pi = <a class="code" href="a04223.html#a652">src</a>->_PInfo[indexInLocated]; +01177 <span class="keyword">const</span> <a class="code" href="a03128.html">NLMISC::CVector</a> &startPos = pi.Pos; +01178 <span class="keywordflow">if</span> (numStep != 0) +01179 { +01180 <span class="keywordtype">float</span> lookUpFactor = <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcep7">_ParametricFactor</a> * <a class="code" href="a05363.html#a245">BFPredefinedNumInterp</a>; +01181 <span class="keywordflow">if</span> (!accumulate) +01182 { +01184 destPos = <a class="code" href="a05363.html#a500">FillBufUsingSubdiv</a>(startPos, pi.Date, startDate, deltaT, numStep, destPos, stride); +01185 <span class="keywordflow">if</span> (numStep != 0) +01186 { +01187 <span class="keywordtype">float</span> currDate = startDate - pi.Date; +01188 <a class="code" href="a04199.html#a6">nlassert</a>(currDate >= 0); +01189 <span class="keyword">const</span> <a class="code" href="a03128.html">NLMISC::CVector</a> &startSpeed = pi.Speed; +01190 <span class="keywordflow">do</span> +01191 { +01192 <span class="preprocessor"> #ifdef NL_DEBUG</span> +01193 <span class="preprocessor"></span> <a class="code" href="a04199.html#a6">nlassert</a>(destPos < endPos); +01194 <span class="preprocessor"> #endif</span> +01195 <span class="preprocessor"></span> <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a566">index</a> = (<a class="code" href="a04558.html#a15">uint</a>) (lookUpFactor * currDate) & (<a class="code" href="a05363.html#a244">BFNumPredefinedPos</a> - 1); +01196 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> = startPos.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> + currDate * startSpeed.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> + <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp4">_K</a> * <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcet1">PrecomputedPos</a>[<a class="code" href="a04223.html#a566">index</a>].<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>; +01197 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> = startPos.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> + currDate * startSpeed.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> + <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp4">_K</a> * PrecomputedPos[<a class="code" href="a04223.html#a566">index</a>].y; +01198 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> = startPos.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> + currDate * startSpeed.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> + <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp4">_K</a> * PrecomputedPos[<a class="code" href="a04223.html#a566">index</a>].z; +01199 currDate += deltaT; +01200 destPos = (<a class="code" href="a03128.html">NLMISC::CVector</a> *) ( (<a class="code" href="a04558.html#a7">uint8</a> *) destPos + <a class="code" href="a04223.html#a582">stride</a>); +01201 } +01202 <span class="keywordflow">while</span> (--numStep); +01203 } +01204 } +01205 <span class="keywordflow">else</span> +01206 { +01207 <a class="code" href="a04558.html#a15">uint</a> numToSkip = <a class="code" href="a05363.html#a499">ScaleFloatGE</a>(startDate, deltaT, pi.Date, numStep); +01208 <span class="keywordflow">if</span> (numToSkip < numStep) +01209 { +01210 numStep -= numToSkip; +01211 <span class="keywordtype">float</span> currDate = startDate + deltaT * numToSkip - pi.Date; +01212 <span class="keywordflow">do</span> +01213 { +01214 <span class="preprocessor"> #ifdef NL_DEBUG</span> +01215 <span class="preprocessor"></span> <a class="code" href="a04199.html#a6">nlassert</a>(destPos < endPos); +01216 <span class="preprocessor"> #endif</span> +01217 <span class="preprocessor"></span> <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a566">index</a> = (<a class="code" href="a04558.html#a15">uint</a>) (lookUpFactor * currDate) & (<a class="code" href="a05363.html#a244">BFNumPredefinedPos</a> - 1); +01218 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> += <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp4">_K</a> * <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcet1">PrecomputedPos</a>[<a class="code" href="a04223.html#a566">index</a>].<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>; +01219 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> += <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp4">_K</a> * PrecomputedPos[<a class="code" href="a04223.html#a566">index</a>].y; +01220 destPos-><a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> += <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp4">_K</a> * PrecomputedPos[<a class="code" href="a04223.html#a566">index</a>].z; +01221 currDate += deltaT; +01222 destPos = (<a class="code" href="a03128.html">NLMISC::CVector</a> *) ( (<a class="code" href="a04558.html#a7">uint8</a> *) destPos + <a class="code" href="a04223.html#a582">stride</a>); +01223 } +01224 <span class="keywordflow">while</span> (--numStep); +01225 } +01226 } +01227 } +01228 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea40" doxytag="NL3D::CPSBrownianForce::isActive" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSLocatedBindable::isActive </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00844">844</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06247.html#l01033">NL3D::CPSLocatedBindable::_Active</a>. +<p> +Referenced by <a class="el" href="a06142.html#l01738">NL3D::CParticleSystem::hasActiveEmitters()</a>. +<p> +<div class="fragment"><pre>00844 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep0">_Active</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbula42" doxytag="NL3D::CPSBrownianForce::isIntegrable" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CPSForce::isIntegrable </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +check wether this force is integrable over time. The default is false +<p> + +<p> +Reimplemented in <a class="el" href="a03205.html#NL3D_1_1CPSGravitya40">NL3D::CPSGravity</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00085">85</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +Referenced by <a class="el" href="a06239.html#l00094">NL3D::CPSForce::attachTarget()</a>, <a class="el" href="a06239.html#l00123">NL3D::CPSForce::basisChanged()</a>, <a class="el" href="a06239.html#l00062">NL3D::CPSForce::registerToTargets()</a>, and <a class="el" href="a06239.html#l00109">NL3D::CPSForce::releaseTargetRsc()</a>. +<p> +<div class="fragment"><pre>00085 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea41" doxytag="NL3D::CPSBrownianForce::motionTypeChanged" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSLocatedBindable::motionTypeChanged </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>parametric</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +called when a located has switch between incrmental / parametric motion. The default does nothing +<p> + +<p> +Reimplemented in <a class="el" href="a03227.html#NL3D_1_1CPSTailDotb11">NL3D::CPSRibbonBase</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00971">971</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +Referenced by <a class="el" href="a06246.html#l00751">NL3D::CPSLocated::bind()</a>. +<p> +<div class="fragment"><pre>00971 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForceb7" doxytag="NL3D::CPSBrownianForce::newElement" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSBrownianForce::newElement </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03214.html">CPSLocated</a> * </td> + <td class="mdname" nowrap> <em>emitterLocated</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>emitterIndex</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Generate a new element for this bindable. They are generated according to the propertie of the class +<p> +Reimplemented from <a class="el" href="a03149.html#NL3D_1_1CPSSpringb7">NL3D::CPSForceIntensityHelper</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00620">620</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a06240.html#l00199">NL3D::CPSForceIntensity::newForceIntensityElement()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00620 { <a class="code" href="a03148.html#NL3D_1_1CPSTurbulb8">newForceIntensityElement</a>(emitterLocated, emitterIndex); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbulb8" doxytag="NL3D::CPSBrownianForce::newForceIntensityElement" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSForceIntensity::newForceIntensityElement </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03214.html">CPSLocated</a> * </td> + <td class="mdname" nowrap> <em>emitterLocated</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>emitterIndex</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06240.html#l00199">199</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a06240.html#l00197">NL3D::CPSForceIntensity::_IntensityScheme</a>, <a class="el" href="a06214.html#l00282">NL3D::CPSAttribMaker< float >::hasMemory()</a>, <a class="el" href="a06214.html#l00290">NL3D::CPSAttribMaker< float >::newElement()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06240.html#l00716">NL3D::CPSTurbul::newElement()</a>, <a class="el" href="a06240.html#l00620">newElement()</a>, <a class="el" href="a06240.html#l00566">NL3D::CPSFluidFriction::newElement()</a>, and <a class="el" href="a06240.html#l00225">NL3D::CPSForceIntensityHelper::newElement()</a>. +<p> +<div class="fragment"><pre>00200 { +00201 <span class="keywordflow">if</span> (<a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a> && <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>->hasMemory()) <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>->newElement(emitterLocated, emitterIndex); +00202 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSphereb5" doxytag="NL3D::CPSBrownianForce::notifyTargetRemoved" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSTargetLocatedBindable::notifyTargetRemoved </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03214.html">CPSLocated</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>ptr</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> +Inherited from <a class="el" href="a02691.html">CPSLocatedBindable</a>. A target has been remove If not present -> assert This also call releaseTargetRsc for clean up +<p> +Reimplemented from <a class="el" href="a02691.html#NL3D_1_1CPSTailDota46">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06246.html#l02223">2223</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06247.html#l01123">NL3D::CPSTargetLocatedBindable::_Targets</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a06247.html#l01110">NL3D::CPSTargetLocatedBindable::releaseTargetRsc()</a>. +<p> +Referenced by <a class="el" href="a06247.html#l01076">NL3D::CPSTargetLocatedBindable::detachTarget()</a>. +<p> +<div class="fragment"><pre>02224 { +02225 TTargetCont::iterator it = std::find(<a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.begin(), <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.end(), ptr); +02226 <a class="code" href="a04199.html#a6">nlassert</a>(it != <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.end()); +02227 <a class="code" href="a02690.html#NL3D_1_1CPSTurbula48">releaseTargetRsc</a>(*it); +02228 <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.erase(it); +02229 +02230 CPSLocatedBindable::notifyTargetRemoved(ptr); +02231 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForcea43" doxytag="NL3D::CPSBrownianForce::performDynamic" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSBrownianForce::performDynamic </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a05363.html#a366">TAnimationTime</a> </td> + <td class="mdname1" valign="top" nowrap> <em>ellapsedTime</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +========================================================== +<p> +start at a random position in the precomp impulsion tab +<p> +Implements <a class="el" href="a02690.html#NL3D_1_1CPSForceIntensityHelpera41">NL3D::CPSForce</a>. +<p> +Definition at line <a class="el" href="a06239.html#l01317">1317</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +References <a class="el" href="a06239.html#l01028">NL3D::BFNumPrecomputedImpulsions</a>, <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz714_1">NL3D::CPSAttribMaker< float >::get()</a>, <a class="el" href="a06247.html#l00361">NL3D::CPSLocated::getSize()</a>, <a class="el" href="a05484.html#l00038">min</a>, <a class="el" href="a06239.html#l01032">PrecomputedImpulsions</a>, <a class="el" href="a05646.html#l00645">size</a>, <a class="el" href="a05454.html#l00044">NL3D::TAnimationTime</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>. +<p> +<div class="fragment"><pre>01318 { +01319 <span class="comment">// perform the operation on each target </span> +01320 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a11">uint32</a> k = 0; k < <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getSize(); ++k) +01321 { +01322 <span class="keywordtype">float</span> intensity = <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a> ? <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>->get(_Owner, k) : <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp4">_K</a>; +01323 <span class="keywordflow">for</span> (TTargetCont::iterator it = <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.begin(); it != <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.end(); ++it) +01324 { +01325 <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a587">size</a> = (*it)->getSize(); +01326 +01327 <span class="keywordflow">if</span> (!<a class="code" href="a04223.html#a587">size</a>) <span class="keywordflow">continue</span>; +01328 +01329 TPSAttribVector::iterator it2 = (*it)->getSpeed().begin(), it2End; +01331 <a class="code" href="a04558.html#a15">uint</a> startPos = (<a class="code" href="a04558.html#a15">uint</a>) ::rand() % <a class="code" href="a05363.html#a246">BFNumPrecomputedImpulsions</a>; +01332 <a class="code" href="a03128.html">NLMISC::CVector</a> *imp = <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcet0">PrecomputedImpulsions</a> + startPos; +01333 +01334 <span class="keywordflow">if</span> ((*it)->getMassScheme()) +01335 { +01336 <span class="keywordtype">float</span> intensityXtime = intensity * ellapsedTime; +01337 TPSAttribFloat::const_iterator invMassIt = (*it)->getInvMass().begin(); +01338 <span class="keywordflow">do</span> +01339 { +01340 <a class="code" href="a04558.html#a15">uint</a> toProcess = <a class="code" href="a04061.html#a0">std::min</a>((<a class="code" href="a04558.html#a15">uint</a>) (BFNumPrecomputedImpulsions - startPos), (<a class="code" href="a04558.html#a15">uint</a>) size); +01341 it2End = it2 + toProcess; +01342 <span class="keywordflow">do</span> +01343 { +01344 <span class="keywordtype">float</span> factor = intensityXtime * *invMassIt; +01345 it2->set(it2->x + factor * imp-><a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>, +01346 it2->y + factor * imp-><a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>, +01347 it2->z + factor * imp-><a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>); +01348 ++invMassIt; +01349 ++imp; +01350 ++it2; +01351 } +01352 <span class="keywordflow">while</span> (it2 != it2End); +01353 startPos = 0; +01354 imp = <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcet0">PrecomputedImpulsions</a>; +01355 <a class="code" href="a04223.html#a587">size</a> -= toProcess; +01356 } +01357 <span class="keywordflow">while</span> (<a class="code" href="a04223.html#a587">size</a> != 0); +01358 } +01359 <span class="keywordflow">else</span> +01360 { +01361 <span class="keywordflow">do</span> +01362 { +01363 <a class="code" href="a04558.html#a15">uint</a> toProcess = <a class="code" href="a04061.html#a0">std::min</a>((<a class="code" href="a04558.html#a15">uint</a>) (BFNumPrecomputedImpulsions - startPos) , (<a class="code" href="a04558.html#a15">uint</a>) size); +01364 it2End = it2 + toProcess; +01365 <span class="keywordtype">float</span> factor = intensity * ellapsedTime / (*it)->getInitialMass(); +01366 <span class="keywordflow">do</span> +01367 { +01368 it2->set(it2->x + factor * imp-><a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>, +01369 it2->y + factor * imp-><a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>, +01370 it2->z + factor * imp-><a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>); +01371 ++imp; +01372 ++it2; +01373 } +01374 <span class="keywordflow">while</span> (it2 != it2End); +01375 startPos = 0; +01376 imp = <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcet0">PrecomputedImpulsions</a>; +01377 <a class="code" href="a04223.html#a587">size</a> -= toProcess; +01378 } +01379 <span class="keywordflow">while</span> (<a class="code" href="a04223.html#a587">size</a> != 0); +01380 } +01381 } +01382 } +01383 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbulb10" doxytag="NL3D::CPSBrownianForce::registerToTargets" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSForce::registerToTargets </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +register integrable and non-integrable forces to the targets +<p> + +<p> +Definition at line <a class="el" href="a06239.html#l00062">62</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +References <a class="el" href="a06240.html#l00085">NL3D::CPSForce::isIntegrable()</a>. +<p> +Referenced by <a class="el" href="a06240.html#l00695">NL3D::CPSTurbul::NLMISC_DECLARE_CLASS()</a>, and <a class="el" href="a06240.html#l00549">NL3D::CPSFluidFriction::NLMISC_DECLARE_CLASS()</a>. +<p> +<div class="fragment"><pre>00063 { +00064 <span class="keywordflow">for</span> (TTargetCont::iterator it = <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.begin(); it != <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.end(); ++it) +00065 { +00066 <span class="keywordflow">if</span> (this-><a class="code" href="a02690.html#NL3D_1_1CPSTurbula42">isIntegrable</a>()) +00067 { +00068 (*it)->registerIntegrableForce(<span class="keyword">this</span>); +00069 } +00070 <span class="keywordflow">else</span> +00071 { +00072 (*it)->addNonIntegrableForceRef(); +00073 } +00074 } +00075 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea45" doxytag="NL3D::CPSBrownianForce::releaseAllRef" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSTargetLocatedBindable::releaseAllRef </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> +From <a class="el" href="a02691.html">CPSLocatedBindable</a> Release any reference this obj may have to other process of the system For example, this is used when detaching a located bindable from a system. +<p> +Reimplemented from <a class="el" href="a02691.html#NL3D_1_1CPSTailDota47">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06246.html#l02272">2272</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06247.html#l01123">NL3D::CPSTargetLocatedBindable::_Targets</a>, and <a class="el" href="a06247.html#l01110">NL3D::CPSTargetLocatedBindable::releaseTargetRsc()</a>. +<p> +<div class="fragment"><pre>02273 { +02274 <span class="keywordflow">for</span> (TTargetCont::iterator it = <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.begin(); it != <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.end(); ++it) +02275 { +02276 <a class="code" href="a02690.html#NL3D_1_1CPSTurbula48">releaseTargetRsc</a>(*it); +02277 (*it)->unregisterDtorObserver(<span class="keyword">this</span>); +02278 } +02279 <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.clear(); +02280 CPSLocatedBindable::releaseAllRef(); +02281 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea46" doxytag="NL3D::CPSBrownianForce::releaseRefTo" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSTargetLocatedBindable::releaseRefTo </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03054.html">CParticleSystemProcess</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>other</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> +From <a class="el" href="a02691.html">CPSLocatedBindable</a>. Release any reference this obj may have on the given process. For example, this is used when detaching a located of a system. +<p> +Reimplemented from <a class="el" href="a02691.html#NL3D_1_1CPSTailDota48">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06246.html#l02261">2261</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06247.html#l01123">NL3D::CPSTargetLocatedBindable::_Targets</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a06247.html#l01110">NL3D::CPSTargetLocatedBindable::releaseTargetRsc()</a>. +<p> +<div class="fragment"><pre>02262 { +02263 TTargetCont::iterator it = std::find(<a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.begin(), <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.end(), other); +02264 <span class="keywordflow">if</span> (it == <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.end()) <span class="keywordflow">return</span>; +02265 <a class="code" href="a02690.html#NL3D_1_1CPSTurbula48">releaseTargetRsc</a>(*it); +02266 (*it)->unregisterDtorObserver(<span class="keyword">this</span>); +02267 <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.erase(it); +02268 <a class="code" href="a04199.html#a6">nlassert</a>(std::find(<a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.begin(), <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.end(), other) == <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.end()); +02269 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbula48" doxytag="NL3D::CPSBrownianForce::releaseTargetRsc" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSForce::releaseTargetRsc </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03214.html">CPSLocated</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>target</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +inherited from CPSLocatedBindableTarget +<p> + +<p> +Reimplemented from <a class="el" href="a02689.html#NL3D_1_1CPSTargetLocatedBindablea38">NL3D::CPSTargetLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06239.html#l00109">109</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +References <a class="el" href="a06240.html#l00085">NL3D::CPSForce::isIntegrable()</a>, <a class="el" href="a06246.html#l01875">NL3D::CPSLocated::releaseNonIntegrableForceRef()</a>, and <a class="el" href="a06246.html#l01851">NL3D::CPSLocated::unregisterIntegrableForce()</a>. +<p> +<div class="fragment"><pre>00110 { +00111 <span class="keywordflow">if</span> (this-><a class="code" href="a02690.html#NL3D_1_1CPSTurbula42">isIntegrable</a>()) +00112 { +00113 target->unregisterIntegrableForce(<span class="keyword">this</span>); +00114 } +00115 <span class="keywordflow">else</span> +00116 { +00117 target->releaseNonIntegrableForceRef(); +00118 } +00119 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbulb11" doxytag="NL3D::CPSBrownianForce::renewIntegrable" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSForce::renewIntegrable </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +if this force has become integrable again, this method tells it to the target +<p> + +<p> +Definition at line <a class="el" href="a06239.html#l00147">147</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +References <a class="el" href="a06151.html#l00143">NL3D::CParticleSystemProcess::getMatrixMode()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06239.html#l01292">setIntensity()</a>, and <a class="el" href="a06239.html#l00655">NL3D::CPSGravity::setIntensity()</a>. +<p> +<div class="fragment"><pre>00148 { +00149 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +00150 <span class="keywordflow">for</span> (TTargetCont::iterator it = <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.begin(); it != <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherep8">_Targets</a>.end(); ++it) +00151 { +00152 <span class="keywordflow">if</span> ((*it)->getMatrixMode() == <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getMatrixMode()) +00153 { +00154 (*it)->registerIntegrableForce(<span class="keyword">this</span>); +00155 (*it)->releaseNonIntegrableForceRef(); +00156 } +00157 } +00158 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForceb12" doxytag="NL3D::CPSBrownianForce::resize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSBrownianForce::resize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>size</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Resize the bindable attributes containers DERIVERS SHOULD CALL THEIR PARENT VERSION should not be called directly. Call CPSLOcated::resize instead +<p> +Reimplemented from <a class="el" href="a03149.html#NL3D_1_1CPSSpringb12">NL3D::CPSForceIntensityHelper</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00622">622</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a06240.html#l00207">NL3D::CPSForceIntensity::resizeForceIntensity()</a>, <a class="el" href="a05646.html#l00645">size</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00622 { <a class="code" href="a03148.html#NL3D_1_1CPSTurbulb13">resizeForceIntensity</a>(size); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbulb13" doxytag="NL3D::CPSBrownianForce::resizeForceIntensity" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSForceIntensity::resizeForceIntensity </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>size</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06240.html#l00207">207</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a06240.html#l00197">NL3D::CPSForceIntensity::_IntensityScheme</a>, <a class="el" href="a03148.html#NL3D_1_1CPSForceIntensityb1">NL3D::CPSForceIntensity::getForceIntensityOwner()</a>, <a class="el" href="a06214.html#l00282">NL3D::CPSAttribMaker< float >::hasMemory()</a>, <a class="el" href="a06214.html#l00296">NL3D::CPSAttribMaker< float >::resize()</a>, <a class="el" href="a05646.html#l00645">size</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06240.html#l00718">NL3D::CPSTurbul::resize()</a>, <a class="el" href="a06240.html#l00622">resize()</a>, <a class="el" href="a06240.html#l00568">NL3D::CPSFluidFriction::resize()</a>, and <a class="el" href="a06240.html#l00227">NL3D::CPSForceIntensityHelper::resize()</a>. +<p> +<div class="fragment"><pre>00208 { +00209 <span class="keywordflow">if</span> (<a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a> && <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>->hasMemory()) <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>->resize(size, <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForceb6">getForceIntensityOwner</a>()->getSize()); +00210 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSForceIntensityHelpera45" doxytag="NL3D::CPSBrownianForce::serial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSForceIntensityHelper::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serial the force definition. MUST be called by deriver during their serialisation. +<p> + +<p> +Reimplemented from <a class="el" href="a02690.html#NL3D_1_1CPSForcea43">NL3D::CPSForce</a>. +<p> +Reimplemented in <a class="el" href="a03176.html#NL3D_1_1CPSDirectionnalForcea47">NL3D::CPSDirectionnalForce</a>, <a class="el" href="a03205.html#NL3D_1_1CPSGravitya47">NL3D::CPSGravity</a>, <a class="el" href="a03150.html#NL3D_1_1CPSCentralGravitya47">NL3D::CPSCentralGravity</a>, <a class="el" href="a03239.html#NL3D_1_1CPSSpringa47">NL3D::CPSSpring</a>, <a class="el" href="a03173.html#NL3D_1_1CPSCylindricVortexa53">NL3D::CPSCylindricVortex</a>, and <a class="el" href="a03217.html#NL3D_1_1CPSMagneticForcea48">NL3D::CPSMagneticForce</a>. +<p> +Definition at line <a class="el" href="a06239.html#l00229">229</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +<div class="fragment"><pre>00230 { +00231 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(1); +00232 CPSForce::serial(f); +00233 <a class="code" href="a03148.html#NL3D_1_1CPSTurbula50">serialForceIntensity</a>(f); +00234 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00235 { +00236 <a class="code" href="a02690.html#NL3D_1_1CPSTurbulb10">registerToTargets</a>(); +00237 } +00238 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbula50" doxytag="NL3D::CPSBrownianForce::serialForceIntensity" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSForceIntensity::serialForceIntensity </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06239.html#l00190">190</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +Referenced by <a class="el" href="a06240.html#l00695">NL3D::CPSTurbul::NLMISC_DECLARE_CLASS()</a>, and <a class="el" href="a06240.html#l00549">NL3D::CPSFluidFriction::NLMISC_DECLARE_CLASS()</a>. +<p> +<div class="fragment"><pre>00191 { +00192 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(1); +00193 <span class="keywordflow">if</span> (!f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00194 { +00195 <span class="keywordflow">if</span> (<a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>) +00196 { +00197 <span class="keywordtype">bool</span> bFalse = <span class="keyword">false</span>; +00198 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(bFalse); +00199 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(_IntensityScheme); +00200 } +00201 <span class="keywordflow">else</span> +00202 { +00203 <span class="keywordtype">bool</span> bTrue = <span class="keyword">true</span>; +00204 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(bTrue); +00205 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_K); +00206 } +00207 } +00208 <span class="keywordflow">else</span> +00209 { +00210 <span class="keywordtype">bool</span> constantIntensity; +00211 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(constantIntensity); +00212 <span class="keywordflow">if</span> (constantIntensity) +00213 { +00214 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_K); +00215 } +00216 <span class="keywordflow">else</span> +00217 { +00218 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(_IntensityScheme); +00219 } +00220 } +00221 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea49" doxytag="NL3D::CPSBrownianForce::setActive" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::setActive </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>active</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Activate / Deactivate this object. When not active, the owning system won't try to call the 'step' method. +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00843">843</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06247.html#l01033">NL3D::CPSLocatedBindable::_Active</a>. +<p> +Referenced by <a class="el" href="a06142.html#l01718">NL3D::CParticleSystem::activateEmitters()</a>, and <a class="el" href="a06144.html#l00320">NL3D::CParticleSystemInstanceUser::setActive()</a>. +<p> +<div class="fragment"><pre>00843 { <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep0">_Active</a> = active; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea52" doxytag="NL3D::CPSBrownianForce::setExternID" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::setExternID </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>id</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> +set the extern ID of this located bindable. 0 means no extern access. The map of ID-locatedBindable. Is in th particle system, so this located bindable must have been attached to a particle system, otherwise an assertion is raised +<p> +Definition at line <a class="el" href="a06246.html#l02149">2149</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06247.html#l01027">NL3D::CPSLocatedBindable::_ExternID</a>, <a class="el" href="a06151.html#l00111">NL3D::CParticleSystemProcess::getOwner()</a>, <a class="el" href="a06142.html#l01081">NL3D::CParticleSystem::registerLocatedBindableExternID()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a06142.html#l01096">NL3D::CParticleSystem::unregisterLocatedBindableExternID()</a>. +<p> +<div class="fragment"><pre>02150 { +02151 <span class="keywordflow">if</span> (<span class="keywordtype">id</span> == <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep3">_ExternID</a>) <span class="keywordflow">return</span>; +02152 CParticleSystem *ps = NULL; +02153 <span class="keywordflow">if</span> (<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a> && <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()) +02154 { +02155 ps = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner(); +02156 } +02157 <span class="keywordflow">if</span> (ps) +02158 { +02159 ps->unregisterLocatedBindableExternID(<span class="keyword">this</span>); +02160 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep3">_ExternID</a> = 0; +02161 } +02162 <span class="keywordflow">if</span> (<span class="keywordtype">id</span> != 0) +02163 { +02164 <span class="keywordflow">if</span> (ps) ps->registerLocatedBindableExternID(<span class="keywordtype">id</span>, <span class="keyword">this</span>); +02165 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep3">_ExternID</a> = <span class="keywordtype">id</span>; +02166 } +02167 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForcea51" doxytag="NL3D::CPSBrownianForce::setIntensity" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSBrownianForce::setIntensity </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>value</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +========================================================== +<p> + +<p> +Reimplemented from <a class="el" href="a03148.html#NL3D_1_1CPSTurbula53">NL3D::CPSForceIntensity</a>. +<p> +Definition at line <a class="el" href="a06239.html#l01292">1292</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +References <a class="el" href="a06239.html#l00147">NL3D::CPSForce::renewIntegrable()</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +Referenced by <a class="el" href="a06239.html#l01035">CPSBrownianForce()</a>. +<p> +<div class="fragment"><pre>01293 { +01294 <span class="keywordflow">if</span> (<a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>) +01295 { +01296 CPSForceIntensity::setIntensity(value); +01297 <a class="code" href="a02690.html#NL3D_1_1CPSTurbulb11">renewIntegrable</a>(); <span class="comment">// integrable again</span> +01298 } +01299 <span class="keywordflow">else</span> +01300 { +01301 CPSForceIntensity::setIntensity(value); +01302 } +01303 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForcea52" doxytag="NL3D::CPSBrownianForce::setIntensityScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSBrownianForce::setIntensityScheme </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td> + <td class="mdname1" valign="top" nowrap> <em>scheme</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +========================================================== +<p> + +<p> +Reimplemented from <a class="el" href="a03148.html#NL3D_1_1CPSTurbula54">NL3D::CPSForceIntensity</a>. +<p> +Definition at line <a class="el" href="a06239.html#l01307">1307</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +References <a class="el" href="a06239.html#l00133">NL3D::CPSForce::cancelIntegrable()</a>. +<p> +<div class="fragment"><pre>01308 { +01309 <span class="keywordflow">if</span> (!<a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>) +01310 { +01311 <a class="code" href="a02690.html#NL3D_1_1CPSTurbulb2">cancelIntegrable</a>(); <span class="comment">// not integrable anymore</span> +01312 } +01313 CPSForceIntensity::setIntensityScheme(scheme); +01314 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea53" doxytag="NL3D::CPSBrownianForce::setLOD" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::setLOD </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a05363.html#a558">TPSLod</a> </td> + <td class="mdname1" valign="top" nowrap> <em>lod</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the LODs that apply to that object (warning : it is based on the position of the system, and don't act on a per instance basis ...) To have per instance precision, you must use an attribute maker that has LOD as its input +<p> +Definition at line <a class="el" href="a06247.html#l00952">952</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06247.html#l01029">NL3D::CPSLocatedBindable::_LOD</a>. +<p> +<div class="fragment"><pre>00952 { <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep4">_LOD</a> = lod; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea55" doxytag="NL3D::CPSBrownianForce::setName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::setName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the located bindable name (edition purpose) +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00946">946</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00946 { <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep5">_Name</a> = name; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSphereb7" doxytag="NL3D::CPSBrownianForce::setOwner" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::setOwner </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03214.html">CPSLocated</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>psl</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> + +<p> +Reimplemented in <a class="el" href="a03179.html#NL3D_1_1CPSSphericalEmittera76">NL3D::CPSEmitter</a>. +<p> +Definition at line <a class="el" href="a06246.html#l01948">1948</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06142.html#l01894">NL3D::CParticleSystem::addRefForUserSysCoordInfo()</a>, <a class="el" href="a02691.html#NL3D_1_1CPSZoneb1">NL3D::CPSLocatedBindable::deleteElement()</a>, <a class="el" href="a06151.html#l00111">NL3D::CParticleSystemProcess::getOwner()</a>, <a class="el" href="a06247.html#l00361">NL3D::CPSLocated::getSize()</a>, <a class="el" href="a06247.html#l00974">NL3D::CPSLocatedBindable::getUserMatrixUsageCount()</a>, <a class="el" href="a06246.html#l02170">NL3D::CPSLocatedBindable::releaseAllRef()</a>, <a class="el" href="a06142.html#l01907">NL3D::CParticleSystem::releaseRefForUserSysCoordInfo()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06246.html#l00751">NL3D::CPSLocated::bind()</a>, and <a class="el" href="a06246.html#l01902">NL3D::CPSLocated::unbind()</a>. +<p> +<div class="fragment"><pre>01949 { +01950 <span class="keywordflow">if</span> (psl == <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>) <span class="keywordflow">return</span>; +01951 <span class="keywordflow">if</span> (psl == NULL) +01952 { +01953 <a class="code" href="a02689.html#NL3D_1_1CPSZoneSpherea45">releaseAllRef</a>(); +01954 <span class="keywordflow">if</span> (<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>) +01955 { +01956 <span class="comment">// empty this located bindable. Need to be empty if it must be rebound to another located.</span> +01957 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getSize(); ++k) +01958 { +01959 <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForceb3">deleteElement</a>(0); +01960 } +01961 } +01962 } +01963 <span class="keywordflow">if</span> (<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a> && <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()) +01964 { +01965 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()->releaseRefForUserSysCoordInfo(<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea36">getUserMatrixUsageCount</a>()); +01966 } +01967 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a> = psl; +01968 <span class="keywordflow">if</span> (<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a> && <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()) +01969 { +01970 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()->addRefForUserSysCoordInfo(<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea36">getUserMatrixUsageCount</a>()); +01971 } +01972 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForcea55" doxytag="NL3D::CPSBrownianForce::setParametricFactor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSBrownianForce::setParametricFactor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>factor</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +When used with parametric integration, this tells factor tells how fast the force acts on particle (how fast it go through the lookup table in fact) +<p> +Definition at line <a class="el" href="a06240.html#l00615">615</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a06240.html#l00624">_ParametricFactor</a>. +<p> +<div class="fragment"><pre>00615 { <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcep7">_ParametricFactor</a> = factor; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea59" doxytag="NL3D::CPSBrownianForce::setupDriverModelMatrix" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::setupDriverModelMatrix </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +shortcut to setup the model matrix (system basis or world basis) +<p> + +<p> +Definition at line <a class="el" href="a06246.html#l02142">2142</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a06246.html#l01775">NL3D::CPSLocated::setupDriverModelMatrix()</a>. +<p> +Referenced by <a class="el" href="a06246.html#l02038">NL3D::CPSLocatedBindable::displayIcon2d()</a>, <a class="el" href="a06283.html#l00242">NL3D::CPSTailDot::displayRibbons()</a>, <a class="el" href="a06277.html#l00319">NL3D::CPSRibbonLookAt::displayRibbons()</a>, <a class="el" href="a06273.html#l00471">NL3D::CPSRibbon::displayRibbons()</a>, <a class="el" href="a06226.html#l00122">NL3D::CPSDot::draw()</a>, <a class="el" href="a06231.html#l00055">NL3D::CPSFaceHelper::drawFaces()</a>, <a class="el" href="a06235.html#l00072">NL3D::CPSFanLightHelper::drawFanLight()</a>, <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>, <a class="el" href="a06250.html#l00521">NL3D::CPSConstraintMeshHelper::drawMeshs()</a>, <a class="el" href="a06250.html#l00793">NL3D::CPSConstraintMeshHelper::drawPrerotatedMeshs()</a>, <a class="el" href="a06287.html#l01375">NL3D::CPSZoneRectangle::show()</a>, <a class="el" href="a06287.html#l01160">NL3D::CPSZoneCylinder::show()</a>, <a class="el" href="a06287.html#l00625">NL3D::CPSZoneDisc::show()</a>, <a class="el" href="a06287.html#l00448">NL3D::CPSZoneSphere::show()</a>, <a class="el" href="a06287.html#l00140">NL3D::CPSZonePlane::show()</a>, <a class="el" href="a06239.html#l00900">NL3D::CPSCylindricVortex::show()</a>, <a class="el" href="a06239.html#l00295">NL3D::CPSDirectionnalForce::show()</a>, <a class="el" href="a06229.html#l02491">NL3D::CPSSphericalEmitter::showTool()</a>, <a class="el" href="a06229.html#l02391">NL3D::CPSEmitterRectangle::showTool()</a>, and <a class="el" href="a06229.html#l00447">NL3D::CPSEmitter::showTool()</a>. +<p> +<div class="fragment"><pre>02143 { +02144 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +02145 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->setupDriverModelMatrix(); +02146 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSpringa56" doxytag="NL3D::CPSBrownianForce::setupFunctor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSForceIntensity::setupFunctor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>indexInLocated</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a03203.html#NL3D_1_1CPSFluidFrictiona56">NL3D::CPSFluidFriction</a>, and <a class="el" href="a03243.html#NL3D_1_1CPSTurbula60">NL3D::CPSTurbul</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00182">182</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00182 { } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea60" doxytag="NL3D::CPSBrownianForce::setZBias" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSLocatedBindable::setZBias </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>value</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a03177.html#NL3D_1_1CPSDota61">NL3D::CPSDot</a>, <a class="el" href="a03194.html#NL3D_1_1CPSFanLighta82">NL3D::CPSFanLight</a>, <a class="el" href="a03218.html#NL3D_1_1CPSMesha69">NL3D::CPSMesh</a>, <a class="el" href="a03161.html#NL3D_1_1CPSConstraintMesha88">NL3D::CPSConstraintMesh</a>, <a class="el" href="a03162.html#NL3D_1_1CPSRibbonBasea51">NL3D::CPSParticle</a>, <a class="el" href="a03187.html#NL3D_1_1CPSQuada104">NL3D::CPSQuad</a>, <a class="el" href="a03226.html#NL3D_1_1CPSRibbona75">NL3D::CPSRibbon</a>, <a class="el" href="a03230.html#NL3D_1_1CPSRibbonLookAta66">NL3D::CPSRibbonLookAt</a>, <a class="el" href="a03233.html#NL3D_1_1CPSShockWavea98">NL3D::CPSShockWave</a>, and <a class="el" href="a03240.html#NL3D_1_1CPSTailDota60">NL3D::CPSTailDot</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00980">980</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>00980 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForcea59" doxytag="NL3D::CPSBrownianForce::show" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSBrownianForce::show </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a05363.html#a366">TAnimationTime</a> </td> + <td class="mdname1" valign="top" nowrap> <em>ellapsedTime</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Show the force (edition mode). +<p> + +<p> +Implements <a class="el" href="a02690.html#NL3D_1_1CPSForceIntensityHelpera56">NL3D::CPSForce</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00609">609</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a05454.html#l00044">NL3D::TAnimationTime</a>. +<p> +<div class="fragment"><pre>00609 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbula63" doxytag="NL3D::CPSBrownianForce::step" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSForce::step </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a05363.html#a556">TPSProcessPass</a> </td> + <td class="mdname" nowrap> <em>pass</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a05363.html#a366">TAnimationTime</a> </td> + <td class="mdname" nowrap> <em>ellapsedTime</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a05363.html#a366">TAnimationTime</a> </td> + <td class="mdname" nowrap> <em>realEllapsedTime</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +process one pass for the force +<p> +Implements <a class="el" href="a02691.html#NL3D_1_1CPSTargetLocatedBindablea46">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06239.html#l00078">78</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +References <a class="el" href="a02690.html#NL3D_1_1CPSForceIntensityHelpera41">NL3D::CPSForce::performDynamic()</a>, <a class="el" href="a05363.html#a556a214">NL3D::PSMotion</a>, <a class="el" href="a05363.html#a556a217">NL3D::PSToolRender</a>, <a class="el" href="a02690.html#NL3D_1_1CPSForceIntensityHelpera56">NL3D::CPSForce::show()</a>, and <a class="el" href="a05454.html#l00044">NL3D::TAnimationTime</a>. +<p> +<div class="fragment"><pre>00079 { +00080 <span class="keywordflow">switch</span>(pass) +00081 { +00082 <span class="keywordflow">case</span> <a class="code" href="a05363.html#a556a214">PSMotion</a>: +00083 <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcea43">performDynamic</a>(ellapsedTime); +00084 <span class="keywordflow">break</span>; +00085 <span class="keywordflow">case</span> <a class="code" href="a05363.html#a556a217">PSToolRender</a>: +00086 <a class="code" href="a03147.html#NL3D_1_1CPSBrownianForcea59">show</a>(ellapsedTime); +00087 <span class="keywordflow">break</span>; +00088 <span class="keywordflow">default</span>: <span class="keywordflow">break</span>; +00089 } +00090 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea65" doxytag="NL3D::CPSBrownianForce::systemDateChanged" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSLocatedBindable::systemDateChanged </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +PRIVATE USE : called by the system when its date has been manually changed. This his usually for object that expect time to be always increasing, so that they can reset their datas +<p> +Reimplemented in <a class="el" href="a03227.html#NL3D_1_1CPSRibbonBased6">NL3D::CPSRibbonBase</a>. +<p> +Definition at line <a class="el" href="a06247.html#l01038">1038</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>01038 {} +</pre></div> </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSTurbuln0" doxytag="NL3D::CPSBrownianForce::CPSForceIntensity" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> friend class <a class="el" href="a03148.html">CPSForceIntensity</a><code> [friend, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06240.html#l00128">128</a> of file <a class="el" href="a06240.html">ps_force.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbuln1" doxytag="NL3D::CPSBrownianForce::CPSLocated" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> friend class <a class="el" href="a03214.html">CPSLocated</a><code> [friend, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02691.html#NL3D_1_1CPSZoneSpheren0">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00127">127</a> of file <a class="el" href="a06240.html">ps_force.h</a>. </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSZoneSpherep0" doxytag="NL3D::CPSBrownianForce::_Active" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep0">NL3D::CPSLocatedBindable::_Active</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01033">1033</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +Referenced by <a class="el" href="a06247.html#l00844">NL3D::CPSLocatedBindable::isActive()</a>, and <a class="el" href="a06247.html#l00843">NL3D::CPSLocatedBindable::setActive()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherep3" doxytag="NL3D::CPSBrownianForce::_ExternID" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep3">NL3D::CPSLocatedBindable::_ExternID</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01027">1027</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +Referenced by <a class="el" href="a06247.html#l00964">NL3D::CPSLocatedBindable::getExternID()</a>, <a class="el" href="a06246.html#l02149">NL3D::CPSLocatedBindable::setExternID()</a>, and <a class="el" href="a06246.html#l01984">NL3D::CPSLocatedBindable::~CPSLocatedBindable()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbulp3" doxytag="NL3D::CPSBrownianForce::_IntensityScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03136.html">CPSAttribMaker</a><float>* <a class="el" href="a03148.html#NL3D_1_1CPSTurbulp3">NL3D::CPSForceIntensity::_IntensityScheme</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06240.html#l00197">197</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +Referenced by <a class="el" href="a06240.html#l00165">NL3D::CPSForceIntensity::CPSForceIntensity()</a>, <a class="el" href="a06240.html#l00203">NL3D::CPSForceIntensity::deleteForceIntensityElement()</a>, <a class="el" href="a06240.html#l00185">NL3D::CPSForceIntensity::getIntensityScheme()</a>, <a class="el" href="a06240.html#l00199">NL3D::CPSForceIntensity::newForceIntensityElement()</a>, <a class="el" href="a06240.html#l00207">NL3D::CPSForceIntensity::resizeForceIntensity()</a>, <a class="el" href="a06239.html#l00166">NL3D::CPSForceIntensity::setIntensity()</a>, <a class="el" href="a06239.html#l00182">NL3D::CPSForceIntensity::setIntensityScheme()</a>, and <a class="el" href="a06239.html#l00177">NL3D::CPSForceIntensity::~CPSForceIntensity()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbulp4" doxytag="NL3D::CPSBrownianForce::_K" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a03148.html#NL3D_1_1CPSTurbulp4">NL3D::CPSForceIntensity::_K</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06240.html#l00196">196</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +Referenced by <a class="el" href="a06240.html#l00173">NL3D::CPSForceIntensity::getIntensity()</a>, and <a class="el" href="a06239.html#l00166">NL3D::CPSForceIntensity::setIntensity()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherep4" doxytag="NL3D::CPSBrownianForce::_LOD" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a05363.html#a558">TPSLod</a> <a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep4">NL3D::CPSLocatedBindable::_LOD</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +tells when this object must be dealt with +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01029">1029</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +Referenced by <a class="el" href="a06247.html#l00954">NL3D::CPSLocatedBindable::getLOD()</a>, and <a class="el" href="a06247.html#l00952">NL3D::CPSLocatedBindable::setLOD()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherep5" doxytag="NL3D::CPSBrownianForce::_Name" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string <a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep5">NL3D::CPSLocatedBindable::_Name</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01031">1031</a> of file <a class="el" href="a06247.html">ps_located.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherep6" doxytag="NL3D::CPSBrownianForce::_Owner" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03214.html">CPSLocated</a>* <a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep6">NL3D::CPSLocatedBindable::_Owner</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01026">1026</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +Referenced by <a class="el" href="a06231.html#l00055">NL3D::CPSFaceHelper::drawFaces()</a>, <a class="el" href="a06235.html#l00072">NL3D::CPSFanLightHelper::drawFanLight()</a>, <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>, <a class="el" href="a06250.html#l00521">NL3D::CPSConstraintMeshHelper::drawMeshs()</a>, and <a class="el" href="a06250.html#l00793">NL3D::CPSConstraintMeshHelper::drawPrerotatedMeshs()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForcep7" doxytag="NL3D::CPSBrownianForce::_ParametricFactor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcep7">NL3D::CPSBrownianForce::_ParametricFactor</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06240.html#l00624">624</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +Referenced by <a class="el" href="a06240.html#l00616">getParametricFactor()</a>, <a class="el" href="a06239.html#l01050">integrate()</a>, <a class="el" href="a06239.html#l01164">integrateSingle()</a>, and <a class="el" href="a06240.html#l00615">setParametricFactor()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherep8" doxytag="NL3D::CPSBrownianForce::_Targets" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02689.html#NL3D_1_1CPSZoneSpherex0">TTargetCont</a> <a class="el" href="a02689.html#NL3D_1_1CPSZoneSpherep8">NL3D::CPSTargetLocatedBindable::_Targets</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01123">1123</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +Referenced by <a class="el" href="a06246.html#l02202">NL3D::CPSTargetLocatedBindable::attachTarget()</a>, <a class="el" href="a06246.html#l02238">NL3D::CPSTargetLocatedBindable::finalize()</a>, <a class="el" href="a06247.html#l01091">NL3D::CPSTargetLocatedBindable::getNbTargets()</a>, <a class="el" href="a06247.html#l01093">NL3D::CPSTargetLocatedBindable::getTarget()</a>, <a class="el" href="a06246.html#l02223">NL3D::CPSTargetLocatedBindable::notifyTargetRemoved()</a>, <a class="el" href="a06246.html#l02272">NL3D::CPSTargetLocatedBindable::releaseAllRef()</a>, <a class="el" href="a06246.html#l02261">NL3D::CPSTargetLocatedBindable::releaseRefTo()</a>, and <a class="el" href="a06246.html#l02251">NL3D::CPSTargetLocatedBindable::~CPSTargetLocatedBindable()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForceo0" doxytag="NL3D::CPSBrownianForce::isIntegrable" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForceo0">NL3D::CPSBrownianForce::isIntegrable</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +========================================================== +<p> + +<p> +Definition at line <a class="el" href="a06239.html#l01043">1043</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +<div class="fragment"><pre>01044 { +01045 <span class="keywordflow">return</span> <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a> == NULL; +01046 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForcet0" doxytag="NL3D::CPSBrownianForce::PrecomputedImpulsions" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03128.html">NLMISC::CVector</a> <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcet0">NL3D::CPSBrownianForce::PrecomputedImpulsions</a><code> [static, protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +various impulsion for normal motion +<p> + +<p> +Definition at line <a class="el" href="a06239.html#l01032">1032</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +Referenced by <a class="el" href="a06239.html#l01232">initPrecalc()</a>, and <a class="el" href="a06239.html#l01317">performDynamic()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForcet1" doxytag="NL3D::CPSBrownianForce::PrecomputedPos" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03128.html">NLMISC::CVector</a> <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcet1">NL3D::CPSBrownianForce::PrecomputedPos</a><code> [static, protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +used to avoid to have to call rand for each particle the force applies on... +<p> + +<p> +Definition at line <a class="el" href="a06239.html#l01030">1030</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +Referenced by <a class="el" href="a06239.html#l01232">initPrecalc()</a>, <a class="el" href="a06239.html#l01050">integrate()</a>, and <a class="el" href="a06239.html#l01164">integrateSingle()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSBrownianForcet2" doxytag="NL3D::CPSBrownianForce::PrecomputedSpeed" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03128.html">NLMISC::CVector</a> <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcet2">NL3D::CPSBrownianForce::PrecomputedSpeed</a><code> [static, protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06239.html#l01031">1031</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +Referenced by <a class="el" href="a06239.html#l01232">initPrecalc()</a>, and <a class="el" href="a06239.html#l01050">integrate()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06240.html">ps_force.h</a><li><a class="el" href="a06239.html">ps_force.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:04:39 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |