diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03149.html | 3856 |
1 files changed, 3856 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03149.html b/docs/doxygen/nel/a03149.html new file mode 100644 index 00000000..fa2b5391 --- /dev/null +++ b/docs/doxygen/nel/a03149.html @@ -0,0 +1,3856 @@ +<!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::CPSForceIntensityHelper 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::CPSForceIntensityHelper Class Reference</h1><code>#include <<a class="el" href="a06240.html">ps_force.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPSForceIntensityHelper: +<p><center><img src="a03149.png" usemap="#NL3D::CPSForceIntensityHelper_map" border="0" alt=""></center> +<map name="NL3D::CPSForceIntensityHelper_map"> +<area href="a02690.html" alt="NL3D::CPSForce" shape="rect" coords="430,224,635,248"> +<area href="a03148.html" alt="NL3D::CPSForceIntensity" shape="rect" coords="645,224,850,248"> +<area href="a02689.html" alt="NL3D::CPSTargetLocatedBindable" shape="rect" coords="430,168,635,192"> +<area href="a02691.html" alt="NL3D::CPSLocatedBindable" shape="rect" coords="430,112,635,136"> +<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="430,56,635,80"> +<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="430,0,635,24"> +<area href="a03147.html" alt="NL3D::CPSBrownianForce" shape="rect" coords="0,336,205,360"> +<area href="a03150.html" alt="NL3D::CPSCentralGravity" shape="rect" coords="215,336,420,360"> +<area href="a03173.html" alt="NL3D::CPSCylindricVortex" shape="rect" coords="430,336,635,360"> +<area href="a03176.html" alt="NL3D::CPSDirectionnalForce" shape="rect" coords="645,336,850,360"> +<area href="a03205.html" alt="NL3D::CPSGravity" shape="rect" coords="860,336,1065,360"> +<area href="a03239.html" alt="NL3D::CPSSpring" shape="rect" coords="1075,336,1280,360"> +<area href="a03217.html" alt="NL3D::CPSMagneticForce" shape="rect" coords="645,392,850,416"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +this class defines the newElement, deleteElement, and resize method of a class that derives from <a class="el" href="a03148.html">CPSForceIntensity</a> And that don't add per paerticle attribute +<p> + +<p> +Definition at line <a class="el" href="a06240.html#l00218">218</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>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>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="a02690.html#NL3D_1_1CPSTurbula39">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="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02690.html#NL3D_1_1CPSTurbula40">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="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="a02690.html#NL3D_1_1CPSForceIntensityHelpera41">performDynamic</a> (<a class="el" href="a05363.html#a366">TAnimationTime</a> ellapsedTime)=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the force on the targets. <a href="#NL3D_1_1CPSForceIntensityHelpera41"></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>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbula53">setIntensity</a> (float <a class="el" href="a04223.html#a658">value</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set a constant intensity for the force. this discard any previous call to setIntensityScheme <a href="#NL3D_1_1CPSTurbula53"></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_1CPSTurbula54">setIntensityScheme</a> (<a class="el" href="a03136.html">CPSAttribMaker</a>< float > *scheme)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set a non-constant intensity <a href="#NL3D_1_1CPSTurbula54"></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="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>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02690.html#NL3D_1_1CPSForceIntensityHelpera56">show</a> (<a class="el" href="a05363.html#a366">TAnimationTime</a> ellapsedTime)=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Show the force (edition mode). <a href="#NL3D_1_1CPSForceIntensityHelpera56"></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>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="a03149.html#NL3D_1_1CPSSpringb3">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="a03149.html#NL3D_1_1CPSSpringb6">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_1CPSSpringb6"></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="a03149.html#NL3D_1_1CPSSpringb7">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="a03149.html#NL3D_1_1CPSSpringb12">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><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>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::CPSForceIntensityHelper::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>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSTurbula0" doxytag="NL3D::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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">NL3D::CPSBrownianForce::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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_1CPSSpringb3" doxytag="NL3D::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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> +Implements <a class="el" href="a02690.html#NL3D_1_1CPSForceb3">NL3D::CPSForce</a>. +<p> +Reimplemented in <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForceb3">NL3D::CPSBrownianForce</a>, and <a class="el" href="a03173.html#NL3D_1_1CPSCylindricVortexb3">NL3D::CPSCylindricVortex</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00226">226</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>00226 { <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::CPSForceIntensityHelper::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">NL3D::CPSBrownianForce::deleteElement()</a>, <a class="el" href="a06240.html#l00567">NL3D::CPSFluidFriction::deleteElement()</a>, and <a class="el" href="a06240.html#l00226">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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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_1CPSSpringb6" doxytag="NL3D::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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> +Implements <a class="el" href="a03148.html#NL3D_1_1CPSForceIntensityb1">NL3D::CPSForceIntensity</a>. +<p> +Reimplemented in <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForceb6">NL3D::CPSBrownianForce</a>, and <a class="el" href="a03173.html#NL3D_1_1CPSCylindricVortexb6">NL3D::CPSCylindricVortex</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00224">224</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +<div class="fragment"><pre>00224 { <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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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_1CPSTurbula29" doxytag="NL3D::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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_1CPSTurbula39" doxytag="NL3D::CPSForceIntensityHelper::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"> virtual void NL3D::CPSForce::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> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Integrate this force on the given located. If 'accumulate' is set to true, it just add the effect of this force on position otherwise, it must also integrate from the initial speed, and add this force effect. The first call to this must be done with 'accumulate' set to false. NB : works only with integrable forces +<p> +Reimplemented in <a class="el" href="a03205.html#NL3D_1_1CPSGravitya37">NL3D::CPSGravity</a>, and <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea38">NL3D::CPSBrownianForce</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00099">99</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05646.html#l01124">src</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00103 { +00104 <a class="code" href="a04199.html#a6">nlassert</a>(0); <span class="comment">// not an integrable force</span> +00105 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbula40" doxytag="NL3D::CPSForceIntensityHelper::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"> virtual void NL3D::CPSForce::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>posStride</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> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute a trajectory on several steps for a single object, rather than a step for several object. If the start date is lower than the creation date, the initial position is used NB : works only with integrable forces +<p> +Reimplemented in <a class="el" href="a03205.html#NL3D_1_1CPSGravitya38">NL3D::CPSGravity</a>, and <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea39">NL3D::CPSBrownianForce</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00112">112</a> of file <a class="el" href="a06240.html">ps_force.h</a>. +<p> +References <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00117 { +00118 <a class="code" href="a04199.html#a6">nlassert</a>(0); <span class="comment">// not an integrable force</span> +00119 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea40" doxytag="NL3D::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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_1CPSSpringb7" doxytag="NL3D::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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> +Implements <a class="el" href="a02690.html#NL3D_1_1CPSForceb5">NL3D::CPSForce</a>. +<p> +Reimplemented in <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForceb7">NL3D::CPSBrownianForce</a>, and <a class="el" href="a03173.html#NL3D_1_1CPSCylindricVortexb7">NL3D::CPSCylindricVortex</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00225">225</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>00225 { <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::CPSForceIntensityHelper::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">NL3D::CPSBrownianForce::newElement()</a>, <a class="el" href="a06240.html#l00566">NL3D::CPSFluidFriction::newElement()</a>, and <a class="el" href="a06240.html#l00225">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::CPSForceIntensityHelper::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_1CPSForceIntensityHelpera41" doxytag="NL3D::CPSForceIntensityHelper::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"> virtual void NL3D::CPSForce::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> [pure virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute the force on the targets. +<p> + +<p> +Implemented in <a class="el" href="a02688.html#NL3D_1_1CIsotropicForceTa38">NL3D::CIsotropicForceT< T ></a>, <a class="el" href="a03176.html#NL3D_1_1CPSDirectionnalForcea43">NL3D::CPSDirectionnalForce</a>, <a class="el" href="a03205.html#NL3D_1_1CPSGravitya43">NL3D::CPSGravity</a>, <a class="el" href="a03150.html#NL3D_1_1CPSCentralGravitya43">NL3D::CPSCentralGravity</a>, <a class="el" href="a03239.html#NL3D_1_1CPSSpringa43">NL3D::CPSSpring</a>, <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea43">NL3D::CPSBrownianForce</a>, <a class="el" href="a03173.html#NL3D_1_1CPSCylindricVortexa49">NL3D::CPSCylindricVortex</a>, <a class="el" href="a03217.html#NL3D_1_1CPSMagneticForcea44">NL3D::CPSMagneticForce</a>, <a class="el" href="a02688.html#NL3D_1_1CIsotropicForceTa38">NL3D::CIsotropicForceT< CPSTurbulForceFunc ></a>, and <a class="el" href="a02688.html#NL3D_1_1CIsotropicForceTa38">NL3D::CIsotropicForceT< CPSFluidFrictionFunctor ></a>. +<p> +Referenced by <a class="el" href="a06239.html#l00078">NL3D::CPSForce::step()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbulb10" doxytag="NL3D::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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">NL3D::CPSBrownianForce::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_1CPSSpringb12" doxytag="NL3D::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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> +Implements <a class="el" href="a02690.html#NL3D_1_1CPSForceb9">NL3D::CPSForce</a>. +<p> +Reimplemented in <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForceb12">NL3D::CPSBrownianForce</a>, and <a class="el" href="a03173.html#NL3D_1_1CPSCylindricVortexb12">NL3D::CPSCylindricVortex</a>. +<p> +Definition at line <a class="el" href="a06240.html#l00227">227</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>00227 { <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::CPSForceIntensityHelper::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">NL3D::CPSBrownianForce::resize()</a>, <a class="el" href="a06240.html#l00568">NL3D::CPSFluidFriction::resize()</a>, and <a class="el" href="a06240.html#l00227">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="a03149.html#NL3D_1_1CPSSpringb6">getForceIntensityOwner</a>()->getSize()); +00210 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSForceIntensityHelpera45" doxytag="NL3D::CPSForceIntensityHelper::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]</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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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_1CPSTurbula53" doxytag="NL3D::CPSForceIntensityHelper::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::CPSForceIntensity::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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set a constant intensity for the force. this discard any previous call to setIntensityScheme +<p> + +<p> +Reimplemented in <a class="el" href="a03205.html#NL3D_1_1CPSGravityb14">NL3D::CPSGravity</a>, and <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea51">NL3D::CPSBrownianForce</a>. +<p> +Definition at line <a class="el" href="a06239.html#l00166">166</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>. +<p> +References <a class="el" href="a06240.html#l00197">NL3D::CPSForceIntensity::_IntensityScheme</a>, <a class="el" href="a06240.html#l00196">NL3D::CPSForceIntensity::_K</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +Referenced by <a class="el" href="a06240.html#l00451">NL3D::CPSCentralGravity::CPSCentralGravity()</a>, <a class="el" href="a06240.html#l00739">NL3D::CPSCylindricVortex::CPSCylindricVortex()</a>, <a class="el" href="a06240.html#l00361">NL3D::CPSDirectionnalForce::CPSDirectionnalForce()</a>, <a class="el" href="a06240.html#l00537">NL3D::CPSFluidFriction::CPSFluidFriction()</a>, and <a class="el" href="a06240.html#l00471">NL3D::CPSSpring::CPSSpring()</a>. +<p> +<div class="fragment"><pre>00167 { +00168 <span class="keywordflow">if</span> (<a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>) +00169 { +00170 <span class="keyword">delete</span> <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>; +00171 <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a> = NULL; +00172 } +00173 <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp4">_K</a> = <a class="code" href="a04223.html#a658">value</a>; +00174 +00175 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbula54" doxytag="NL3D::CPSForceIntensityHelper::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::CPSForceIntensity::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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set a non-constant intensity +<p> + +<p> +Reimplemented in <a class="el" href="a03205.html#NL3D_1_1CPSGravityb15">NL3D::CPSGravity</a>, and <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea52">NL3D::CPSBrownianForce</a>. +<p> +Definition at line <a class="el" href="a06239.html#l00182">182</a> of file <a class="el" href="a06239.html">ps_force.cpp</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="a05622.html#l00290">nlassert</a>, and <a class="el" href="a06214.html#l00296">NL3D::CPSAttribMaker< T >::resize()</a>. +<p> +<div class="fragment"><pre>00183 { +00184 <a class="code" href="a04199.html#a6">nlassert</a>(scheme); +00185 <span class="keyword">delete</span> <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>; +00186 <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a> = scheme; +00187 <span class="keywordflow">if</span> (<a class="code" href="a03149.html#NL3D_1_1CPSSpringb6">getForceIntensityOwner</a>() && scheme->hasMemory()) scheme->resize(<a class="code" href="a03149.html#NL3D_1_1CPSSpringb6">getForceIntensityOwner</a>()->getMaxSize(), <a class="code" href="a03149.html#NL3D_1_1CPSSpringb6">getForceIntensityOwner</a>()->getSize()); +00188 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea53" doxytag="NL3D::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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="a03149.html#NL3D_1_1CPSSpringb3">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_1CPSZoneSpherea59" doxytag="NL3D::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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_1CPSForceIntensityHelpera56" doxytag="NL3D::CPSForceIntensityHelper::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"> virtual void NL3D::CPSForce::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> [pure virtual, inherited]</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> +Implemented in <a class="el" href="a02688.html#NL3D_1_1CIsotropicForceTa50">NL3D::CIsotropicForceT< T ></a>, <a class="el" href="a03176.html#NL3D_1_1CPSMagneticForcea59">NL3D::CPSDirectionnalForce</a>, <a class="el" href="a03205.html#NL3D_1_1CPSGravitya56">NL3D::CPSGravity</a>, <a class="el" href="a03150.html#NL3D_1_1CPSCentralGravitya58">NL3D::CPSCentralGravity</a>, <a class="el" href="a03239.html#NL3D_1_1CPSSpringa58">NL3D::CPSSpring</a>, <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea59">NL3D::CPSBrownianForce</a>, <a class="el" href="a03173.html#NL3D_1_1CPSCylindricVortexa70">NL3D::CPSCylindricVortex</a>, <a class="el" href="a02688.html#NL3D_1_1CIsotropicForceTa50">NL3D::CIsotropicForceT< CPSTurbulForceFunc ></a>, and <a class="el" href="a02688.html#NL3D_1_1CIsotropicForceTa50">NL3D::CIsotropicForceT< CPSFluidFrictionFunctor ></a>. +<p> +Referenced by <a class="el" href="a06239.html#l00078">NL3D::CPSForce::step()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTurbula63" doxytag="NL3D::CPSForceIntensityHelper::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="a02690.html#NL3D_1_1CPSForceIntensityHelpera41">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="a02690.html#NL3D_1_1CPSForceIntensityHelpera56">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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::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::CPSForceIntensityHelper::_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::CPSForceIntensityHelper::_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::CPSForceIntensityHelper::_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::CPSForceIntensityHelper::_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::CPSForceIntensityHelper::_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::CPSForceIntensityHelper::_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::CPSForceIntensityHelper::_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_1CPSZoneSpherep8" doxytag="NL3D::CPSForceIntensityHelper::_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> +<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:14:59 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> |