diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02196.html | 1047 |
1 files changed, 1047 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02196.html b/docs/doxygen/nel/a02196.html new file mode 100644 index 00000000..e77a3efe --- /dev/null +++ b/docs/doxygen/nel/a02196.html @@ -0,0 +1,1047 @@ +<!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::CAnimatedLightmap 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::CAnimatedLightmap Class Reference</h1><code>#include <<a class="el" href="a05436.html">animated_lightmap.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CAnimatedLightmap: +<p><center><img src="a02196.png" usemap="#NL3D::CAnimatedLightmap_map" border="0" alt=""></center> +<map name="NL3D::CAnimatedLightmap_map"> +<area href="a02197.html" alt="NL3D::IAnimatable" shape="rect" coords="0,0,161,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +An animated lightmap <dl compact><dt><b>Author:</b></dt><dd>Matthieu Besson <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="a05436.html#l00047">47</a> of file <a class="el" href="a05436.html">animated_lightmap.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Herited from IAnimatable</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0">TAnimValues</a> { <a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw2">OwnerBit</a> = IAnimatable::AnimValueLast, +<a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw1">FactorValue</a>, +<a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw0">AnimValueLast</a> + }</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Added values. <a href="#NL3D_1_1CAnimatedLightmapz9_0">More...</a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03542.html">ITrack</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_1">getDefaultTrack</a> (<a class="el" href="a04558.html#a15">uint</a> valueId)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">From <a class="el" href="a02197.html">IAnimatable</a>. <a href="#NL3D_1_1CAnimatedLightmapz9_1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03835.html">IAnimatedValue</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_2">getValue</a> (<a class="el" href="a04558.html#a15">uint</a> valueId)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">From <a class="el" href="a02197.html">IAnimatable</a>. <a href="#NL3D_1_1CAnimatedLightmapz9_2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_3">getValueName</a> (<a class="el" href="a04558.html#a15">uint</a> valueId) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">From <a class="el" href="a02197.html">IAnimatable</a>. <a href="#NL3D_1_1CAnimatedLightmapz9_3"></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="a02196.html#NL3D_1_1CAnimatedLightmapz9_4">registerToChannelMixer</a> (<a class="el" href="a02335.html">CChannelMixer</a> *chanMixer, const std::string &prefix)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">From <a class="el" href="a02197.html">IAnimatable</a>. <a href="#NL3D_1_1CAnimatedLightmapz9_4"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></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="a02196.html#NL3D_1_1CAnimatedLightmapa0">getFactor</a> (<a class="el" href="a04558.html#a15">uint</a> group) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapa1">getName</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapa2">setName</a> (const std::string &<a class="el" href="a04223.html#a626">s</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapa3">updateGroupColors</a> (class <a class="el" href="a03348.html">NL3D::CScene</a> &scene)</td></tr> + +<tr><td colspan="2"><div class="groupHeader">ctor / setup.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapz7_0">CAnimatedLightmap</a> (<a class="el" href="a04558.html#a15">uint</a> lightmapGroup)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapz7_1">~CAnimatedLightmap</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Protected Member Functions</h2></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="a02197.html#NL3D_1_1ITransformableb0">addValue</a> (<a class="el" href="a02335.html">CChannelMixer</a> *chanMixer, <a class="el" href="a04558.html#a15">uint</a> valueId, <a class="el" href="a04558.html#a15">uint</a> ownerValueId, const std::string &prefix, bool detail)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02197.html#NL3D_1_1ITransformableb1">clearFlag</a> (<a class="el" href="a04558.html#a15">uint</a> valueId)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This method clear a bit in the bitset. <a href="#NL3D_1_1ITransformableb1"></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="a02197.html#NL3D_1_1ITransformableb2">setFlag</a> (<a class="el" href="a04558.html#a15">uint</a> valueId)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This method set a bit in the bitset. <a href="#NL3D_1_1ITransformableb2"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03549.html">CTrackDefaultRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapr0">_DefaultFactor</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02201.html">CAnimatedValueRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapr1">_Factor</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a03337.html">NLMISC::CRGBA</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapr2">_GroupColor</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapr3">_Name</a></td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NL3D_1_1CAnimatedLightmapz9_0" doxytag="NL3D::CAnimatedLightmap::TAnimValues" ></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"> enum <a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0">NL3D::CAnimatedLightmap::TAnimValues</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Added values. +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw2" doxytag="OwnerBit" ></a>OwnerBit</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw1" doxytag="FactorValue" ></a>FactorValue</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw0" doxytag="AnimValueLast" ></a>AnimValueLast</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Reimplemented from <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_0">NL3D::IAnimatable</a>. +<p> +Definition at line <a class="el" href="a05436.html#l00063">63</a> of file <a class="el" href="a05436.html">animated_lightmap.h</a>. +<p> +<div class="fragment"><pre>00064 { +00065 <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw2">OwnerBit</a>= IAnimatable::AnimValueLast, +00066 <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw1">FactorValue</a>, +00067 <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw0">AnimValueLast</a> +00068 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CAnimatedLightmapz7_0" doxytag="NL3D::CAnimatedLightmap::CAnimatedLightmap" ></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::CAnimatedLightmap::CAnimatedLightmap </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>lightmapGroup</em> </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> +Definition at line <a class="el" href="a05435.html#l00045">45</a> of file <a class="el" href="a05435.html">animated_lightmap.cpp</a>. +<p> +References <a class="el" href="a05436.html#l00106">_DefaultFactor</a>, <a class="el" href="a05436.html#l00105">_Factor</a>, <a class="el" href="a05436.html#l00107">_GroupColor</a>, <a class="el" href="a05442.html#l00101">NL3D::CAnimatedValueBlendable< T >::affect()</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable< T >::getValue()</a>, <a class="el" href="a06556.html#l00162">NL3D::CTrackDefaultBlendable< T >::setValue()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00046 { +00047 <span class="comment">// IAnimatable.</span> +00048 IAnimatable::resize( AnimValueLast ); +00049 +00050 <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapr0">_DefaultFactor</a>.setValue( <a class="code" href="a03337.html">CRGBA</a>(255,0,255,255) ); +00051 <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapr1">_Factor</a>.affect( <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapr0">_DefaultFactor</a>.getValue() ); +00052 <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapr2">_GroupColor</a>.resize (lightmapGroup, CRGBA::White); +00053 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedLightmapz7_1" doxytag="NL3D::CAnimatedLightmap::~CAnimatedLightmap" ></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 NL3D::CAnimatedLightmap::~<a class="el" href="a02196.html">CAnimatedLightmap</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> +Definition at line <a class="el" href="a05436.html#l00056">56</a> of file <a class="el" href="a05436.html">animated_lightmap.h</a>. +<p> +<div class="fragment"><pre>00056 {} +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1ITransformableb0" doxytag="NL3D::CAnimatedLightmap::addValue" ></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> NL3D::IAnimatable::addValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02335.html">CChannelMixer</a> * </td> + <td class="mdname" nowrap> <em>chanMixer</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>valueId</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>ownerValueId</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>prefix</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>detail</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This is a tool function which add a given value to a channel. <dl compact><dt><b>Returns:</b></dt><dd>-1 if the track was not found in the animationSet, else it return the channelId as if returned by CAnimationSet::getChannelIdByName(channelName).</dd></dl> + +<p> +Definition at line <a class="el" href="a05433.html#l00037">37</a> of file <a class="el" href="a05433.html">animatable.cpp</a>. +<p> +References <a class="el" href="a05543.html#l00306">NL3D::CChannelMixer::addChannel()</a>, <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_1">NL3D::IAnimatable::getDefaultTrack()</a>, <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_2">NL3D::IAnimatable::getValue()</a>, <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_3">NL3D::IAnimatable::getValueName()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06568.html#l00334">NL3D::CTransform::registerToChannelMixer()</a>, <a class="el" href="a06148.html#l00470">NL3D::CParticleSystemModel::registerToChannelMixer()</a>, <a class="el" href="a05530.html#l00151">NL3D::CCamera::registerToChannelMixer()</a>, <a class="el" href="a05491.html#l00141">NL3D::CBone::registerToChannelMixer()</a>, <a class="el" href="a05439.html#l00102">NL3D::CAnimatedMorph::registerToChannelMixer()</a>, <a class="el" href="a05437.html#l00376">NL3D::CAnimatedMaterial::registerToChannelMixer()</a>, and <a class="el" href="a05435.html#l00139">registerToChannelMixer()</a>. +<p> +<div class="fragment"><pre>00038 { +00039 <a class="code" href="a04199.html#a6">nlassert</a>(chanMixer); +00040 <span class="keywordflow">return</span> chanMixer->addChannel(prefix+<a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_3">getValueName</a>(valueId), <span class="keyword">this</span>, <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_2">getValue</a>(valueId), <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_1">getDefaultTrack</a>(valueId), valueId, ownerValueId, detail); +00041 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITransformableb1" doxytag="NL3D::CAnimatedLightmap::clearFlag" ></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::IAnimatable::clearFlag </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>valueId</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This method clear a bit in the bitset. +<p> + +<p> +Definition at line <a class="el" href="a05434.html#l00233">233</a> of file <a class="el" href="a05434.html">animatable.h</a>. +<p> +References <a class="el" href="a05434.html#l00206">NL3D::IAnimatable::_BitSet</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06574.html#l00124">NL3D::ITransformable::clearTransformFlags()</a>, <a class="el" href="a06148.html#l00619">NL3D::CParticleSystemModel::doAnimate()</a>, and <a class="el" href="a05437.html#l00197">NL3D::CAnimatedMaterial::update()</a>. +<p> +<div class="fragment"><pre>00234 { +00235 _BitSet&= ~(1<<valueId); +00236 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedLightmapz9_1" doxytag="NL3D::CAnimatedLightmap::getDefaultTrack" ></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="a03542.html">ITrack</a> * NL3D::CAnimatedLightmap::getDefaultTrack </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>valueId</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> +From <a class="el" href="a02197.html">IAnimatable</a>. +<p> + +<p> +Implements <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_1">NL3D::IAnimatable</a>. +<p> +Definition at line <a class="el" href="a05435.html#l00125">125</a> of file <a class="el" href="a05435.html">animated_lightmap.cpp</a>. +<p> +References <a class="el" href="a05436.html#l00106">_DefaultFactor</a>, <a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw1">FactorValue</a>, <a class="el" href="a05622.html#l00416">nlstop</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06348.html#l01112">NL3D::CScene::setAutomaticAnimationSet()</a>. +<p> +<div class="fragment"><pre>00126 { +00127 <span class="comment">//nlassert(_LightmapBase);</span> +00128 +00129 <span class="keywordflow">switch</span>(valueId) +00130 { +00131 <span class="keywordflow">case</span> <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw1">FactorValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapr0">_DefaultFactor</a>; +00132 }; +00133 +00134 <span class="comment">// should not be here!!</span> +00135 <a class="code" href="a04199.html#a12">nlstop</a>; +00136 <span class="keywordflow">return</span> NULL; +00137 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedLightmapa0" doxytag="NL3D::CAnimatedLightmap::getFactor" ></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::CAnimatedLightmap::getFactor </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>group</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> + +<p> +Definition at line <a class="el" href="a05436.html#l00090">90</a> of file <a class="el" href="a05436.html">animated_lightmap.h</a>. +<p> +References <a class="el" href="a05436.html#l00105">_Factor</a>, <a class="el" href="a05436.html#l00107">_GroupColor</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05442.html#l00116">NL3D::CAnimatedValueBlendable< T >::Value</a>. +<p> +<div class="fragment"><pre>00091 { +00092 <span class="keywordflow">if</span> (group < <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapr2">_GroupColor</a>.size ()) +00093 <span class="keywordflow">return</span> <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapr2">_GroupColor</a>[group]; +00094 <span class="keywordflow">else</span> +00095 <span class="keywordflow">return</span> <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapr1">_Factor</a>.Value; +00096 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedLightmapa1" doxytag="NL3D::CAnimatedLightmap::getName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string NL3D::CAnimatedLightmap::getName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05436.html#l00085">85</a> of file <a class="el" href="a05436.html">animated_lightmap.h</a>. +<p> +References <a class="el" href="a05436.html#l00101">_Name</a>. +<p> +Referenced by <a class="el" href="a06348.html#l01112">NL3D::CScene::setAutomaticAnimationSet()</a>. +<p> +<div class="fragment"><pre>00085 { <span class="keywordflow">return</span> <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapr3">_Name</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedLightmapz9_2" doxytag="NL3D::CAnimatedLightmap::getValue" ></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="a03835.html">IAnimatedValue</a> * NL3D::CAnimatedLightmap::getValue </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>valueId</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> +From <a class="el" href="a02197.html">IAnimatable</a>. +<p> + +<p> +Implements <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_2">NL3D::IAnimatable</a>. +<p> +Definition at line <a class="el" href="a05435.html#l00101">101</a> of file <a class="el" href="a05435.html">animated_lightmap.cpp</a>. +<p> +References <a class="el" href="a05436.html#l00105">_Factor</a>, <a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw1">FactorValue</a>, <a class="el" href="a05622.html#l00416">nlstop</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06348.html#l01112">NL3D::CScene::setAutomaticAnimationSet()</a>. +<p> +<div class="fragment"><pre>00102 { +00103 <span class="keywordflow">switch</span>(valueId) +00104 { +00105 <span class="keywordflow">case</span> <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw1">FactorValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapr1">_Factor</a>; +00106 }; +00107 +00108 <span class="comment">// should not be here!!</span> +00109 <a class="code" href="a04199.html#a12">nlstop</a>; +00110 <span class="keywordflow">return</span> NULL; +00111 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedLightmapz9_3" doxytag="NL3D::CAnimatedLightmap::getValueName" ></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 char * NL3D::CAnimatedLightmap::getValueName </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>valueId</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> +From <a class="el" href="a02197.html">IAnimatable</a>. +<p> + +<p> +Implements <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_3">NL3D::IAnimatable</a>. +<p> +Definition at line <a class="el" href="a05435.html#l00113">113</a> of file <a class="el" href="a05435.html">animated_lightmap.cpp</a>. +<p> +References <a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw1">FactorValue</a>, <a class="el" href="a05622.html#l00416">nlstop</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00114 { +00115 <span class="keywordflow">switch</span>(valueId) +00116 { +00117 <span class="keywordflow">case</span> <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw1">FactorValue</a>: <a class="code" href="a04199.html#a12">nlstop</a>; <span class="keywordflow">return</span> <span class="stringliteral">"???"</span>; +00118 }; +00119 +00120 <span class="comment">// should not be here!!</span> +00121 <a class="code" href="a04199.html#a12">nlstop</a>; +00122 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00123 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITransformablez5_0" doxytag="NL3D::CAnimatedLightmap::isTouched" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::IAnimatable::isTouched </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>valueId</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return non 0 int if the value as been touched else 0.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>valueId</em> </td><td>is the animated value ID in the object we want to test the touch flag. or it may be an OwnerBit.</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a05434.html#l00184">184</a> of file <a class="el" href="a05434.html">animatable.h</a>. +<p> +References <a class="el" href="a05434.html#l00206">NL3D::IAnimatable::_BitSet</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06148.html#l00619">NL3D::CParticleSystemModel::doAnimate()</a>, <a class="el" href="a06575.html#l00334">NL3D::ITransformable::needCompute()</a>, <a class="el" href="a05434.html#l00212">NL3D::IAnimatable::propagateTouch()</a>, and <a class="el" href="a05437.html#l00197">NL3D::CAnimatedMaterial::update()</a>. +<p> +<div class="fragment"><pre>00185 { +00186 <span class="keywordflow">return</span> _BitSet&(1<<valueId); +00187 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedLightmapz9_4" doxytag="NL3D::CAnimatedLightmap::registerToChannelMixer" ></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::CAnimatedLightmap::registerToChannelMixer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02335.html">CChannelMixer</a> * </td> + <td class="mdname" nowrap> <em>chanMixer</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>prefix</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> +From <a class="el" href="a02197.html">IAnimatable</a>. +<p> + +<p> +Implements <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_4">NL3D::IAnimatable</a>. +<p> +Definition at line <a class="el" href="a05435.html#l00139">139</a> of file <a class="el" href="a05435.html">animated_lightmap.cpp</a>. +<p> +References <a class="el" href="a05433.html#l00037">NL3D::IAnimatable::addValue()</a>, <a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw1">FactorValue</a>, and <a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapz9_0NL3D_1_1CAnimatedLightmapw2">OwnerBit</a>. +<p> +<div class="fragment"><pre>00140 { +00141 <span class="comment">// For CAnimatedLightmap, channels are detailled (Lightmap rendered after clip)!</span> +00142 <a class="code" href="a02197.html#NL3D_1_1ITransformableb0">addValue</a>(chanMixer, FactorValue, OwnerBit, prefix, <span class="keyword">true</span>); +00143 +00144 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITransformablez5_1" doxytag="NL3D::CAnimatedLightmap::resize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::IAnimatable::resize </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>count</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Change value count, bit are set to 0<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>count</em> </td><td>is the new value count.</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a05434.html#l00195">195</a> of file <a class="el" href="a05434.html">animatable.h</a>. +<p> +References <a class="el" href="a05646.html#l00240">count</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>00196 { +00197 <span class="comment">// with the "uint32 _BitSet" implementation, juste check the size is correct</span> +00198 <a class="code" href="a04199.html#a6">nlassert</a>(count<=32); +00199 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITransformablez5_2" doxytag="NL3D::CAnimatedLightmap::setFather" ></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::IAnimatable::setFather </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02197.html">IAnimatable</a> * </td> + <td class="mdname" nowrap> <em>father</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>fatherOwnerBit</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Say which (if any) <a class="el" href="a02197.html">IAnimatable</a> owns this one. This is important for Touch propagation. By this system, Fathers and ancestors know if they must check their sons (<a class="el" href="a02197.html#NL3D_1_1ITransformablez5_0">isTouched()</a> return true).<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>father</em> </td><td>the father we must inform of our update. </td></tr> + <tr><td valign=top><em>fatherOwnerBit</em> </td><td>What bit of father we must set when we are updated</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a05434.html#l00153">153</a> of file <a class="el" href="a05434.html">animatable.h</a>. +<p> +References <a class="el" href="a05434.html#l00208">NL3D::IAnimatable::_Father</a>, <a class="el" href="a05434.html#l00210">NL3D::IAnimatable::_FatherOwnerBit</a>, <a class="el" href="a05434.html#l00212">NL3D::IAnimatable::propagateTouch()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, and <a class="el" href="a06358.html#l00424">NL3D::CSegRemanence::setAnimatedMaterial()</a>. +<p> +<div class="fragment"><pre>00154 { +00155 _Father= father; _FatherOwnerBit= fatherOwnerBit; +00156 +00157 <span class="comment">// propagate the touch to the fathers.</span> +00158 <a class="code" href="a02197.html#NL3D_1_1IAnimatabled0">propagateTouch</a>(); +00159 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITransformableb2" doxytag="NL3D::CAnimatedLightmap::setFlag" ></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::IAnimatable::setFlag </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>valueId</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This method set a bit in the bitset. +<p> + +<p> +Definition at line <a class="el" href="a05434.html#l00239">239</a> of file <a class="el" href="a05434.html">animatable.h</a>. +<p> +References <a class="el" href="a05434.html#l00206">NL3D::IAnimatable::_BitSet</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05434.html#l00212">NL3D::IAnimatable::propagateTouch()</a>, and <a class="el" href="a05434.html#l00168">NL3D::IAnimatable::touch()</a>. +<p> +<div class="fragment"><pre>00240 { +00241 _BitSet|= (1<<valueId); +00242 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedLightmapa2" doxytag="NL3D::CAnimatedLightmap::setName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CAnimatedLightmap::setName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>s</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> + +<p> +Definition at line <a class="el" href="a05436.html#l00084">84</a> of file <a class="el" href="a05436.html">animated_lightmap.h</a>. +<p> +References <a class="el" href="a05436.html#l00101">_Name</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +Referenced by <a class="el" href="a06348.html#l01112">NL3D::CScene::setAutomaticAnimationSet()</a>. +<p> +<div class="fragment"><pre>00084 { <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapr3">_Name</a> = <a class="code" href="a04223.html#a626">s</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITransformablez5_3" doxytag="NL3D::CAnimatedLightmap::touch" ></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::IAnimatable::touch </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>valueId</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>ownerValueId</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Touch a value because it has been modified.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>valueId</em> </td><td>is the animated value ID in the object we want to touch. </td></tr> + <tr><td valign=top><em>ownerValueId</em> </td><td>is the bit of the <a class="el" href="a02197.html">IAnimatable</a> part which owns this animated value.</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a05434.html#l00168">168</a> of file <a class="el" href="a05434.html">animatable.h</a>. +<p> +References <a class="el" href="a05434.html#l00212">NL3D::IAnimatable::propagateTouch()</a>, <a class="el" href="a05434.html#l00239">NL3D::IAnimatable::setFlag()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05543.html#l00154">NL3D::CChannelMixer::eval()</a>, <a class="el" href="a05543.html#l00083">NL3D::CChannelMixer::evalSingleChannel()</a>, <a class="el" href="a06148.html#l00249">NL3D::CParticleSystemModel::reallocRsc()</a>, <a class="el" href="a05543.html#l00621">NL3D::CChannelMixer::refreshList()</a>, <a class="el" href="a05531.html#l00154">NL3D::CCamera::setFov()</a>, <a class="el" href="a06575.html#l00162">NL3D::ITransformable::setPivot()</a>, <a class="el" href="a06575.html#l00114">NL3D::ITransformable::setPos()</a>, <a class="el" href="a05531.html#l00147">NL3D::CCamera::setRoll()</a>, <a class="el" href="a06575.html#l00126">NL3D::ITransformable::setRotEuler()</a>, <a class="el" href="a06575.html#l00138">NL3D::ITransformable::setRotQuat()</a>, <a class="el" href="a06575.html#l00145">NL3D::ITransformable::setScale()</a>, <a class="el" href="a05531.html#l00135">NL3D::CCamera::setTargetPos()</a>, <a class="el" href="a06575.html#l00100">NL3D::ITransformable::setTransformMode()</a>, and <a class="el" href="a06144.html#l00100">NL3D::CParticleSystemInstanceUser::setUserParam()</a>. +<p> +<div class="fragment"><pre>00169 { +00170 <span class="comment">// Set the bit</span> +00171 <a class="code" href="a02197.html#NL3D_1_1ITransformableb2">setFlag</a>(valueId); +00172 <span class="comment">// Set the owner bit</span> +00173 <a class="code" href="a02197.html#NL3D_1_1ITransformableb2">setFlag</a>(ownerValueId); +00174 +00175 <span class="comment">// propagate the touch to the fathers.</span> +00176 <a class="code" href="a02197.html#NL3D_1_1IAnimatabled0">propagateTouch</a>(); +00177 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedLightmapa3" doxytag="NL3D::CAnimatedLightmap::updateGroupColors" ></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::CAnimatedLightmap::updateGroupColors </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">class <a class="el" href="a03348.html">NL3D::CScene</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>scene</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05435.html#l00148">148</a> of file <a class="el" href="a05435.html">animated_lightmap.cpp</a>. +<p> +References <a class="el" href="a05436.html#l00105">_Factor</a>, <a class="el" href="a05436.html#l00107">_GroupColor</a>, <a class="el" href="a05646.html#l00240">count</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05442.html#l00116">NL3D::CAnimatedValueBlendable< T >::Value</a>. +<p> +<div class="fragment"><pre>00149 { +00150 <span class="comment">// For each colors</span> +00151 <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a577">count</a> = scene.getNumLightGroup (); +00152 <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapr2">_GroupColor</a>.resize (count); +00153 <a class="code" href="a04558.html#a15">uint</a> i; +00154 <span class="keywordflow">for</span> (i=0; i<<a class="code" href="a04223.html#a577">count</a>; i++) +00155 { +00156 <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapr2">_GroupColor</a>[i].modulateFromColor (scene.getLightmapGroupColor (i), <a class="code" href="a02196.html#NL3D_1_1CAnimatedLightmapr1">_Factor</a>.Value); +00157 } +00158 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CAnimatedLightmapr0" doxytag="NL3D::CAnimatedLightmap::_DefaultFactor" ></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="a03549.html">CTrackDefaultRGBA</a> <a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapr0">NL3D::CAnimatedLightmap::_DefaultFactor</a><code> [private]</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="a05436.html#l00106">106</a> of file <a class="el" href="a05436.html">animated_lightmap.h</a>. +<p> +Referenced by <a class="el" href="a05435.html#l00045">CAnimatedLightmap()</a>, and <a class="el" href="a05435.html#l00125">getDefaultTrack()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedLightmapr1" doxytag="NL3D::CAnimatedLightmap::_Factor" ></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="a02201.html">CAnimatedValueRGBA</a> <a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapr1">NL3D::CAnimatedLightmap::_Factor</a><code> [private]</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="a05436.html#l00105">105</a> of file <a class="el" href="a05436.html">animated_lightmap.h</a>. +<p> +Referenced by <a class="el" href="a05435.html#l00045">CAnimatedLightmap()</a>, <a class="el" href="a05436.html#l00090">getFactor()</a>, <a class="el" href="a05435.html#l00101">getValue()</a>, and <a class="el" href="a05435.html#l00148">updateGroupColors()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedLightmapr2" doxytag="NL3D::CAnimatedLightmap::_GroupColor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="a03337.html">NLMISC::CRGBA</a>> <a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapr2">NL3D::CAnimatedLightmap::_GroupColor</a><code> [private]</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="a05436.html#l00107">107</a> of file <a class="el" href="a05436.html">animated_lightmap.h</a>. +<p> +Referenced by <a class="el" href="a05435.html#l00045">CAnimatedLightmap()</a>, <a class="el" href="a05436.html#l00090">getFactor()</a>, and <a class="el" href="a05435.html#l00148">updateGroupColors()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedLightmapr3" doxytag="NL3D::CAnimatedLightmap::_Name" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string <a class="el" href="a02196.html#NL3D_1_1CAnimatedLightmapr3">NL3D::CAnimatedLightmap::_Name</a><code> [private]</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="a05436.html#l00101">101</a> of file <a class="el" href="a05436.html">animated_lightmap.h</a>. +<p> +Referenced by <a class="el" href="a05436.html#l00085">getName()</a>, and <a class="el" href="a05436.html#l00084">setName()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05436.html">animated_lightmap.h</a><li><a class="el" href="a05435.html">animated_lightmap.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:44:21 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> |