aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02673.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a02673.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a02673.html')
-rw-r--r--docs/doxygen/nel/a02673.html2757
1 files changed, 2757 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02673.html b/docs/doxygen/nel/a02673.html
new file mode 100644
index 00000000..f7244732
--- /dev/null
+++ b/docs/doxygen/nel/a02673.html
@@ -0,0 +1,2757 @@
+<!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::CInstanceGroupUser 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NL3D::CInstanceGroupUser Class Reference</h1><code>#include &lt;<a class="el" href="a05823.html">instance_group_user.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CInstanceGroupUser:
+<p><center><img src="a02673.png" usemap="#NL3D::CInstanceGroupUser_map" border="0" alt=""></center>
+<map name="NL3D::CInstanceGroupUser_map">
+<area href="a02674.html" alt="NL3D::UInstanceGroup" shape="rect" coords="0,0,167,24">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Implementation of the user interface managing instance groups.<p>
+<dl compact><dt><b>Author:</b></dt><dd>Cyril 'Hulud' Corvazier <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="a05823.html#l00055">55</a> of file <a class="el" href="a05823.html">instance_group_user.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02674.html#NL3D_1_1UInstanceGroupw4">TState</a> { <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw3">StateNotAdded</a> = 0,
+<a class="el" href="a02674.html#NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw1">StateAdding</a>,
+<a class="el" href="a02674.html#NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw0">StateAdded</a>,
+<a class="el" href="a02674.html#NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw2">StateError</a>
+ }</td></tr>
+
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUsera0">CInstanceGroupUser</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02671.html">CInstanceGroup</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUsera1">getInternalIG</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUsera2">init</a> (const std::string &amp;instanceGroup)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUsera3">~CInstanceGroupUser</a> ()</td></tr>
+
+<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02674.html">UInstanceGroup</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02674.html#NL3D_1_1UInstanceGroupe0">createInstanceGroup</a> (const std::string &amp;instanceGroup)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02674.html#NL3D_1_1UInstanceGroupe1">createInstanceGroupAsync</a> (const std::string &amp;instanceGroup, <a class="el" href="a02674.html">UInstanceGroup</a> **pIG)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02674.html#NL3D_1_1UInstanceGroupe2">stopCreateInstanceGroupAsync</a> (<a class="el" href="a02674.html">UInstanceGroup</a> **pIG)</td></tr>
+
+<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd0">addToScene</a> (class <a class="el" href="a03348.html">CScene</a> &amp;scene, <a class="el" href="a02434.html">IDriver</a> *driver, <a class="el" href="a04558.html#a15">uint</a> selectedTexture)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd1">addToScene</a> (class <a class="el" href="a03351.html">UScene</a> &amp;scene, <a class="el" href="a02438.html">UDriver</a> *driver, <a class="el" href="a04558.html#a15">uint</a> selectedTexture)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd2">addToSceneAsync</a> (class <a class="el" href="a03351.html">UScene</a> &amp;scene, <a class="el" href="a02438.html">UDriver</a> *driver, <a class="el" href="a04558.html#a15">uint</a> selectedTexture)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd3">createRoot</a> (<a class="el" href="a03351.html">UScene</a> &amp;scene)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd4">displayDebugClusters</a> (<a class="el" href="a02438.html">UDriver</a> *drv, <a class="el" href="a03485.html">UTextContext</a> *txtCtx)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">For debug purpose, display clusters as poly/lines. The matrixs and frustum should have been setuped. <a href="#NL3D_1_1CInstanceGroupUserd4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd5">freezeHRC</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">see <a class="el" href="a02321.html#NL3D_1_1UTransformz1582_0">UTransform::freezeHRC()</a>. Do it for all instances (not clusters), and for the root of the IG. <a href="#NL3D_1_1CInstanceGroupUserd5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02674.html#NL3D_1_1UInstanceGroupw4">TState</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd6">getAddToSceneState</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03047.html">UInstance</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd7">getByName</a> (std::string &amp;name) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03047.html">UInstance</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd8">getByName</a> (std::string &amp;name)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd9">getCoarseMeshDist</a> (<a class="el" href="a04558.html#a15">uint</a> instance) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd10">getDistMax</a> (<a class="el" href="a04558.html#a15">uint</a> instance) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd11">getDynamicPortal</a> (std::string &amp;name)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd12">getDynamicPortals</a> (std::vector&lt; std::string &gt; &amp;names)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03047.html">UInstance</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd13">getInstance</a> (<a class="el" href="a04558.html#a15">uint</a> instanceNb)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a03047.html">UInstance</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd14">getInstance</a> (<a class="el" href="a04558.html#a15">uint</a> instanceNb) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd15">getInstanceMatrix</a> (<a class="el" href="a04558.html#a15">uint</a> instanceNb, <a class="el" href="a02851.html">NLMISC::CMatrix</a> &amp;dest) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const std::string &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd16">getInstanceName</a> (<a class="el" href="a04558.html#a15">uint</a> instanceNb) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd17">getInstancePos</a> (<a class="el" href="a04558.html#a15">uint</a> instanceNb) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03296.html">NLMISC::CQuat</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd18">getInstanceRot</a> (<a class="el" href="a04558.html#a15">uint</a> instanceNb) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd19">getInstanceScale</a> (<a class="el" href="a04558.html#a15">uint</a> instanceNb) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd20">getNumInstance</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02674.html">UInstanceGroup</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd21">getParentCluster</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd22">getPos</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03296.html">NLMISC::CQuat</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd23">getRotQuat</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const std::string &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd24">getShapeName</a> (<a class="el" href="a04558.html#a15">uint</a> instanceNb) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd25">getStaticLightSetup</a> (<a class="el" href="a04558.html#a15">uint</a> retrieverIdentifier, <a class="el" href="a04558.html#a14">sint</a> surfaceId, const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;localPos, std::vector&lt; <a class="el" href="a03092.html">CPointLightInfluence</a> &gt; &amp;pointLightList, <a class="el" href="a04558.html#a7">uint8</a> &amp;sunContribution, <a class="el" href="a03337.html">NLMISC::CRGBA</a> &amp;localAmbient)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd26">linkToParentCluster</a> (<a class="el" href="a02674.html">UInstanceGroup</a> *father)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd27">removeFromScene</a> (class <a class="el" href="a03351.html">UScene</a> &amp;scene)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd28">removeInstancesUser</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd29">setAddRemoveInstanceCallback</a> (<a class="el" href="a03832.html">IAddRemoveInstance</a> *callback)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set a callback to know when an instance has been added / removed from scene <a href="#NL3D_1_1CInstanceGroupUserd29"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd30">setBlendShapeFactor</a> (const std::string &amp;bsName, float rFactor)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd31">setClusterSystemForInstances</a> (<a class="el" href="a02674.html">UInstanceGroup</a> *pClusterSystem)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd32">setCoarseMeshDist</a> (<a class="el" href="a04558.html#a15">uint</a> instance, float dist)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd33">setDistMax</a> (<a class="el" href="a04558.html#a15">uint</a> instance, float dist)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd34">setDynamicPortal</a> (std::string &amp;name, bool opened)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd35">setIGAddBeginCallback</a> (<a class="el" href="a03856.html">IIGAddBegin</a> *callback)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set a callback to know when an instance group is being created, and how many instances it contains. <a href="#NL3D_1_1CInstanceGroupUserd35"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd36">setPos</a> (const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;pos)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd37">setRotQuat</a> (const <a class="el" href="a03296.html">NLMISC::CQuat</a> &amp;<a class="el" href="a04223.html#a629">q</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd38">setTransformNameCallback</a> (<a class="el" href="a03882.html">ITransformName</a> *pTN)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd39">stopAddToSceneAsync</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd40">unfreezeHRC</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">see <a class="el" href="a02321.html#NL3D_1_1UTransformz1582_1">UTransform::unfreezeHRC()</a>. Do it for all instances (not clusters), and for the root of the IG. <a href="#NL3D_1_1CInstanceGroupUserd40"></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="a02674.html#NL3D_1_1UInstanceGroupw4">TState</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserr0">_AddToSceneState</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02438.html">UDriver</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserr1">_AddToSceneTempDriver</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03351.html">UScene</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserr2">_AddToSceneTempScene</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02671.html">CInstanceGroup</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::map&lt; std::string, <a class="el" href="a02683.html">CInstanceUser</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserr4">_InstanceMap</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a02683.html">CInstanceUser</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserr5">_Instances</a></td></tr>
+
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>class&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUsern0">CSceneUser</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUsern1">CTransformUser</a></td></tr>
+
+</table>
+<hr><h2>Member Enumeration Documentation</h2>
+<a class="anchor" name="NL3D_1_1UInstanceGroupw4" doxytag="NL3D::CInstanceGroupUser::TState" ></a><p>
+<table class="mdTable" 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="a02674.html#NL3D_1_1UInstanceGroupw4">NL3D::UInstanceGroup::TState</a><code> [inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<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_1UInstanceGroupw4NL3D_1_1UInstanceGroupw3" doxytag="StateNotAdded" ></a>StateNotAdded</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw1" doxytag="StateAdding" ></a>StateAdding</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw0" doxytag="StateAdded" ></a>StateAdded</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw2" doxytag="StateError" ></a>StateError</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06608.html#l00109">109</a> of file <a class="el" href="a06608.html">u_instance_group.h</a>.
+<p>
+<div class="fragment"><pre>00109 { <a class="code" href="a02674.html#NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw3">StateNotAdded</a> = 0, <a class="code" href="a02674.html#NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw1">StateAdding</a>, <a class="code" href="a02674.html#NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw0">StateAdded</a>, <a class="code" href="a02674.html#NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw2">StateError</a> };
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUsera0" doxytag="NL3D::CInstanceGroupUser::CInstanceGroupUser" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::CInstanceGroupUser </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05822.html#l00091">91</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00126">_AddToSceneState</a>, <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a06351.html#l00250">NL3D::CInstanceGroup::setUserInterface()</a>.
+<p>
+<div class="fragment"><pre>00092 {
+00093 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00094 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr0">_AddToSceneState</a> = <a class="code" href="a02674.html#NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw3">StateNotAdded</a>;
+00095
+00096 <span class="comment">// set user info for possible get</span>
+00097 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.setUserInterface(<span class="keyword">this</span>);
+00098 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUsera3" doxytag="NL3D::CInstanceGroupUser::~CInstanceGroupUser" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::~<a class="el" href="a02673.html">CInstanceGroupUser</a> </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05822.html#l00101">101</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05822.html#l00537">removeInstancesUser()</a>.
+<p>
+<div class="fragment"><pre>00102 {
+00103 <span class="comment">// ensure all instances proxys are deleted</span>
+00104 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserd28">removeInstancesUser</a>();
+00105 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd0" doxytag="NL3D::CInstanceGroupUser::addToScene" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::addToScene </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">class <a class="el" href="a03348.html">CScene</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>scene</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02434.html">IDriver</a> *&nbsp;</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>selectedTexture</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05822.html#l00186">186</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a05823.html#l00124">_InstanceMap</a>, <a class="el" href="a06351.html#l00381">NL3D::CInstanceGroup::_Instances</a>, <a class="el" href="a06350.html#l00503">NL3D::CInstanceGroup::addToScene()</a>, <a class="el" href="a06350.html#l00173">NL3D::CInstanceGroup::getInstanceName()</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00187 {
+00188 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00189 <span class="keywordflow">if</span> (!<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.addToScene (scene, driver, selectedTexture))
+00190 <span class="keywordflow">return</span>;
+00191 <span class="comment">// Fill in the vector and the map accelerating search of instance by names</span>
+00192 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr5">_Instances</a>.resize(<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances.size(), NULL);
+00193 <span class="keywordflow">for</span>( <a class="code" href="a04558.html#a11">uint32</a> i = 0; i &lt; <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances.size(); ++i)
+00194 {
+00195 CInstanceUser *pIU = NULL;
+00196 string stmp;
+00197 <span class="keywordflow">if</span> (<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances[i] != NULL)
+00198 {
+00199 <span class="comment">// create but don't want to delete from scene, since added/removed with _InstanceGroup</span>
+00200 pIU = <span class="keyword">new</span> CInstanceUser (NULL, <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances[i], <span class="keyword">false</span>);
+00201 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr5">_Instances</a>[i]= pIU;
+00202 <span class="comment">// insert in map (may fail if double name)</span>
+00203 stmp = <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getInstanceName (i);
+00204 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr4">_InstanceMap</a>.insert (map&lt;string,CInstanceUser*&gt;::value_type(stmp, pIU));
+00205 }
+00206 }
+00207 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd1" doxytag="NL3D::CInstanceGroupUser::addToScene" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::addToScene </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">class <a class="el" href="a03351.html">UScene</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>scene</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02438.html">UDriver</a> *&nbsp;</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>selectedTexture</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add all the instances to the scene. By default, <a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserd5">freezeHRC()</a> those instances and the root.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>scene</em>&nbsp;</td><td>is the scene in which you want to add the instance group. </td></tr>
+ <tr><td valign=top><em>driver</em>&nbsp;</td><td>is a pointer to a driver. If this pointer is not NULL, the textures used by the shapes will be preloaded in this driver. If the pointer is NULL (default), textures will ve loaded when the shape will be used.</td></tr>
+ </table>
+</dl>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa0">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00167">167</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00168 {
+00169 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00170 <span class="comment">// Get driver pointer</span>
+00171 IDriver *cDriver= driver ? NLMISC::safe_cast&lt;CDriverUser*&gt;(driver)-&gt;getDriver() : NULL;
+00172
+00173 <span class="comment">// Add to the scene</span>
+00174 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserd1">addToScene</a> (((CSceneUser*)&amp;scene)-&gt;getScene(), cDriver, selectedTexture);
+00175 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd2" doxytag="NL3D::CInstanceGroupUser::addToSceneAsync" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::addToSceneAsync </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">class <a class="el" href="a03351.html">UScene</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>scene</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02438.html">UDriver</a> *&nbsp;</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>selectedTexture</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa1">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00210">210</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00126">_AddToSceneState</a>, <a class="el" href="a05823.html#l00128">_AddToSceneTempDriver</a>, <a class="el" href="a05823.html#l00127">_AddToSceneTempScene</a>, <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06350.html#l00766">NL3D::CInstanceGroup::addToSceneAsync()</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00211 {
+00212 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00213 IDriver *cDriver= driver ? NLMISC::safe_cast&lt;CDriverUser*&gt;(driver)-&gt;getDriver() : NULL;
+00214 <span class="comment">// Add to the scene</span>
+00215 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.addToSceneAsync (((CSceneUser*)&amp;scene)-&gt;getScene(), cDriver, selectedTexture);
+00216 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr0">_AddToSceneState</a> = <a class="code" href="a02674.html#NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw1">StateAdding</a>;
+00217 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr2">_AddToSceneTempScene</a> = &amp;scene;
+00218 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr1">_AddToSceneTempDriver</a> = driver;
+00219 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1UInstanceGroupe0" doxytag="NL3D::CInstanceGroupUser::createInstanceGroup" ></a><p>
+<table class="mdTable" 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="a02674.html">UInstanceGroup</a> * NL3D::UInstanceGroup::createInstanceGroup </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>instanceGroup</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [static, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This is the static function create a stand alone instance group.
+<p>
+Definition at line <a class="el" href="a05822.html#l00045">45</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>.
+<p>
+<div class="fragment"><pre>00046 {
+00047 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00048 <span class="comment">// Create the instance group</span>
+00049 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUsera0">CInstanceGroupUser</a> *user=<span class="keyword">new</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUsera0">CInstanceGroupUser</a>;
+00050
+00051 <span class="comment">// Init the class</span>
+00052 <span class="keywordflow">if</span> (!user-&gt;init (instanceGroup))
+00053 {
+00054 <span class="comment">// Prb, erase it</span>
+00055 <span class="keyword">delete</span> user;
+00056
+00057 <span class="comment">// Return error code</span>
+00058 <span class="keywordflow">return</span> NULL;
+00059 }
+00060
+00061 <span class="comment">// return the good value</span>
+00062 <span class="keywordflow">return</span> user;
+00063 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1UInstanceGroupe1" doxytag="NL3D::CInstanceGroupUser::createInstanceGroupAsync" ></a><p>
+<table class="mdTable" 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::UInstanceGroup::createInstanceGroupAsync </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>instanceGroup</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02674.html">UInstanceGroup</a> **&nbsp;</td>
+ <td class="mdname" nowrap> <em>pIG</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05822.html#l00067">67</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>.
+<p>
+<div class="fragment"><pre>00068 {
+00069 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00070 CAsyncFileManager3D::getInstance().loadIGUser (instanceGroup, pIG);
+00071 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd3" doxytag="NL3D::CInstanceGroupUser::createRoot" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::createRoot </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03351.html">UScene</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>scene</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Create the link between scene and instance group before the addToScene to allow the instance group to be moved without being linked to a father cluster system.
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa2">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00362">362</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06350.html#l00476">NL3D::CInstanceGroup::createRoot()</a>, and <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>.
+<p>
+<div class="fragment"><pre>00363 {
+00364 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00365 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.createRoot (((CSceneUser*)&amp;scene)-&gt;getScene());
+00366 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd4" doxytag="NL3D::CInstanceGroupUser::displayDebugClusters" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::displayDebugClusters </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02438.html">UDriver</a> *&nbsp;</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="a03485.html">UTextContext</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>txtCtx</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+For debug purpose, display clusters as poly/lines. The matrixs and frustum should have been setuped.
+<p>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa3">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00563">563</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, and <a class="el" href="a06350.html#l01224">NL3D::CInstanceGroup::displayDebugClusters()</a>.
+<p>
+<div class="fragment"><pre>00564 {
+00565 <span class="keywordflow">if</span>(!drv)
+00566 <span class="keywordflow">return</span>;
+00567 CTextContext *pTxtCtx= NULL;
+00568 <span class="keywordflow">if</span>(txtCtx)
+00569 pTxtCtx= &amp;((CTextContextUser*)txtCtx)-&gt;getTextContext();
+00570 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.displayDebugClusters(((CDriverUser*)drv)-&gt;getDriver(), pTxtCtx);
+00571
+00572 <span class="comment">// restore the matrix context cause of font rendering</span>
+00573 ((CDriverUser*)drv)-&gt;restoreMatrixContext();
+00574 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd5" doxytag="NL3D::CInstanceGroupUser::freezeHRC" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::freezeHRC </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+see <a class="el" href="a02321.html#NL3D_1_1UTransformz1582_0">UTransform::freezeHRC()</a>. Do it for all instances (not clusters), and for the root of the IG.
+<p>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa4">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00439">439</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06350.html#l01132">NL3D::CInstanceGroup::freezeHRC()</a>, and <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>.
+<p>
+<div class="fragment"><pre>00440 {
+00441 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00442 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.freezeHRC();
+00443 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd6" doxytag="NL3D::CInstanceGroupUser::getAddToSceneState" ></a><p>
+<table class="mdTable" 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="a02674.html#NL3D_1_1UInstanceGroupw4">UInstanceGroup::TState</a> NL3D::CInstanceGroupUser::getAddToSceneState </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa5">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00229">229</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00126">_AddToSceneState</a>, <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a05823.html#l00124">_InstanceMap</a>, <a class="el" href="a06351.html#l00381">NL3D::CInstanceGroup::_Instances</a>, <a class="el" href="a06350.html#l00868">NL3D::CInstanceGroup::getAddToSceneState()</a>, <a class="el" href="a06350.html#l00173">NL3D::CInstanceGroup::getInstanceName()</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00230 {
+00231 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00232 UInstanceGroup::TState newState = (UInstanceGroup::TState)<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getAddToSceneState ();
+00233 <span class="keywordflow">if</span> ((<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr0">_AddToSceneState</a> == <a class="code" href="a02674.html#NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw1">StateAdding</a>) &amp;&amp; (newState == <a class="code" href="a02674.html#NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw0">StateAdded</a>))
+00234 {
+00235 <span class="comment">// Fill in the vector and the map accelerating search of instance by names</span>
+00236 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr5">_Instances</a>.resize(<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances.size(), NULL);
+00237 <span class="keywordflow">for</span>( <a class="code" href="a04558.html#a11">uint32</a> i = 0; i &lt; <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances.size(); ++i)
+00238 {
+00239 CInstanceUser *pIU = NULL;
+00240 string stmp;
+00241 <span class="keywordflow">if</span> (<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances[i] != NULL)
+00242 {
+00243 <span class="comment">// create but don't want to delete from scene, since added/removed with _InstanceGroup</span>
+00244 pIU = <span class="keyword">new</span> CInstanceUser (NULL, <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances[i], <span class="keyword">false</span>);
+00245 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr5">_Instances</a>[i]= pIU;
+00246 <span class="comment">// insert in map (may fail if double name)</span>
+00247 stmp = <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getInstanceName (i);
+00248 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr4">_InstanceMap</a>.insert (map&lt;string,CInstanceUser*&gt;::value_type(stmp, pIU));
+00249 }
+00250 }
+00251 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr0">_AddToSceneState</a> = <a class="code" href="a02674.html#NL3D_1_1UInstanceGroupw4NL3D_1_1UInstanceGroupw0">StateAdded</a>;
+00252 }
+00253 <span class="keywordflow">return</span> newState;
+00254 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd7" doxytag="NL3D::CInstanceGroupUser::getByName" ></a><p>
+<table class="mdTable" 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="a03047.html">UInstance</a> * NL3D::CInstanceGroupUser::getByName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>name</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the instance at a given position (const version)
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa6">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00343">343</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00124">_InstanceMap</a>, and <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>.
+<p>
+<div class="fragment"><pre>00344 {
+00345 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00346 map&lt;string,CInstanceUser*&gt;::const_iterator it = <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr4">_InstanceMap</a>.find (name);
+00347 <span class="keywordflow">if</span> (it != <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr4">_InstanceMap</a>.end())
+00348 <span class="keywordflow">return</span> it-&gt;second;
+00349 <span class="keywordflow">else</span>
+00350 <span class="keywordflow">return</span> NULL;
+00351 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd8" doxytag="NL3D::CInstanceGroupUser::getByName" ></a><p>
+<table class="mdTable" 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="a03047.html">UInstance</a> * NL3D::CInstanceGroupUser::getByName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>name</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the instance at a given position
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa7">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00331">331</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00124">_InstanceMap</a>, and <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>.
+<p>
+<div class="fragment"><pre>00332 {
+00333 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00334 map&lt;string,CInstanceUser*&gt;::iterator it = <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr4">_InstanceMap</a>.find (name);
+00335 <span class="keywordflow">if</span> (it != <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr4">_InstanceMap</a>.end())
+00336 <span class="keywordflow">return</span> it-&gt;second;
+00337 <span class="keywordflow">else</span>
+00338 <span class="keywordflow">return</span> NULL;
+00339 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd9" doxytag="NL3D::CInstanceGroupUser::getCoarseMeshDist" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::getCoarseMeshDist </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>instance</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupz1435_0">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00502">502</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06351.html#l00381">NL3D::CInstanceGroup::_Instances</a>, <a class="el" href="a06019.html#l00088">NL3D::CMeshMultiLodInstance::getCoarseMeshDist()</a>, <a class="el" href="a06350.html#l00158">NL3D::CInstanceGroup::getNumInstance()</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00503 {
+00504 <span class="keywordflow">if</span> (instance &gt; <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getNumInstance())
+00505 {
+00506 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"getCoarseMeshDist::getDistMax : instance index %d is invalid"</span>, instance);
+00507 <span class="keywordflow">return</span> -1.f;
+00508 }
+00509 <span class="keywordflow">if</span> (<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances[instance])
+00510 {
+00511 CMeshMultiLodInstance *mmli = dynamic_cast&lt;CMeshMultiLodInstance *&gt;(<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances[instance]);
+00512 <span class="keywordflow">if</span> (mmli) <span class="keywordflow">return</span> mmli-&gt;getCoarseMeshDist();
+00513 <span class="keywordflow">else</span> <span class="keywordflow">return</span> -1.f;
+00514 }
+00515 <span class="keywordflow">else</span> <span class="keywordflow">return</span> -1.f;
+00516 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd10" doxytag="NL3D::CInstanceGroupUser::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::CInstanceGroupUser::getDistMax </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>instance</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupz1435_1">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00475">475</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06351.html#l00381">NL3D::CInstanceGroup::_Instances</a>, <a class="el" href="a06350.html#l00158">NL3D::CInstanceGroup::getNumInstance()</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00476 {
+00477 <span class="keywordflow">if</span> (instance &gt; <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getNumInstance())
+00478 {
+00479 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"CInstanceGroupUser::getDistMax : instance index %d is invalid"</span>, instance);
+00480 <span class="keywordflow">return</span> -1.f;
+00481 }
+00482 <span class="keywordflow">if</span> (<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances[instance]) <span class="keywordflow">return</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances[instance]-&gt;getDistMax();
+00483 <span class="keywordflow">else</span> <span class="keywordflow">return</span> -1.f;
+00484 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd11" doxytag="NL3D::CInstanceGroupUser::getDynamicPortal" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::getDynamicPortal </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>name</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the state of a dynamic portal <dl compact><dt><b>Returns:</b></dt><dd>the state (true=opened, false=closed) of a dynamic portal</dd></dl>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa8">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00403">403</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06350.html#l01081">NL3D::CInstanceGroup::getDynamicPortal()</a>, and <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>.
+<p>
+<div class="fragment"><pre>00404 {
+00405 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00406 <span class="keywordflow">return</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getDynamicPortal (name);
+00407 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd12" doxytag="NL3D::CInstanceGroupUser::getDynamicPortals" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::getDynamicPortals </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::vector&lt; std::string &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>names</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get all dynamic portals in the instance group <dl compact><dt><b>Returns:</b></dt><dd>a vector of portal names</dd></dl>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa9">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00389">389</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06350.html#l01065">NL3D::CInstanceGroup::getDynamicPortals()</a>, and <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>.
+<p>
+<div class="fragment"><pre>00390 {
+00391 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00392 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getDynamicPortals (names);
+00393 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd13" doxytag="NL3D::CInstanceGroupUser::getInstance" ></a><p>
+<table class="mdTable" 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="a03047.html">UInstance</a> * NL3D::CInstanceGroupUser::getInstance </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>instanceNb</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return an instance of the group. The instance lifeTime is the same of the instangeGroup lifeTime<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>instanceNb</em>&nbsp;</td><td>is the number of the instance.</td></tr>
+ </table>
+</dl>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa10">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00528">528</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00529 {
+00530 <span class="keywordflow">if</span>(instanceNb&lt;<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr5">_Instances</a>.size())
+00531 <span class="keywordflow">return</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr5">_Instances</a>[instanceNb];
+00532 <span class="keywordflow">else</span>
+00533 <span class="keywordflow">return</span> NULL;
+00534 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd14" doxytag="NL3D::CInstanceGroupUser::getInstance" ></a><p>
+<table class="mdTable" 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="a03047.html">UInstance</a> * NL3D::CInstanceGroupUser::getInstance </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>instanceNb</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return an instance of the group. The instance lifeTime is the same of the instangeGroup lifeTime<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>instanceNb</em>&nbsp;</td><td>is the number of the instance.</td></tr>
+ </table>
+</dl>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa11">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00519">519</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00520 {
+00521 <span class="keywordflow">if</span>(instanceNb&lt;<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr5">_Instances</a>.size())
+00522 <span class="keywordflow">return</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr5">_Instances</a>[instanceNb];
+00523 <span class="keywordflow">else</span>
+00524 <span class="keywordflow">return</span> NULL;
+00525 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd15" doxytag="NL3D::CInstanceGroupUser::getInstanceMatrix" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::getInstanceMatrix </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>instanceNb</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02851.html">NLMISC::CMatrix</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>dest</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const<code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the transformation matrix of an instance in the group NB no pivot is added
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa12">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00178">178</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06350.html#l00205">NL3D::CInstanceGroup::getInstanceMatrix()</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00179 {
+00180 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00181 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getInstanceMatrix(instanceNb, dest);
+00182 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd16" doxytag="NL3D::CInstanceGroupUser::getInstanceName" ></a><p>
+<table class="mdTable" 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 std::string &amp; NL3D::CInstanceGroupUser::getInstanceName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>instanceNb</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the name of an instance of the group.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>instanceNb</em>&nbsp;</td><td>is the number of the instance. </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>the name of the instance.</dd></dl>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa13">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00285">285</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06350.html#l00173">NL3D::CInstanceGroup::getInstanceName()</a>, <a class="el" href="a06350.html#l00158">NL3D::CInstanceGroup::getNumInstance()</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, <a class="el" href="a05622.html#l00154">nlerror</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00286 {
+00287 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00288 <span class="comment">// Check args</span>
+00289 <span class="keywordflow">if</span> (instanceNb&gt;=<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getNumInstance ())
+00290 <a class="code" href="a04199.html#a3">nlerror</a>(<span class="stringliteral">"getInstanceName*(): bad instance Id"</span>);
+00291
+00292 <span class="keywordflow">return</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getInstanceName (instanceNb);
+00293 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd17" doxytag="NL3D::CInstanceGroupUser::getInstancePos" ></a><p>
+<table class="mdTable" 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="a03128.html">NLMISC::CVector</a> &amp; NL3D::CInstanceGroupUser::getInstancePos </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>instanceNb</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the position of an instance of the group.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>instanceNb</em>&nbsp;</td><td>is the number of the instance. </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>the position of the instance.</dd></dl>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa14">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00296">296</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06350.html#l00181">NL3D::CInstanceGroup::getInstancePos()</a>, <a class="el" href="a06350.html#l00158">NL3D::CInstanceGroup::getNumInstance()</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, <a class="el" href="a05622.html#l00154">nlerror</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00297 {
+00298 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00299 <span class="comment">// Check args</span>
+00300 <span class="keywordflow">if</span> (instanceNb&gt;=<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getNumInstance ())
+00301 <a class="code" href="a04199.html#a3">nlerror</a>(<span class="stringliteral">"getInstancePos*(): bad instance Id"</span>);
+00302
+00303 <span class="keywordflow">return</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getInstancePos (instanceNb);
+00304 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd18" doxytag="NL3D::CInstanceGroupUser::getInstanceRot" ></a><p>
+<table class="mdTable" 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="a03296.html">NLMISC::CQuat</a> &amp; NL3D::CInstanceGroupUser::getInstanceRot </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>instanceNb</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the rotation of an instance of the group.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>instanceNb</em>&nbsp;</td><td>is the number of the instance. </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>the rotation of the instance.</dd></dl>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa15">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00307">307</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06350.html#l00189">NL3D::CInstanceGroup::getInstanceRot()</a>, <a class="el" href="a06350.html#l00158">NL3D::CInstanceGroup::getNumInstance()</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, <a class="el" href="a05622.html#l00154">nlerror</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00308 {
+00309 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00310 <span class="comment">// Check args</span>
+00311 <span class="keywordflow">if</span> (instanceNb&gt;=<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getNumInstance ())
+00312 <a class="code" href="a04199.html#a3">nlerror</a>(<span class="stringliteral">"getInstanceRot*(): bad instance Id"</span>);
+00313
+00314 <span class="keywordflow">return</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getInstanceRot (instanceNb);
+00315 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd19" doxytag="NL3D::CInstanceGroupUser::getInstanceScale" ></a><p>
+<table class="mdTable" 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="a03128.html">NLMISC::CVector</a> &amp; NL3D::CInstanceGroupUser::getInstanceScale </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>instanceNb</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the scale of an instance of the group.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>instanceNb</em>&nbsp;</td><td>is the number of the instance. </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>the scale of the instance.</dd></dl>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa16">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00318">318</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06350.html#l00197">NL3D::CInstanceGroup::getInstanceScale()</a>, <a class="el" href="a06350.html#l00158">NL3D::CInstanceGroup::getNumInstance()</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, <a class="el" href="a05622.html#l00154">nlerror</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00319 {
+00320 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00321 <span class="comment">// Check args</span>
+00322 <span class="keywordflow">if</span> (instanceNb&gt;=<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getNumInstance ())
+00323 <a class="code" href="a04199.html#a3">nlerror</a>(<span class="stringliteral">"getInstanceScale*(): bad instance Id"</span>);
+00324
+00325 <span class="keywordflow">return</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getInstanceScale (instanceNb);
+00326 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUsera1" doxytag="NL3D::CInstanceGroupUser::getInternalIG" ></a><p>
+<table class="mdTable" 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="a02671.html">CInstanceGroup</a>&amp; NL3D::CInstanceGroupUser::getInternalIG </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05823.html#l00142">142</a> of file <a class="el" href="a05823.html">instance_group_user.h</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, and <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>.
+<p>
+<div class="fragment"><pre>00143 {
+00144 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00145 <span class="keywordflow">return</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>;
+00146 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd20" doxytag="NL3D::CInstanceGroupUser::getNumInstance" ></a><p>
+<table class="mdTable" 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#a15">uint</a> NL3D::CInstanceGroupUser::getNumInstance </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the count of shape instance in this group.
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa17">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00266">266</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06350.html#l00158">NL3D::CInstanceGroup::getNumInstance()</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00267 {
+00268 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00269 <span class="keywordflow">return</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getNumInstance ();
+00270 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd21" doxytag="NL3D::CInstanceGroupUser::getParentCluster" ></a><p>
+<table class="mdTable" 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="a02674.html">UInstanceGroup</a> * NL3D::CInstanceGroupUser::getParentCluster </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return the parent cluster system of this IG. NULL if this is the GlobalInstanceGroup. <dl compact><dt><b>Returns:</b></dt><dd>true if the link succeeded</dd></dl>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa18">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00552">552</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06351.html#l00376">NL3D::CInstanceGroup::getParentClusterSystem()</a>, and <a class="el" href="a06351.html#l00251">NL3D::CInstanceGroup::getUserInterface()</a>.
+<p>
+<div class="fragment"><pre>00553 {
+00554 CInstanceGroup *parent= <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getParentClusterSystem();
+00555 <span class="keywordflow">if</span>(parent)
+00556 <span class="comment">// NB: return NULL if this is the GlobalInstanceGroup.</span>
+00557 <span class="keywordflow">return</span> parent-&gt;getUserInterface();
+00558 <span class="keywordflow">else</span>
+00559 <span class="keywordflow">return</span> NULL;
+00560 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd22" doxytag="NL3D::CInstanceGroupUser::getPos" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03128.html">CVector</a> NL3D::CInstanceGroupUser::getPos </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the position
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa19">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00424">424</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06350.html#l01105">NL3D::CInstanceGroup::getPos()</a>, and <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>.
+<p>
+<div class="fragment"><pre>00425 {
+00426 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00427 <span class="keywordflow">return</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getPos ();
+00428 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd23" doxytag="NL3D::CInstanceGroupUser::getRotQuat" ></a><p>
+<table class="mdTable" 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="a03296.html">CQuat</a> NL3D::CInstanceGroupUser::getRotQuat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the rotation
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa20">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00431">431</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06350.html#l01114">NL3D::CInstanceGroup::getRotQuat()</a>, and <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>.
+<p>
+<div class="fragment"><pre>00432 {
+00433 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00434 <span class="keywordflow">return</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getRotQuat();
+00435 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd24" doxytag="NL3D::CInstanceGroupUser::getShapeName" ></a><p>
+<table class="mdTable" 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 std::string &amp; NL3D::CInstanceGroupUser::getShapeName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>instanceNb</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the name of the shape refered by an instance of the group.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>instanceNb</em>&nbsp;</td><td>is the number of the instance. </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>the name of the shape.</dd></dl>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa21">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00274">274</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06350.html#l00158">NL3D::CInstanceGroup::getNumInstance()</a>, <a class="el" href="a06350.html#l00165">NL3D::CInstanceGroup::getShapeName()</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, <a class="el" href="a05622.html#l00154">nlerror</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00275 {
+00276 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00277 <span class="comment">// Check args</span>
+00278 <span class="keywordflow">if</span> (instanceNb&gt;=<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getNumInstance ())
+00279 <a class="code" href="a04199.html#a3">nlerror</a>(<span class="stringliteral">"getShapeName*(): bad instance Id"</span>);
+00280
+00281 <span class="keywordflow">return</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getShapeName (instanceNb);
+00282 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd25" doxytag="NL3D::CInstanceGroupUser::getStaticLightSetup" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::getStaticLightSetup </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>retrieverIdentifier</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>surfaceId</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>localPos</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>std::vector&lt; <a class="el" href="a03092.html">CPointLightInfluence</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>pointLightList</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>sunContribution</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03337.html">NLMISC::CRGBA</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>localAmbient</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the StaticLightSetup for a model at position localPos/retrieverIdentifier/surfaceId. NB: all are get with help of UGlobalPosition. localPos= gp.LocalPosition.Estimated NB: retrieverIdentifier= globalRetriever-&gt;getLocalRetrieverId(gp);
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupz1433_0">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00454">454</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06351.html#l00353">NL3D::CInstanceGroup::getStaticLightSetup()</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00457 {
+00458 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00459 <span class="keywordflow">return</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getStaticLightSetup(retrieverIdentifier, surfaceId, localPos, pointLightList,
+00460 sunContribution, localAmbient);
+00461 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUsera2" doxytag="NL3D::CInstanceGroupUser::init" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::init </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>instanceGroup</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05822.html#l00108">108</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a05538.html#l02654">file</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a06350.html#l00379">NL3D::CInstanceGroup::serial()</a>.
+<p>
+<div class="fragment"><pre>00109 {
+00110 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00111 <span class="comment">// Create a file</span>
+00112 <a class="code" href="a02653.html">CIFile</a> <a class="code" href="a04115.html#a95">file</a>;
+00113 std::string path = CPath::lookup (instanceGroup, <span class="keyword">false</span>);
+00114 <span class="keywordflow">if</span> (!path.empty() &amp;&amp; <a class="code" href="a04115.html#a95">file</a>.open (path))
+00115 {
+00116 <span class="comment">// Serialize this class</span>
+00117 <span class="keywordflow">try</span>
+00118 {
+00119 <span class="comment">// Read the class</span>
+00120 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.serial (file);
+00121 }
+00122 <span class="keywordflow">catch</span> (<a class="code" href="a03781.html">EStream</a>&amp; e)
+00123 {
+00124 <span class="comment">// Avoid visual warning</span>
+00125 <a class="code" href="a03781.html">EStream</a> ee=e;
+00126
+00127 <span class="comment">// Serial problem</span>
+00128 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00129 }
+00130 }
+00131 <span class="keywordflow">else</span>
+00132 {
+00133 <span class="comment">// Failed.</span>
+00134 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00135 }
+00136
+00137 <span class="comment">// Ok</span>
+00138 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00139 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd26" doxytag="NL3D::CInstanceGroupUser::linkToParentCluster" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::linkToParentCluster </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02674.html">UInstanceGroup</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>father</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Link this ig clusters as sons of clusters of 'ig' that conatains them. <dl compact><dt><b>Returns:</b></dt><dd>true if the link succeeded</dd></dl>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa22">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00376">376</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06350.html#l00884">NL3D::CInstanceGroup::linkToParent()</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a05622.html#l00135">nlwarning</a>.
+<p>
+<div class="fragment"><pre>00377 {
+00378 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00379 <span class="keywordflow">if</span> (father)
+00380 <span class="keywordflow">return</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.linkToParent(&amp;(NLMISC::safe_cast&lt;CInstanceGroupUser *&gt;(father)-&gt;_InstanceGroup));
+00381 <span class="keywordflow">else</span>
+00382 {
+00383 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"Trying to link a cluster system to a NULL parent cluster"</span>);
+00384 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00385 }
+00386 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd27" doxytag="NL3D::CInstanceGroupUser::removeFromScene" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::removeFromScene </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">class <a class="el" href="a03351.html">UScene</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>scene</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+remove this instance group from the given scene
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa23">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00257">257</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, <a class="el" href="a06350.html#l00935">NL3D::CInstanceGroup::removeFromScene()</a>, and <a class="el" href="a05822.html#l00537">removeInstancesUser()</a>.
+<p>
+<div class="fragment"><pre>00258 {
+00259 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00260 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.removeFromScene (((CSceneUser*)&amp;scene)-&gt;getScene());
+00261 <span class="comment">// Remove all instance user object in the array/map</span>
+00262 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserd28">removeInstancesUser</a>();
+00263 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd28" doxytag="NL3D::CInstanceGroupUser::removeInstancesUser" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::removeInstancesUser </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05822.html#l00537">537</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00124">_InstanceMap</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a05822.html#l00257">removeFromScene()</a>, and <a class="el" href="a05822.html#l00101">~CInstanceGroupUser()</a>.
+<p>
+<div class="fragment"><pre>00538 {
+00539 <span class="comment">// delete all instances in the instance array</span>
+00540 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0;i&lt;<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr5">_Instances</a>.size();i++)
+00541 {
+00542 <span class="keywordflow">if</span>(<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr5">_Instances</a>[i])
+00543 <span class="keyword">delete</span> <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr5">_Instances</a>[i];
+00544 }
+00545
+00546 <span class="comment">// clear the array and the map</span>
+00547 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr5">_Instances</a>.clear();
+00548 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr4">_InstanceMap</a>.clear();
+00549 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd29" doxytag="NL3D::CInstanceGroupUser::setAddRemoveInstanceCallback" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::setAddRemoveInstanceCallback </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03832.html">IAddRemoveInstance</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>callback</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+set a callback to know when an instance has been added / removed from scene
+<p>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa24">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00150">150</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a06350.html#l00491">NL3D::CInstanceGroup::setAddRemoveInstanceCallback()</a>.
+<p>
+<div class="fragment"><pre>00151 {
+00152 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00153 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.setAddRemoveInstanceCallback(callback);
+00154 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd30" doxytag="NL3D::CInstanceGroupUser::setBlendShapeFactor" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::setBlendShapeFactor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>bsName</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>rFactor</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Control a blendshape
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa25">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00354">354</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a06350.html#l01037">NL3D::CInstanceGroup::setBlendShapeFactor()</a>.
+<p>
+<div class="fragment"><pre>00355 {
+00356 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00357 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.setBlendShapeFactor (bsName, rFactor);
+00358 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd31" doxytag="NL3D::CInstanceGroupUser::setClusterSystemForInstances" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::setClusterSystemForInstances </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02674.html">UInstanceGroup</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>pClusterSystem</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+All the instances must be checked against the following cluster system
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa26">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00369">369</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a06350.html#l01056">NL3D::CInstanceGroup::setClusterSystemForInstances()</a>.
+<p>
+<div class="fragment"><pre>00370 {
+00371 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00372 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.setClusterSystemForInstances (&amp;((CInstanceGroupUser*)pClusterSystem)-&gt;_InstanceGroup);
+00373 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd32" doxytag="NL3D::CInstanceGroupUser::setCoarseMeshDist" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::setCoarseMeshDist </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>instance</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>dist</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupz1435_2">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00487">487</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06351.html#l00381">NL3D::CInstanceGroup::_Instances</a>, <a class="el" href="a06350.html#l00158">NL3D::CInstanceGroup::getNumInstance()</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, <a class="el" href="a06019.html#l00087">NL3D::CMeshMultiLodInstance::setCoarseMeshDist()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00488 {
+00489 <span class="keywordflow">if</span> (instance &gt; <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getNumInstance())
+00490 {
+00491 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"CInstanceGroupUser::setCoarseMeshDist : instance index %d is invalid"</span>, instance);
+00492 <span class="keywordflow">return</span>;
+00493 }
+00494 <span class="keywordflow">if</span> (<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances[instance])
+00495 {
+00496 CMeshMultiLodInstance *mmli = dynamic_cast&lt;CMeshMultiLodInstance *&gt;(<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances[instance]);
+00497 <span class="keywordflow">if</span> (mmli) mmli-&gt;setCoarseMeshDist(dist);
+00498 }
+00499 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd33" doxytag="NL3D::CInstanceGroupUser::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::CInstanceGroupUser::setDistMax </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>instance</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>dist</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupz1435_3">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00464">464</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a06351.html#l00381">NL3D::CInstanceGroup::_Instances</a>, <a class="el" href="a06350.html#l00158">NL3D::CInstanceGroup::getNumInstance()</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00465 {
+00466 <span class="keywordflow">if</span> (instance &gt; <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.getNumInstance())
+00467 {
+00468 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"CInstanceGroupUser::setDistMax : instance index %d is invalid"</span>, instance);
+00469 <span class="keywordflow">return</span>;
+00470 }
+00471 <span class="keywordflow">if</span> (<a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances[instance]) <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>._Instances[instance]-&gt;setDistMax(dist);
+00472 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd34" doxytag="NL3D::CInstanceGroupUser::setDynamicPortal" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::setDynamicPortal </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>name</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap> <em>opened</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the state of a dynamic portal <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>name</em>&nbsp;</td><td>is the name of the dynamic portal to open or close </td></tr>
+ <tr><td valign=top><em>opened</em>&nbsp;</td><td>is the state the portal will have (true=opened, false=closed)</td></tr>
+ </table>
+</dl>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa27">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00396">396</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a06350.html#l01073">NL3D::CInstanceGroup::setDynamicPortal()</a>.
+<p>
+<div class="fragment"><pre>00397 {
+00398 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00399 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.setDynamicPortal (name, opened);
+00400 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd35" doxytag="NL3D::CInstanceGroupUser::setIGAddBeginCallback" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::setIGAddBeginCallback </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03856.html">IIGAddBegin</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>callback</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set a callback to know when an instance group is being created, and how many instances it contains.
+<p>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa28">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00158">158</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a06350.html#l00497">NL3D::CInstanceGroup::setIGAddBeginCallback()</a>.
+<p>
+<div class="fragment"><pre>00159 {
+00160 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00161 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.setIGAddBeginCallback(callback);
+00162 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd36" doxytag="NL3D::CInstanceGroupUser::setPos" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::setPos </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>pos</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the position of the instance group Take care if the instance group is a cluster system, you must not move it outside its father cluster which is assigned at addToScene moment.
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa29">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00410">410</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a06350.html#l01090">NL3D::CInstanceGroup::setPos()</a>.
+<p>
+<div class="fragment"><pre>00411 {
+00412 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00413 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.setPos (pos);
+00414 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd37" doxytag="NL3D::CInstanceGroupUser::setRotQuat" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::setRotQuat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03296.html">NLMISC::CQuat</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>q</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the rotation of the instance group
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa30">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00417">417</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, <a class="el" href="a05646.html#l01001">q</a>, and <a class="el" href="a06350.html#l01098">NL3D::CInstanceGroup::setRotQuat()</a>.
+<p>
+<div class="fragment"><pre>00418 {
+00419 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00420 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.setRotQuat (q);
+00421 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd38" doxytag="NL3D::CInstanceGroupUser::setTransformNameCallback" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::setTransformNameCallback </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03882.html">ITransformName</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>pTN</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set up the callback used at loading and instanciating of the instanceGroup <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>pTN</em>&nbsp;</td><td>is the transformName class that hold the callback</td></tr>
+ </table>
+</dl>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa31">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00142">142</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a06350.html#l00484">NL3D::CInstanceGroup::setTransformNameCallback()</a>.
+<p>
+<div class="fragment"><pre>00143 {
+00144 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00145 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.setTransformNameCallback (pTN);
+00146 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd39" doxytag="NL3D::CInstanceGroupUser::stopAddToSceneAsync" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::stopAddToSceneAsync </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa32">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00222">222</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a06350.html#l00828">NL3D::CInstanceGroup::stopAddToSceneAsync()</a>.
+<p>
+<div class="fragment"><pre>00223 {
+00224 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00225 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.stopAddToSceneAsync ();
+00226 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1UInstanceGroupe2" doxytag="NL3D::CInstanceGroupUser::stopCreateInstanceGroupAsync" ></a><p>
+<table class="mdTable" 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::UInstanceGroup::stopCreateInstanceGroupAsync </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02674.html">UInstanceGroup</a> **&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>pIG</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [static, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05822.html#l00075">75</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a05586.html#l00073">NLMISC::nlSleep()</a>.
+<p>
+<div class="fragment"><pre>00076 {
+00077 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00078 <span class="comment">// Theorically should stop the async file manager but the async file manager can only be stopped</span>
+00079 <span class="comment">// between tasks (a file reading) so that is no sense to do anything here</span>
+00080 <span class="keywordflow">while</span> (*ppIG == NULL)
+00081 {
+00082 <a class="code" href="a05378.html#a256">nlSleep</a> (2);
+00083 }
+00084 <span class="keywordflow">if</span> (*ppIG != (UInstanceGroup*)-1)
+00085 {
+00086 <span class="keyword">delete</span> *ppIG;
+00087 }
+00088 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserd40" doxytag="NL3D::CInstanceGroupUser::unfreezeHRC" ></a><p>
+<table class="mdTable" 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::CInstanceGroupUser::unfreezeHRC </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+see <a class="el" href="a02321.html#NL3D_1_1UTransformz1582_1">UTransform::unfreezeHRC()</a>. Do it for all instances (not clusters), and for the root of the IG.
+<p>
+
+<p>
+Implements <a class="el" href="a02674.html#NL3D_1_1UInstanceGroupa33">NL3D::UInstanceGroup</a>.
+<p>
+Definition at line <a class="el" href="a05822.html#l00446">446</a> of file <a class="el" href="a05822.html">instance_group_user.cpp</a>.
+<p>
+References <a class="el" href="a05823.html#l00121">_InstanceGroup</a>, <a class="el" href="a05457.html#l00044">NL3D_MEM_IG</a>, and <a class="el" href="a06350.html#l01146">NL3D::CInstanceGroup::unfreezeHRC()</a>.
+<p>
+<div class="fragment"><pre>00447 {
+00448 <a class="code" href="a04034.html#a1">NL3D_MEM_IG</a>
+00449 <a class="code" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">_InstanceGroup</a>.unfreezeHRC();
+00450 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUsern0" doxytag="NL3D::CInstanceGroupUser::CSceneUser" ></a><p>
+<table class="mdTable" 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="a03350.html">CSceneUser</a><code> [friend]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05823.html#l00136">136</a> of file <a class="el" href="a05823.html">instance_group_user.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUsern1" doxytag="NL3D::CInstanceGroupUser::CTransformUser" ></a><p>
+<table class="mdTable" 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="a02320.html">CTransformUser</a><code> [friend]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05823.html#l00135">135</a> of file <a class="el" href="a05823.html">instance_group_user.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserr0" doxytag="NL3D::CInstanceGroupUser::_AddToSceneState" ></a><p>
+<table class="mdTable" 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="a02674.html#NL3D_1_1UInstanceGroupw4">TState</a> <a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserr0">NL3D::CInstanceGroupUser::_AddToSceneState</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05823.html#l00126">126</a> of file <a class="el" href="a05823.html">instance_group_user.h</a>.
+<p>
+Referenced by <a class="el" href="a05822.html#l00210">addToSceneAsync()</a>, <a class="el" href="a05822.html#l00091">CInstanceGroupUser()</a>, and <a class="el" href="a05822.html#l00229">getAddToSceneState()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserr1" doxytag="NL3D::CInstanceGroupUser::_AddToSceneTempDriver" ></a><p>
+<table class="mdTable" 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="a02438.html">UDriver</a>* <a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserr1">NL3D::CInstanceGroupUser::_AddToSceneTempDriver</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05823.html#l00128">128</a> of file <a class="el" href="a05823.html">instance_group_user.h</a>.
+<p>
+Referenced by <a class="el" href="a05822.html#l00210">addToSceneAsync()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserr2" doxytag="NL3D::CInstanceGroupUser::_AddToSceneTempScene" ></a><p>
+<table class="mdTable" 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="a03351.html">UScene</a>* <a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserr2">NL3D::CInstanceGroupUser::_AddToSceneTempScene</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05823.html#l00127">127</a> of file <a class="el" href="a05823.html">instance_group_user.h</a>.
+<p>
+Referenced by <a class="el" href="a05822.html#l00210">addToSceneAsync()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserr3" doxytag="NL3D::CInstanceGroupUser::_InstanceGroup" ></a><p>
+<table class="mdTable" 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="a02671.html">CInstanceGroup</a> <a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserr3">NL3D::CInstanceGroupUser::_InstanceGroup</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05823.html#l00121">121</a> of file <a class="el" href="a05823.html">instance_group_user.h</a>.
+<p>
+Referenced by <a class="el" href="a05822.html#l00186">addToScene()</a>, <a class="el" href="a05822.html#l00210">addToSceneAsync()</a>, <a class="el" href="a05822.html#l00091">CInstanceGroupUser()</a>, <a class="el" href="a05822.html#l00362">createRoot()</a>, <a class="el" href="a05822.html#l00563">displayDebugClusters()</a>, <a class="el" href="a06352.html#l00658">NL3D::CSceneUser::findCameraClusterSystemFromRay()</a>, <a class="el" href="a05822.html#l00439">freezeHRC()</a>, <a class="el" href="a05822.html#l00229">getAddToSceneState()</a>, <a class="el" href="a05822.html#l00502">getCoarseMeshDist()</a>, <a class="el" href="a05822.html#l00475">getDistMax()</a>, <a class="el" href="a05822.html#l00403">getDynamicPortal()</a>, <a class="el" href="a05822.html#l00389">getDynamicPortals()</a>, <a class="el" href="a05822.html#l00178">getInstanceMatrix()</a>, <a class="el" href="a05822.html#l00285">getInstanceName()</a>, <a class="el" href="a05822.html#l00296">getInstancePos()</a>, <a class="el" href="a05822.html#l00307">getInstanceRot()</a>, <a class="el" href="a05822.html#l00318">getInstanceScale()</a>, <a class="el" href="a05823.html#l00142">getInternalIG()</a>, <a class="el" href="a05822.html#l00266">getNumInstance()</a>, <a class="el" href="a05822.html#l00552">getParentCluster()</a>, <a class="el" href="a05822.html#l00424">getPos()</a>, <a class="el" href="a05822.html#l00431">getRotQuat()</a>, <a class="el" href="a05822.html#l00274">getShapeName()</a>, <a class="el" href="a05822.html#l00454">getStaticLightSetup()</a>, <a class="el" href="a05822.html#l00108">init()</a>, <a class="el" href="a05822.html#l00376">linkToParentCluster()</a>, <a class="el" href="a05822.html#l00257">removeFromScene()</a>, <a class="el" href="a05822.html#l00150">setAddRemoveInstanceCallback()</a>, <a class="el" href="a05822.html#l00354">setBlendShapeFactor()</a>, <a class="el" href="a05822.html#l00369">setClusterSystemForInstances()</a>, <a class="el" href="a05822.html#l00487">setCoarseMeshDist()</a>, <a class="el" href="a05822.html#l00464">setDistMax()</a>, <a class="el" href="a05822.html#l00396">setDynamicPortal()</a>, <a class="el" href="a05822.html#l00158">setIGAddBeginCallback()</a>, <a class="el" href="a05822.html#l00410">setPos()</a>, <a class="el" href="a05822.html#l00417">setRotQuat()</a>, <a class="el" href="a06352.html#l00919">NL3D::CSceneUser::setToGlobalInstanceGroup()</a>, <a class="el" href="a05822.html#l00142">setTransformNameCallback()</a>, <a class="el" href="a05822.html#l00222">stopAddToSceneAsync()</a>, and <a class="el" href="a05822.html#l00446">unfreezeHRC()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserr4" doxytag="NL3D::CInstanceGroupUser::_InstanceMap" ></a><p>
+<table class="mdTable" 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::map&lt;std::string,<a class="el" href="a02683.html">CInstanceUser</a>*&gt; <a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserr4">NL3D::CInstanceGroupUser::_InstanceMap</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05823.html#l00124">124</a> of file <a class="el" href="a05823.html">instance_group_user.h</a>.
+<p>
+Referenced by <a class="el" href="a05822.html#l00186">addToScene()</a>, <a class="el" href="a05822.html#l00229">getAddToSceneState()</a>, <a class="el" href="a05822.html#l00331">getByName()</a>, and <a class="el" href="a05822.html#l00537">removeInstancesUser()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceGroupUserr5" doxytag="NL3D::CInstanceGroupUser::_Instances" ></a><p>
+<table class="mdTable" 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&lt;<a class="el" href="a02683.html">CInstanceUser</a>*&gt; <a class="el" href="a02673.html#NL3D_1_1CInstanceGroupUserr5">NL3D::CInstanceGroupUser::_Instances</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05823.html#l00123">123</a> of file <a class="el" href="a05823.html">instance_group_user.h</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a05823.html">instance_group_user.h</a><li><a class="el" href="a05822.html">instance_group_user.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:47:32 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>