diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a02538.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a02538.html')
-rw-r--r-- | docs/doxygen/nel/a02538.html | 2817 |
1 files changed, 2817 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02538.html b/docs/doxygen/nel/a02538.html new file mode 100644 index 00000000..1cabe8b2 --- /dev/null +++ b/docs/doxygen/nel/a02538.html @@ -0,0 +1,2817 @@ +<!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::CFlareShape 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::CFlareShape Class Reference</h1><code>#include <<a class="el" href="a05715.html">flare_shape.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CFlareShape: +<p><center><img src="a02538.png" usemap="#NL3D::CFlareShape_map" border="0" alt=""></center> +<map name="NL3D::CFlareShape_map"> +<area href="a02539.html" alt="NL3D::IShape" shape="rect" coords="70,112,201,136"> +<area href="a02209.html" alt="NLMISC::CRefCount" shape="rect" coords="0,56,131,80"> +<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="141,56,272,80"> +<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="141,0,272,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +shape for a flare <dl compact><dt><b>Author:</b></dt><dd>Nicolas Vizerie <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00053">53</a> of file <a class="el" href="a05715.html">flare_shape.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 bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea0">clip</a> (const std::vector< <a class="el" href="a03082.html">CPlane</a> > &pyramid, const <a class="el" href="a02851.html">CMatrix</a> &worldMatrix)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">inherited from <a class="el" href="a02539.html">IShape</a> <a href="#NL3D_1_1CFlareShapea0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02537.html">CTransformShape</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea1">createInstance</a> (<a class="el" href="a03348.html">CScene</a> &scene)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">inherited from <a class="el" href="a02539.html">IShape</a> <a href="#NL3D_1_1CFlareShapea1"></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="a02538.html#NL3D_1_1CFlareShapea2">enableDazzle</a> (bool enable=true)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">enable dazzle when the flare is near the center of the screen <a href="#NL3D_1_1CFlareShapea2"></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="a02538.html#NL3D_1_1CFlareShapea3">flushTextures</a> (<a class="el" href="a02434.html">IDriver</a> &driver, <a class="el" href="a04558.html#a15">uint</a> selectedTexture)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">inherited from ishape <a href="#NL3D_1_1CFlareShapea3"></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="a02538.html#NL3D_1_1CFlareShapea4">getAABBox</a> (<a class="el" href="a02156.html">NLMISC::CAABBox</a> &bbox) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">inherited from <a class="el" href="a02539.html">IShape</a> <a href="#NL3D_1_1CFlareShapea4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea5">getAttenuable</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">check wether radial :attenuation is on <a href="#NL3D_1_1CFlareShapea5"></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="a02538.html#NL3D_1_1CFlareShapea6">getAttenuationRange</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the attenuation range <a href="#NL3D_1_1CFlareShapea6"></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="a03337.html">NLMISC::CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea8">getColor</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the color of flares <a href="#NL3D_1_1CFlareShapea8"></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="a02538.html#NL3D_1_1CFlareShapea9">getDazzleAttenuationRange</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the attenuation range of Dazzle <a href="#NL3D_1_1CFlareShapea9"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea10">getDazzleColor</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea5">getDistMax</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea12">getFirstFlareKeepSize</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">test wether the first flare keep its real size <a href="#NL3D_1_1CFlareShapea12"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea13">getFlareAtInfiniteDist</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">test wether the flare is at the infinite <a href="#NL3D_1_1CFlareShapea13"></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="a02538.html#NL3D_1_1CFlareShapea14">getFlareSpacing</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea15">getMaxViewDist</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the max view dist <a href="#NL3D_1_1CFlareShapea15"></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="a02538.html#NL3D_1_1CFlareShapea16">getMaxViewDistRatio</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the max view dist ratio <a href="#NL3D_1_1CFlareShapea16"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea17">getNumTriangles</a> (float distance)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">inherited from ishape <a href="#NL3D_1_1CFlareShapea17"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05363.html#a366">TAnimationTime</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea18">getPersistence</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a14">sint</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypea8">getRefCount</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea20">getRelativePos</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the relative pos of the nth flare <a href="#NL3D_1_1CFlareShapea20"></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="a02538.html#NL3D_1_1CFlareShapea21">getSize</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03487.html">ITexture</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea22">getTexture</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the texture used by the flare (const version) <a href="#NL3D_1_1CFlareShapea22"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03487.html">ITexture</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea23">getTexture</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea24">hasDazzle</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">check wether dazzle is enabled <a href="#NL3D_1_1CFlareShapea24"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea25">NLMISC_DECLARE_CLASS</a> (<a class="el" href="a02538.html">CFlareShape</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea8">profileSceneRender</a> (<a class="el" href="a03325.html">CRenderTrav</a> *rdrTrav, <a class="el" href="a02537.html">CTransformShape</a> *trans, bool opaquePass)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea27">render</a> (<a class="el" href="a02434.html">IDriver</a> *drv, <a class="el" href="a02537.html">CTransformShape</a> *trans, bool opaquePass)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">inherited from <a class="el" href="a02539.html">IShape</a>. Does nothing. A new traverseRender() was set for that <a href="#NL3D_1_1CFlareShapea27"></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="a02538.html#NL3D_1_1CFlareShapea28">setAttenuable</a> (bool enable=true)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">force radial attenuation of the flares <a href="#NL3D_1_1CFlareShapea28"></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="a02538.html#NL3D_1_1CFlareShapea29">setAttenuationRange</a> (float <a class="el" href="a04223.html#a655">range</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set the range for attenuation <a href="#NL3D_1_1CFlareShapea29"></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="a02538.html#NL3D_1_1CFlareShapea30">setColor</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> col)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set the color of flares <a href="#NL3D_1_1CFlareShapea30"></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="a02538.html#NL3D_1_1CFlareShapea31">setDazzleAttenuationRange</a> (float <a class="el" href="a04223.html#a655">range</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea32">setDazzleColor</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> col)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea11">setDistMax</a> (float distMax)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea34">setFirstFlareKeepSize</a> (bool enable=true)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">force the first flare to keep its real size (e.g the isze on screen doesn't remains constant) <a href="#NL3D_1_1CFlareShapea34"></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="a02538.html#NL3D_1_1CFlareShapea35">setFlareAtInfiniteDist</a> (bool enabled=true)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea36">setFlareSpacing</a> (float spacing)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set the flares spacing <a href="#NL3D_1_1CFlareShapea36"></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="a02538.html#NL3D_1_1CFlareShapea37">setMaxViewDist</a> (float dist)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea38">setMaxViewDistRatio</a> (float ratio)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea39">setPersistence</a> (<a class="el" href="a05363.html#a366">TAnimationTime</a> persistence)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set the persistence of this shape, in second (the time it takes to fade from white to black) <a href="#NL3D_1_1CFlareShapea39"></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="a02538.html#NL3D_1_1CFlareShapea40">setRelativePos</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>, float pos)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapea41">setSize</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>, float <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="a02538.html#NL3D_1_1CFlareShapea42">setTexture</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>, <a class="el" href="a03487.html">ITexture</a> *tex)</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Object</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapez197_0">CFlareShape</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CFlareShapez197_0"></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="a02538.html#NL3D_1_1CFlareShapez197_1">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 this shape <a href="#NL3D_1_1CFlareShapez197_1"></a><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">access default tracks.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapez199_0">getDefaultPos</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapeo0">_DefaultPos</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Transform default tracks. <a href="#NL3D_1_1CFlareShapeo0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo * </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">pinfo</a></td></tr> + +<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NullPtrInfo</a></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="a02538.html#NL3D_1_1CFlareShapep0">_Attenuable</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapep1">_AttenuationRange</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapep2">_Color</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapep3">_DazzleAttenuationRange</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapep4">_DazzleColor</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapep5">_DazzleEnabled</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Default to -1. <a href="#NL3D_1_1IShapep0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapep7">_FirstFlareKeepSize</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapep8">_InfiniteDist</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapep9">_MaxViewDist</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapep10">_MaxViewDistRatio</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05363.html#a366">TAnimationTime</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapep11">_Persistence</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapep12">_Pos</a> [<a class="el" href="a05363.html#a26">MaxFlareNum</a>]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapep13">_Size</a> [<a class="el" href="a05363.html#a26">MaxFlareNum</a>]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapep14">_Spacing</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03408.html">NLMISC::CSmartPtr</a>< <a class="el" href="a03487.html">ITexture</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a02538.html#NL3D_1_1CFlareShapep15">_Tex</a> [<a class="el" href="a05363.html#a26">MaxFlareNum</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="a02538.html#NL3D_1_1CFlareShapen0">CFlareModel</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypen0">CPtrInfo</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CFlareShapez197_0" doxytag="NL3D::CFlareShape::CFlareShape" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CFlareShape::CFlareShape </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="a05714.html#l00039">39</a> of file <a class="el" href="a05714.html">flare_shape.cpp</a>. +<p> +References <a class="el" href="a05715.html#l00045">NL3D::MaxFlareNum</a>, <a class="el" href="a06376.html#l00066">NL3D::IShape::setDistMax()</a>, <a class="el" href="a06556.html#l00162">NL3D::CTrackDefaultBlendable< CVector >::setValue()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00039 : <a class="code" href="a02538.html#NL3D_1_1CFlareShapep2">_Color</a>(NLMISC::CRGBA::White), +00040 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep4">_DazzleColor</a>(NLMISC::CRGBA::Black), +00041 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep11">_Persistence</a>(1), +00042 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep14">_Spacing</a>(1), +00043 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep0">_Attenuable</a>(<span class="keyword">false</span>), +00044 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep1">_AttenuationRange</a> (1.0f), +00045 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep7">_FirstFlareKeepSize</a>(<span class="keyword">false</span>), +00046 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep5">_DazzleEnabled</a>(<span class="keyword">false</span>), +00047 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep3">_DazzleAttenuationRange</a>(0.f), +00048 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep10">_MaxViewDistRatio</a> (0.9f), +00049 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep8">_InfiniteDist</a>(<span class="keyword">false</span>) +00050 { +00051 <span class="comment">// init default pos</span> +00052 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a05363.html#a26">MaxFlareNum</a>; ++k) +00053 { +00054 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep15">_Tex</a> [k] = NULL; +00055 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep13">_Size</a>[k] = 1.f; +00056 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep12">_Pos</a>[k] = k * (1.f / <a class="code" href="a05363.html#a26">MaxFlareNum</a>); +00057 } +00058 <a class="code" href="a02538.html#NL3D_1_1CFlareShapeo0">_DefaultPos</a>.setValue(CVector::Null); +00059 <a class="code" href="a02539.html#NL3D_1_1IShapea11">setDistMax</a>(1000); +00060 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CFlareShapea0" doxytag="NL3D::CFlareShape::clip" ></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::CFlareShape::clip </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::vector< <a class="el" href="a03082.html">CPlane</a> > & </td> + <td class="mdname" nowrap> <em>pyramid</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02851.html">CMatrix</a> & </td> + <td class="mdname" nowrap> <em>worldMatrix</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +inherited from <a class="el" href="a02539.html">IShape</a> +<p> + +<p> +Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea0">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="a05714.html#l00120">120</a> of file <a class="el" href="a05714.html">flare_shape.cpp</a>. +<p> +References <a class="el" href="a05973.html#l00198">NLMISC::CMatrix::getPos()</a>. +<p> +<div class="fragment"><pre>00121 { +00122 <span class="comment">// compute flare pos in world basis : </span> +00123 <span class="keyword">const</span> <a class="code" href="a03128.html">NLMISC::CVector</a> pos = worldMatrix.getPos(); +00124 <span class="keywordflow">for</span> (std::vector<NLMISC::CPlane>::const_iterator it = pyramid.begin(); it != pyramid.end(); ++it) +00125 { +00126 <span class="keywordflow">if</span> ((*it) * pos > 0) <span class="keywordflow">return</span> <span class="keyword">false</span>; +00127 } +00128 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00129 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea1" doxytag="NL3D::CFlareShape::createInstance" ></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="a02537.html">CTransformShape</a> * NL3D::CFlareShape::createInstance </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03348.html">CScene</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>scene</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +inherited from <a class="el" href="a02539.html">IShape</a> +<p> + +<p> +Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea1">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="a05714.html#l00100">100</a> of file <a class="el" href="a05714.html">flare_shape.cpp</a>. +<p> +References <a class="el" href="a05713.html#l00061">NL3D::CFlareModel::_Scene</a>, <a class="el" href="a05442.html#l00277">NL3D::CAnimatedValueVector</a>, <a class="el" href="a06348.html#l01004">NL3D::CScene::createModel()</a>, <a class="el" href="a05715.html#l00042">NL3D::FlareModelClassId</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable< CVector >::getValue()</a>, and <a class="el" href="a06571.html#l00072">NL3D::CTransformShape::Shape</a>. +<p> +<div class="fragment"><pre>00101 { +00102 <a class="code" href="a02538.html#NL3D_1_1CFlareShapen0">CFlareModel</a> *fm = NLMISC::safe_cast<CFlareModel *>(scene.createModel(FlareModelClassId) ); +00103 fm->Shape = <span class="keyword">this</span>; +00104 fm->_Scene = &scene; +00105 <span class="comment">// set default pos</span> +00106 fm->ITransformable::setPos( ((CAnimatedValueVector&)<a class="code" href="a02538.html#NL3D_1_1CFlareShapeo0">_DefaultPos</a>.getValue()).Value ); +00107 <span class="keywordflow">return</span> fm; +00108 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea2" doxytag="NL3D::CFlareShape::enableDazzle" ></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::CFlareShape::enableDazzle </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>enable</em> = true </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +enable dazzle when the flare is near the center of the screen +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00208">208</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00280">_DazzleEnabled</a>. +<p> +<div class="fragment"><pre>00208 { <a class="code" href="a02538.html#NL3D_1_1CFlareShapep5">_DazzleEnabled</a> = enable; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea3" doxytag="NL3D::CFlareShape::flushTextures" ></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::CFlareShape::flushTextures </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> & </td> + <td class="mdname" nowrap> <em>driver</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>selectedTexture</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +inherited from ishape +<p> + +<p> +Implements <a class="el" href="a02539.html#NL3D_1_1IShapea2">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="a05714.html#l00140">140</a> of file <a class="el" href="a05714.html">flare_shape.cpp</a>. +<p> +References <a class="el" href="a05715.html#l00045">NL3D::MaxFlareNum</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera70">NL3D::IDriver::setupTexture()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00141 { +00142 <span class="comment">// Flush each texture</span> +00143 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> tex=0; tex<<a class="code" href="a05363.html#a26">MaxFlareNum</a>; tex++) +00144 { +00145 <span class="keywordflow">if</span> (<a class="code" href="a02538.html#NL3D_1_1CFlareShapep15">_Tex</a>[tex] != NULL) +00146 { +00147 <span class="comment">// Select the good texture</span> +00148 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep15">_Tex</a>[tex]->selectTexture (selectedTexture); +00149 +00150 <span class="comment">// Flush texture</span> +00151 driver.setupTexture (*_Tex[tex]); +00152 } +00153 } +00154 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea4" doxytag="NL3D::CFlareShape::getAABBox" ></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::CFlareShape::getAABBox </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>bbox</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</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="a02539.html">IShape</a> +<p> + +<p> +Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea3">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="a05714.html#l00132">132</a> of file <a class="el" href="a05714.html">flare_shape.cpp</a>. +<p> +References <a class="el" href="a05385.html#l00066">NLMISC::CAABBox::setCenter()</a>, and <a class="el" href="a05385.html#l00067">NLMISC::CAABBox::setHalfSize()</a>. +<p> +<div class="fragment"><pre>00133 { +00134 <span class="comment">// the flare himself is a point</span> +00135 bbox.<a class="code" href="a02156.html#NLMISC_1_1CAABBoxz1902_1">setCenter</a>(CVector::Null); +00136 bbox.<a class="code" href="a02156.html#NLMISC_1_1CAABBoxz1902_2">setHalfSize</a>(CVector::Null); +00137 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea5" doxytag="NL3D::CFlareShape::getAttenuable" ></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::CFlareShape::getAttenuable </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +check wether radial :attenuation is on +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00192">192</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00277">_Attenuable</a>. +<p> +Referenced by <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>. +<p> +<div class="fragment"><pre>00192 { <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep0">_Attenuable</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea6" doxytag="NL3D::CFlareShape::getAttenuationRange" ></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::CFlareShape::getAttenuationRange </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the attenuation range +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00198">198</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00278">_AttenuationRange</a>. +<p> +Referenced by <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>. +<p> +<div class="fragment"><pre>00198 { <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep1">_AttenuationRange</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6" doxytag="NL3D::CFlareShape::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_1CFlareShapea8" doxytag="NL3D::CFlareShape::getColor" ></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="a03337.html">NLMISC::CRGBA</a> NL3D::CFlareShape::getColor </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the color of flares +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00154">154</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00271">_Color</a>. +<p> +Referenced by <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>. +<p> +<div class="fragment"><pre>00155 { +00156 <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep2">_Color</a>; +00157 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea9" doxytag="NL3D::CFlareShape::getDazzleAttenuationRange" ></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::CFlareShape::getDazzleAttenuationRange </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the attenuation range of Dazzle +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00230">230</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00281">_DazzleAttenuationRange</a>. +<p> +<div class="fragment"><pre>00230 { <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep3">_DazzleAttenuationRange</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea10" doxytag="NL3D::CFlareShape::getDazzleColor" ></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="a03337.html">NLMISC::CRGBA</a> NL3D::CFlareShape::getDazzleColor </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get Dazzle color <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a02538.html#NL3D_1_1CFlareShapea2">enableDazzle()</a></dd></dl> + +<p> +Definition at line <a class="el" href="a05715.html#l00221">221</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00272">_DazzleColor</a>. +<p> +<div class="fragment"><pre>00221 { <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep4">_DazzleColor</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapez199_0" doxytag="NL3D::CFlareShape::getDefaultPos" ></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="a03551.html">CTrackDefaultVector</a>* NL3D::CFlareShape::getDefaultPos </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]</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="a05715.html#l00264">264</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +<div class="fragment"><pre>00264 {<span class="keywordflow">return</span> &<a class="code" href="a02538.html#NL3D_1_1CFlareShapeo0">_DefaultPos</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapea5" doxytag="NL3D::CFlareShape::getDistMax" ></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::IShape::getDistMax </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> +return the DistMax where the shape is no more displayed. Default is to return -1, meaning DistMax = infinite. +<p> +Definition at line <a class="el" href="a06377.html#l00112">112</a> of file <a class="el" href="a06377.html">shape.h</a>. +<p> +<div class="fragment"><pre>00112 {<span class="keywordflow">return</span> <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea12" doxytag="NL3D::CFlareShape::getFirstFlareKeepSize" ></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::CFlareShape::getFirstFlareKeepSize </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +test wether the first flare keep its real size +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00205">205</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00279">_FirstFlareKeepSize</a>. +<p> +Referenced by <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>. +<p> +<div class="fragment"><pre>00205 { <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep7">_FirstFlareKeepSize</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea13" doxytag="NL3D::CFlareShape::getFlareAtInfiniteDist" ></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::CFlareShape::getFlareAtInfiniteDist </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +test wether the flare is at the infinite +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00256">256</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00284">_InfiniteDist</a>. +<p> +Referenced by <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>. +<p> +<div class="fragment"><pre>00256 { <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep8">_InfiniteDist</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea14" doxytag="NL3D::CFlareShape::getFlareSpacing" ></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::CFlareShape::getFlareSpacing </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the flares spacing : A spacing of 1.f means thta the last flare will reach the center of the screen , a spacing of 0.5f means only the half way to the middle of the screen will be reached +<p> +Definition at line <a class="el" href="a05715.html#l00168">168</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00276">_Spacing</a>. +<p> +Referenced by <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>. +<p> +<div class="fragment"><pre>00169 { +00170 <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep14">_Spacing</a>; +00171 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea15" doxytag="NL3D::CFlareShape::getMaxViewDist" ></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::CFlareShape::getMaxViewDist </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the max view dist +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00239">239</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00282">_MaxViewDist</a>. +<p> +Referenced by <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>. +<p> +<div class="fragment"><pre>00239 { <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep9">_MaxViewDist</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea16" doxytag="NL3D::CFlareShape::getMaxViewDistRatio" ></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::CFlareShape::getMaxViewDistRatio </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the max view dist ratio +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00247">247</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00283">_MaxViewDistRatio</a>. +<p> +Referenced by <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>. +<p> +<div class="fragment"><pre>00247 { <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep10">_MaxViewDistRatio</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea17" doxytag="NL3D::CFlareShape::getNumTriangles" ></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::CFlareShape::getNumTriangles </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>distance</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +inherited from ishape +<p> + +<p> +Implements <a class="el" href="a02539.html#NL3D_1_1IShapez900_0">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="a05714.html#l00110">110</a> of file <a class="el" href="a05714.html">flare_shape.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00240">count</a>, <a class="el" href="a05715.html#l00045">NL3D::MaxFlareNum</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00111 { +00112 <span class="keywordtype">float</span> <a class="code" href="a04223.html#a577">count</a> = 0; +00113 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a05363.html#a26">MaxFlareNum</a>; ++k) +00114 { +00115 <span class="keywordflow">if</span> (<a class="code" href="a02538.html#NL3D_1_1CFlareShapep15">_Tex</a>[k]) <a class="code" href="a04223.html#a577">count</a> += 2; +00116 } +00117 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a577">count</a>; +00118 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea18" doxytag="NL3D::CFlareShape::getPersistence" ></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#a366">TAnimationTime</a> NL3D::CFlareShape::getPersistence </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the persistence of this shape <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a02538.html#NL3D_1_1CFlareShapea39">setPersistence</a></dd></dl> + +<p> +Definition at line <a class="el" href="a05715.html#l00182">182</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00275">_Persistence</a>, and <a class="el" href="a05454.html#l00044">NL3D::TAnimationTime</a>. +<p> +Referenced by <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>. +<p> +<div class="fragment"><pre>00183 { +00184 <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep11">_Persistence</a>; +00185 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypea8" doxytag="NL3D::CFlareShape::getRefCount" ></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="a04558.html#a14">sint</a>& NLMISC::CRefCount::getRefCount </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="a06402.html#l00070">70</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +References <a class="el" href="a06402.html#l00079">NLMISC::CRefCount::crefs</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>00071 { +00072 <span class="keywordflow">return</span> <a class="code" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a>; +00073 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea20" doxytag="NL3D::CFlareShape::getRelativePos" ></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::CFlareShape::getRelativePos </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the relative pos of the nth flare +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00141">141</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05715.html#l00045">NL3D::MaxFlareNum</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>. +<p> +<div class="fragment"><pre>00142 { +00143 <a class="code" href="a04199.html#a6">nlassert</a>(index < MaxFlareNum); +00144 <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep12">_Pos</a>[<a class="code" href="a04223.html#a566">index</a>]; +00145 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea21" doxytag="NL3D::CFlareShape::getSize" ></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::CFlareShape::getSize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the size of the nth flare <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 flare to set. Value ranges from 0 to MaxFlareNum - 1</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a05715.html#l00125">125</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>. +<p> +<div class="fragment"><pre>00126 { +00127 <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep13">_Size</a>[<a class="code" href="a04223.html#a566">index</a>]; +00128 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea22" doxytag="NL3D::CFlareShape::getTexture" ></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="a03487.html">ITexture</a>* NL3D::CFlareShape::getTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the texture used by the flare (const version) +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00107">107</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05715.html#l00045">NL3D::MaxFlareNum</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00108 { +00109 <a class="code" href="a04199.html#a6">nlassert</a>(index < MaxFlareNum); +00110 <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep15">_Tex</a>[<a class="code" href="a04223.html#a566">index</a>]; +00111 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea23" doxytag="NL3D::CFlareShape::getTexture" ></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="a03487.html">ITexture</a>* NL3D::CFlareShape::getTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the nth texture used by the flare. <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 flare to set. Value ranges from 0 to MaxFlareNum - 1</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a05715.html#l00100">100</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05715.html#l00045">NL3D::MaxFlareNum</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>. +<p> +<div class="fragment"><pre>00101 { +00102 <a class="code" href="a04199.html#a6">nlassert</a>(index < MaxFlareNum); +00103 <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep15">_Tex</a>[<a class="code" href="a04223.html#a566">index</a>]; +00104 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea24" doxytag="NL3D::CFlareShape::hasDazzle" ></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::CFlareShape::hasDazzle </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +check wether dazzle is enabled +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00211">211</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00280">_DazzleEnabled</a>. +<p> +<div class="fragment"><pre>00211 { <span class="keywordflow">return</span> <a class="code" href="a02538.html#NL3D_1_1CFlareShapep5">_DazzleEnabled</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea25" doxytag="NL3D::CFlareShape::NLMISC_DECLARE_CLASS" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CFlareShape::NLMISC_DECLARE_CLASS </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02538.html">CFlareShape</a> </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapea8" doxytag="NL3D::CFlareShape::profileSceneRender" ></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::IShape::profileSceneRender </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03325.html">CRenderTrav</a> * </td> + <td class="mdname" nowrap> <em>rdrTrav</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02537.html">CTransformShape</a> * </td> + <td class="mdname" nowrap> <em>trans</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>opaquePass</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> +Profiling. Called in RenderPass if Current Frame profiled. No-Op by default Informations must be added in rdrTrav->Scene +<p> +Reimplemented in <a class="el" href="a02857.html#NL3D_1_1CMeshz405_5">NL3D::CMesh</a>, <a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_5">NL3D::CMeshMRM</a>, <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_5">NL3D::CMeshMRMSkinned</a>, and <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_4">NL3D::CMeshMultiLod</a>. +<p> +Definition at line <a class="el" href="a06377.html#l00123">123</a> of file <a class="el" href="a06377.html">shape.h</a>. +<p> +<div class="fragment"><pre>00123 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea27" doxytag="NL3D::CFlareShape::render" ></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::CFlareShape::render </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> * </td> + <td class="mdname" nowrap> <em>drv</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02537.html">CTransformShape</a> * </td> + <td class="mdname" nowrap> <em>trans</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>opaquePass</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, virtual]</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="a02539.html">IShape</a>. Does nothing. A new traverseRender() was set for that +<p> + +<p> +Implements <a class="el" href="a02539.html#NL3D_1_1IShapea9">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="a05715.html#l00076">76</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +<div class="fragment"><pre>00076 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapez197_1" doxytag="NL3D::CFlareShape::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::CFlareShape::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 this shape +<p> + +<p> +Implements <a class="el" href="a02867.html#NL3D_1_1ITrackDefaulta6">NLMISC::IStreamable</a>. +<p> +Definition at line <a class="el" href="a05714.html#l00063">63</a> of file <a class="el" href="a05714.html">flare_shape.cpp</a>. +<p> +References <a class="el" href="a05715.html#l00045">NL3D::MaxFlareNum</a>, <a class="el" href="a06505.html#l00133">NL3D::ITexture::serial()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00064 { +00065 <span class="keywordtype">int</span> ver = f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(3); +00066 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Color, _Persistence, _Spacing); +00067 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Attenuable); +00068 <span class="keywordflow">if</span> (<a class="code" href="a02538.html#NL3D_1_1CFlareShapep0">_Attenuable</a>) +00069 { +00070 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_AttenuationRange); +00071 } +00072 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_FirstFlareKeepSize); +00073 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a05363.html#a26">MaxFlareNum</a>; ++k) +00074 { +00075 ITexture *tex = <a class="code" href="a02538.html#NL3D_1_1CFlareShapep15">_Tex</a>[k]; +00076 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(tex); +00077 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00078 { +00079 _Tex[k] = tex; +00080 } +00081 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Size[k], _Pos[k]); +00082 } +00083 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_InfiniteDist); +00084 <span class="keywordflow">if</span> (!<a class="code" href="a02538.html#NL3D_1_1CFlareShapep8">_InfiniteDist</a>) +00085 { +00086 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_MaxViewDist, _MaxViewDistRatio); +00087 } +00088 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DazzleEnabled); +00089 <span class="keywordflow">if</span> (<a class="code" href="a02538.html#NL3D_1_1CFlareShapep5">_DazzleEnabled</a>) +00090 { +00091 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DazzleColor, _DazzleAttenuationRange); +00092 } +00093 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_InfiniteDist); +00094 +00095 <span class="keywordflow">if</span> (ver >= 2) +00096 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( _DistMax ); +00097 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea28" doxytag="NL3D::CFlareShape::setAttenuable" ></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::CFlareShape::setAttenuable </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>enable</em> = true </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +force radial attenuation of the flares +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00189">189</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00277">_Attenuable</a>. +<p> +<div class="fragment"><pre>00189 { <a class="code" href="a02538.html#NL3D_1_1CFlareShapep0">_Attenuable</a> = enable; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea29" doxytag="NL3D::CFlareShape::setAttenuationRange" ></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::CFlareShape::setAttenuationRange </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>range</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the range for attenuation +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00195">195</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00278">_AttenuationRange</a>, and <a class="el" href="a05646.html#l01126">range</a>. +<p> +<div class="fragment"><pre>00195 { <a class="code" href="a02538.html#NL3D_1_1CFlareShapep1">_AttenuationRange</a> = <a class="code" href="a04223.html#a655">range</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea30" doxytag="NL3D::CFlareShape::setColor" ></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::CFlareShape::setColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a> </td> + <td class="mdname1" valign="top" nowrap> <em>col</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the color of flares +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00148">148</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00271">_Color</a>. +<p> +<div class="fragment"><pre>00149 { +00150 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep2">_Color</a> = col; +00151 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea31" doxytag="NL3D::CFlareShape::setDazzleAttenuationRange" ></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::CFlareShape::setDazzleAttenuationRange </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>range</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set Dazzle attenuation range. It is the same than with attenuationRange. 1 mean that the dazzle stops when the flare is at the border of screen. 0.5, for the half way between center and border etc . <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a02538.html#NL3D_1_1CFlareShapea2">enableDazzle()</a></dd></dl> + +<p> +Definition at line <a class="el" href="a05715.html#l00227">227</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00281">_DazzleAttenuationRange</a>, and <a class="el" href="a05646.html#l01126">range</a>. +<p> +<div class="fragment"><pre>00227 { <a class="code" href="a02538.html#NL3D_1_1CFlareShapep3">_DazzleAttenuationRange</a> = <a class="code" href="a04223.html#a655">range</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea32" doxytag="NL3D::CFlareShape::setDazzleColor" ></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::CFlareShape::setDazzleColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a> </td> + <td class="mdname1" valign="top" nowrap> <em>col</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set Dazzle color <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a02538.html#NL3D_1_1CFlareShapea2">enableDazzle()</a></dd></dl> + +<p> +Definition at line <a class="el" href="a05715.html#l00216">216</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00272">_DazzleColor</a>. +<p> +<div class="fragment"><pre>00216 { <a class="code" href="a02538.html#NL3D_1_1CFlareShapep4">_DazzleColor</a> = col; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapea11" doxytag="NL3D::CFlareShape::setDistMax" ></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::IShape::setDistMax </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>distMax</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> +setup the DistMax where the shape is no more displayed. Take effect only for the next created instances. setting <0 means -1 and so means DistMax = infinite. +<p> +Definition at line <a class="el" href="a06376.html#l00066">66</a> of file <a class="el" href="a06376.html">shape.cpp</a>. +<p> +Referenced by <a class="el" href="a05714.html#l00039">CFlareShape()</a>. +<p> +<div class="fragment"><pre>00067 { +00068 <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>= distMax; +00069 <span class="comment">// normalize infinite setup.</span> +00070 <span class="keywordflow">if</span>(distMax<0) +00071 <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>= -1; +00072 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea34" doxytag="NL3D::CFlareShape::setFirstFlareKeepSize" ></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::CFlareShape::setFirstFlareKeepSize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>enable</em> = true </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +force the first flare to keep its real size (e.g the isze on screen doesn't remains constant) +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00202">202</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00279">_FirstFlareKeepSize</a>. +<p> +<div class="fragment"><pre>00202 { <a class="code" href="a02538.html#NL3D_1_1CFlareShapep7">_FirstFlareKeepSize</a> = enable; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea35" doxytag="NL3D::CFlareShape::setFlareAtInfiniteDist" ></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::CFlareShape::setFlareAtInfiniteDist </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>enabled</em> = true </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The flare is considered to be at the infinite. This mean that it is always drawn And that there's no attenuation with dist. The real flare must be created far from the camera for this to work. The defualt is false +<p> +Definition at line <a class="el" href="a05715.html#l00253">253</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00284">_InfiniteDist</a>. +<p> +<div class="fragment"><pre>00253 { <a class="code" href="a02538.html#NL3D_1_1CFlareShapep8">_InfiniteDist</a> = enabled; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea36" doxytag="NL3D::CFlareShape::setFlareSpacing" ></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::CFlareShape::setFlareSpacing </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>spacing</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the flares spacing +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00160">160</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00276">_Spacing</a>. +<p> +<div class="fragment"><pre>00161 { +00162 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep14">_Spacing</a> = spacing; +00163 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea37" doxytag="NL3D::CFlareShape::setMaxViewDist" ></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::CFlareShape::setMaxViewDist </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>dist</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the maxViewDist for the flares The default is 1000 +<p> +Definition at line <a class="el" href="a05715.html#l00235">235</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00282">_MaxViewDist</a>. +<p> +<div class="fragment"><pre>00235 { <a class="code" href="a02538.html#NL3D_1_1CFlareShapep9">_MaxViewDist</a> = dist; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea38" doxytag="NL3D::CFlareShape::setMaxViewDistRatio" ></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::CFlareShape::setMaxViewDistRatio </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>ratio</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set a distance ratio. when dist / maxViewDist is above this ratio, the flares will start to fade The default is 0.9 +<p> +Definition at line <a class="el" href="a05715.html#l00244">244</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00283">_MaxViewDistRatio</a>. +<p> +<div class="fragment"><pre>00244 { <a class="code" href="a02538.html#NL3D_1_1CFlareShapep10">_MaxViewDistRatio</a> = ratio; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea39" doxytag="NL3D::CFlareShape::setPersistence" ></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::CFlareShape::setPersistence </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>persistence</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the persistence of this shape, in second (the time it takes to fade from white to black) +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00174">174</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05715.html#l00275">_Persistence</a>, and <a class="el" href="a05454.html#l00044">NL3D::TAnimationTime</a>. +<p> +<div class="fragment"><pre>00175 { +00176 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep11">_Persistence</a> = persistence; +00177 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea40" doxytag="NL3D::CFlareShape::setRelativePos" ></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::CFlareShape::setRelativePos </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>index</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>pos</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the relative position of the nth flares. The default goes linearly from 0 (which appear at the position of the flare) to 1 (which appears at the center of the screen when the flare spaving is set to 1 <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a02538.html#NL3D_1_1CFlareShapea36">setFlareSpacing()</a></dd></dl> + +<p> +Definition at line <a class="el" href="a05715.html#l00134">134</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05715.html#l00045">NL3D::MaxFlareNum</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00135 { +00136 <a class="code" href="a04199.html#a6">nlassert</a>(index < MaxFlareNum); +00137 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep12">_Pos</a>[<a class="code" href="a04223.html#a566">index</a>] = pos; +00138 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea41" doxytag="NL3D::CFlareShape::setSize" ></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::CFlareShape::setSize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>index</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>size</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the size of the nth flare flare <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 flare to set. Value ranges from 0 to MaxFlareNum - 1</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a05715.html#l00116">116</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05715.html#l00045">NL3D::MaxFlareNum</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05646.html#l00645">size</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00117 { +00118 <a class="code" href="a04199.html#a6">nlassert</a>(index < MaxFlareNum); +00119 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep13">_Size</a>[<a class="code" href="a04223.html#a566">index</a>] = <a class="code" href="a04223.html#a587">size</a>; +00120 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapea42" doxytag="NL3D::CFlareShape::setTexture" ></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::CFlareShape::setTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>index</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03487.html">ITexture</a> * </td> + <td class="mdname" nowrap> <em>tex</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set a texture for the flare <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 flare to set. Vaklue ranges from 0 to MaxFlareNum - 1 </td></tr> + <tr><td valign=top><em>tex</em> </td><td>the texture to set. NULL removes the texture</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a05715.html#l00091">91</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +References <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05715.html#l00045">NL3D::MaxFlareNum</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00092 { +00093 <a class="code" href="a04199.html#a6">nlassert</a>(index < MaxFlareNum); +00094 <a class="code" href="a02538.html#NL3D_1_1CFlareShapep15">_Tex</a>[<a class="code" href="a04223.html#a566">index</a>] = tex; +00095 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapez904_0" doxytag="NL3D::CFlareShape::supportMeshBlockRendering" ></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="a02879.html">IMeshGeom</a>* NL3D::IShape::supportMeshBlockRendering </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02537.html">CTransformShape</a> * </td> + <td class="mdname" nowrap> <em>trans</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float & </td> + <td class="mdname" nowrap> <em>polygonCount</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> 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 !NULL if this shape can support MeshBlock rendering for a special instance. NB: Mesh Block render cannot occurs if the Mesh is Skinned/MeshMorphed. NB: Mesh Block render can occurs only in Opaque pass NB: Mesh block render can occurs only for <a class="el" href="a02858.html">CMeshBase</a> meshes. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>trans</em> </td><td>the instance to take into account (meshMultiLod may return NULL in blend transition). </td></tr> + <tr><td valign=top><em>polygonCount</em> </td><td>the number of polygons to render for the meshGeom returned </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the meshgeom to render per block if OK, else NULL (default)</dd></dl> + +<p> +Reimplemented in <a class="el" href="a02857.html#NL3D_1_1CMeshz409_0">NL3D::CMesh</a>, <a class="el" href="a02891.html#NL3D_1_1CMeshMRMz497_0">NL3D::CMeshMRM</a>, <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz529_0">NL3D::CMeshMRMSkinned</a>, and <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz539_0">NL3D::CMeshMultiLod</a>. +<p> +Definition at line <a class="el" href="a06377.html#l00158">158</a> of file <a class="el" href="a06377.html">shape.h</a>. +<p> +<div class="fragment"><pre>00158 {<span class="keywordflow">return</span> NULL;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapez902_0" doxytag="NL3D::CFlareShape::useLightingLocalAttenuation" ></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::IShape::useLightingLocalAttenuation </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> +tells if the shape wants LocalAttenuation for RealTime lighting. Default is false +<p> +Reimplemented in <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda14">NL3D::CMeshBase</a>. +<p> +Definition at line <a class="el" href="a06377.html#l00142">142</a> of file <a class="el" href="a06377.html">shape.h</a>. +<p> +<div class="fragment"><pre>00142 {<span class="keywordflow">return</span> <span class="keyword">false</span>;} +</pre></div> </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CFlareShapen0" doxytag="NL3D::CFlareShape::CFlareModel" ></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="a02536.html">CFlareModel</a><code> [friend]</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="a05715.html#l00269">269</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypen0" doxytag="NL3D::CFlareShape::CPtrInfo" ></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 struct CPtrInfo<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="a06402.html#l00067">67</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CFlareShapep0" doxytag="NL3D::CFlareShape::_Attenuable" ></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="a02538.html#NL3D_1_1CFlareShapep0">NL3D::CFlareShape::_Attenuable</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00277">277</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +Referenced by <a class="el" href="a05715.html#l00192">getAttenuable()</a>, and <a class="el" href="a05715.html#l00189">setAttenuable()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapep1" doxytag="NL3D::CFlareShape::_AttenuationRange" ></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="a02538.html#NL3D_1_1CFlareShapep1">NL3D::CFlareShape::_AttenuationRange</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00278">278</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +Referenced by <a class="el" href="a05715.html#l00198">getAttenuationRange()</a>, and <a class="el" href="a05715.html#l00195">setAttenuationRange()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapep2" doxytag="NL3D::CFlareShape::_Color" ></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="a03337.html">NLMISC::CRGBA</a> <a class="el" href="a02538.html#NL3D_1_1CFlareShapep2">NL3D::CFlareShape::_Color</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00271">271</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +Referenced by <a class="el" href="a05715.html#l00154">getColor()</a>, and <a class="el" href="a05715.html#l00148">setColor()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapep3" doxytag="NL3D::CFlareShape::_DazzleAttenuationRange" ></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="a02538.html#NL3D_1_1CFlareShapep3">NL3D::CFlareShape::_DazzleAttenuationRange</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00281">281</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +Referenced by <a class="el" href="a05715.html#l00230">getDazzleAttenuationRange()</a>, and <a class="el" href="a05715.html#l00227">setDazzleAttenuationRange()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapep4" doxytag="NL3D::CFlareShape::_DazzleColor" ></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="a03337.html">NLMISC::CRGBA</a> <a class="el" href="a02538.html#NL3D_1_1CFlareShapep4">NL3D::CFlareShape::_DazzleColor</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00272">272</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +Referenced by <a class="el" href="a05715.html#l00221">getDazzleColor()</a>, and <a class="el" href="a05715.html#l00216">setDazzleColor()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapep5" doxytag="NL3D::CFlareShape::_DazzleEnabled" ></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="a02538.html#NL3D_1_1CFlareShapep5">NL3D::CFlareShape::_DazzleEnabled</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00280">280</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +Referenced by <a class="el" href="a05715.html#l00208">enableDazzle()</a>, and <a class="el" href="a05715.html#l00211">hasDazzle()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapeo0" doxytag="NL3D::CFlareShape::_DefaultPos" ></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="a03551.html">CTrackDefaultVector</a> <a class="el" href="a02538.html#NL3D_1_1CFlareShapeo0">NL3D::CFlareShape::_DefaultPos</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Transform default tracks. +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00259">259</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapep0" doxytag="NL3D::CFlareShape::_DistMax" ></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="a02539.html#NL3D_1_1IShapep0">NL3D::IShape::_DistMax</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Default to -1. +<p> + +<p> +Definition at line <a class="el" href="a06377.html#l00165">165</a> of file <a class="el" href="a06377.html">shape.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapep7" doxytag="NL3D::CFlareShape::_FirstFlareKeepSize" ></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="a02538.html#NL3D_1_1CFlareShapep7">NL3D::CFlareShape::_FirstFlareKeepSize</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00279">279</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +Referenced by <a class="el" href="a05715.html#l00205">getFirstFlareKeepSize()</a>, and <a class="el" href="a05715.html#l00202">setFirstFlareKeepSize()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapep8" doxytag="NL3D::CFlareShape::_InfiniteDist" ></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="a02538.html#NL3D_1_1CFlareShapep8">NL3D::CFlareShape::_InfiniteDist</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00284">284</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +Referenced by <a class="el" href="a05715.html#l00256">getFlareAtInfiniteDist()</a>, and <a class="el" href="a05715.html#l00253">setFlareAtInfiniteDist()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapep9" doxytag="NL3D::CFlareShape::_MaxViewDist" ></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="a02538.html#NL3D_1_1CFlareShapep9">NL3D::CFlareShape::_MaxViewDist</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00282">282</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +Referenced by <a class="el" href="a05715.html#l00239">getMaxViewDist()</a>, and <a class="el" href="a05715.html#l00235">setMaxViewDist()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapep10" doxytag="NL3D::CFlareShape::_MaxViewDistRatio" ></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="a02538.html#NL3D_1_1CFlareShapep10">NL3D::CFlareShape::_MaxViewDistRatio</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00283">283</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +Referenced by <a class="el" href="a05715.html#l00247">getMaxViewDistRatio()</a>, and <a class="el" href="a05715.html#l00244">setMaxViewDistRatio()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapep11" doxytag="NL3D::CFlareShape::_Persistence" ></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#a366">TAnimationTime</a> <a class="el" href="a02538.html#NL3D_1_1CFlareShapep11">NL3D::CFlareShape::_Persistence</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00275">275</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +Referenced by <a class="el" href="a05715.html#l00182">getPersistence()</a>, and <a class="el" href="a05715.html#l00174">setPersistence()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapep12" doxytag="NL3D::CFlareShape::_Pos" ></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="a02538.html#NL3D_1_1CFlareShapep12">NL3D::CFlareShape::_Pos</a>[<a class="el" href="a05363.html#a26">MaxFlareNum</a>]<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00274">274</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapep13" doxytag="NL3D::CFlareShape::_Size" ></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="a02538.html#NL3D_1_1CFlareShapep13">NL3D::CFlareShape::_Size</a>[<a class="el" href="a05363.html#a26">MaxFlareNum</a>]<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00273">273</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapep14" doxytag="NL3D::CFlareShape::_Spacing" ></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="a02538.html#NL3D_1_1CFlareShapep14">NL3D::CFlareShape::_Spacing</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00276">276</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. +<p> +Referenced by <a class="el" href="a05715.html#l00168">getFlareSpacing()</a>, and <a class="el" href="a05715.html#l00160">setFlareSpacing()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CFlareShapep15" doxytag="NL3D::CFlareShape::_Tex" ></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="a03408.html">NLMISC::CSmartPtr</a><<a class="el" href="a03487.html">ITexture</a>> <a class="el" href="a02538.html#NL3D_1_1CFlareShapep15">NL3D::CFlareShape::_Tex</a>[<a class="el" href="a05363.html#a26">MaxFlareNum</a>]<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05715.html#l00270">270</a> of file <a class="el" href="a05715.html">flare_shape.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypeo0" doxytag="NL3D::CFlareShape::crefs" ></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#a14">sint</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">NLMISC::CRefCount::crefs</a><code> [mutable, 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="a06402.html#l00079">79</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, <a class="el" href="a06402.html#l00070">NLMISC::CRefCount::getRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypes0" doxytag="NL3D::CFlareShape::NullPtrInfo" ></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="a03320.html">CRefCount::CPtrInfo</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NLMISC::CRefCount::NullPtrInfo</a><code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypeo1" doxytag="NL3D::CFlareShape::pinfo" ></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"> CPtrInfo* <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">NLMISC::CRefCount::pinfo</a><code> [mutable, 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="a06402.html#l00080">80</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05715.html">flare_shape.h</a><li><a class="el" href="a05714.html">flare_shape.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:46:56 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> |