diff options
Diffstat (limited to 'docs/doxygen/nel/a03027.html')
-rw-r--r-- | docs/doxygen/nel/a03027.html | 993 |
1 files changed, 993 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03027.html b/docs/doxygen/nel/a03027.html new file mode 100644 index 00000000..6cfe928c --- /dev/null +++ b/docs/doxygen/nel/a03027.html @@ -0,0 +1,993 @@ +<!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: NLPACS::COrderedChain class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLPACS::COrderedChain Class Reference</h1><code>#include <<a class="el" href="a05540.html">chain.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A list of ordered vertices, partially delimiting 2 different surfaces. In the vertex list, we consider the following order v1 < v2 iff <a class="el" href="a04223.html#a572">v1.x</a> < <a class="el" href="a04223.html#a572">v2.x</a> || <a class="el" href="a04223.html#a572">v1.x</a> == <a class="el" href="a04223.html#a572">v2.x</a> && <a class="el" href="a04223.html#a573">v1.y</a> < <a class="el" href="a04223.html#a573">v2.y</a> The vertices composing the chain are only 2 coordinates (x, y) wide, packed on 16 bits each (which is 4 bytes per vertex.) This is the packed form of the <a class="el" href="a03028.html">COrderedChain3f</a>. (4 bytes per vertex.) <dl compact><dt><b>Author:</b></dt><dd>Benjamin Legros <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="a05540.html#l00107">107</a> of file <a class="el" href="a05540.html">chain.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChaina0">computeMinMax</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChaina1">distance</a> (const <a class="el" href="a03128.html">NLMISC::CVector</a> &position) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChaina2">getIndexInParent</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the index of the ochain within the parent chain. <a href="#NLPACS_1_1COrderedChaina2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChaina3">getLength</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the length of the chain. <a href="#NLPACS_1_1COrderedChaina3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03662.html">CVector2s</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChaina4">getMax</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the max vector of the chain. <a href="#NLPACS_1_1COrderedChaina4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03662.html">CVector2s</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChaina5">getMin</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the min vector of the chain. <a href="#NLPACS_1_1COrderedChaina5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChaina6">getParentId</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the parent chain Id of this ordered chain. <a href="#NLPACS_1_1COrderedChaina6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const std::vector< <a class="el" href="a03662.html">CVector2s</a> > & </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChaina7">getVertices</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the vertices of the chain. <a href="#NLPACS_1_1COrderedChaina7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChaina8">isForward</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the chain should be accessed forward within the parent <a class="el" href="a02333.html">CChain</a> (see _Forward.). <a href="#NLPACS_1_1COrderedChaina8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03662.html">CVector2s</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChaina9">operator[]</a> (<a class="el" href="a04558.html#a15">uint</a> n) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChaina10">pack</a> (const <a class="el" href="a03028.html">COrderedChain3f</a> &chain)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChaina11">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChaina12">translate</a> (const <a class="el" href="a03128.html">NLMISC::CVector</a> &translation)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChaina13">traverse</a> (<a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a04113.html#a70">from</a>, <a class="el" href="a04558.html#a14">sint</a> to, bool forward, std::vector< <a class="el" href="a03662.html">CVector2s</a> > &path) const </td></tr> + +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChainp0">_Forward</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set if the chain should be read forward within the parent <a class="el" href="a02333.html">CChain</a> (for sequential access to vertices.). <a href="#NLPACS_1_1COrderedChainp0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChainp1">_IndexInParent</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The index of the ochain within the parent chain. <a href="#NLPACS_1_1COrderedChainp1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChainp2">_Length</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The length of the chain. <a href="#NLPACS_1_1COrderedChainp2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03662.html">CVector2s</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChainp3">_Max</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The min and max vertices of the chain. <a href="#NLPACS_1_1COrderedChainp3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03662.html">CVector2s</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChainp4">_Min</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The min and max vertices of the chain. <a href="#NLPACS_1_1COrderedChainp4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChainp5">_ParentId</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The parent chain Id. <a href="#NLPACS_1_1COrderedChainp5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a03662.html">CVector2s</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChainp6">_Vertices</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The vertices of the chain, ordered following x growth. <a href="#NLPACS_1_1COrderedChainp6"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChainn0">CChain</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="a03027.html#NLPACS_1_1COrderedChainn1">CRetrievableSurface</a></td></tr> + +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLPACS_1_1COrderedChaina0" doxytag="NLPACS::COrderedChain::computeMinMax" ></a><p> +<table class="mdTable" 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 NLPACS::COrderedChain::computeMinMax </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00178">178</a> of file <a class="el" href="a05540.html">chain.h</a>. +<p> +References <a class="el" href="a05540.html#l00129">_Max</a>, <a class="el" href="a05540.html#l00129">_Min</a>, <a class="el" href="a06679.html#l00159">NLPACS::CVector2s::minof()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05539.html#l00199">NLPACS::CChain::make()</a>. +<p> +<div class="fragment"><pre>00179 { +00180 <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp4">_Min</a> = <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp3">_Max</a> = CVector2s(0, 0); +00181 +00182 <span class="keywordflow">if</span> (<a class="code" href="a03027.html#NLPACS_1_1COrderedChainp6">_Vertices</a>.empty()) +00183 <span class="keywordflow">return</span>; +00184 +00185 <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp4">_Min</a> = _Max = <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp6">_Vertices</a>[0]; +00186 <a class="code" href="a04558.html#a15">uint</a> i; +00187 <span class="keywordflow">for</span> (i=1; i<_Vertices.size(); ++i) +00188 { +00189 <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp4">_Min</a>.minof(_Min, _Vertices[i]); +00190 _Max.maxof(_Max, _Vertices[i]); +00191 } +00192 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChaina1" doxytag="NLPACS::COrderedChain::distance" ></a><p> +<table class="mdTable" 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 NLPACS::COrderedChain::distance </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">NLMISC::CVector</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>position</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05539.html#l00115">115</a> of file <a class="el" href="a05539.html">chain.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00235">len</a>, <a class="el" href="a06677.html#l00089">NLMISC::CVector2f::norm()</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a06677.html#l00052">NLMISC::CVector2f::x</a>, and <a class="el" href="a06677.html#l00052">NLMISC::CVector2f::y</a>. +<p> +<div class="fragment"><pre>00116 { +00117 <span class="keywordtype">float</span> minDist = 1.0e10f; +00118 <a class="code" href="a04558.html#a15">uint</a> i; +00119 CVector2f pos = CVector2f(position); +00120 +00121 <span class="keywordflow">for</span> (i=0; i+1<<a class="code" href="a03027.html#NLPACS_1_1COrderedChainp6">_Vertices</a>.size(); ++i) +00122 { +00123 CVector2f a = <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp6">_Vertices</a>[i].unpack(), +00124 b = _Vertices[i+1].unpack(); +00125 +00126 CVector2f d = (b-a); +00127 <span class="keywordtype">float</span> <a class="code" href="a04223.html#a571">len</a> = d.norm(); +00128 d /= <a class="code" href="a04223.html#a571">len</a>; +00129 CVector2f n = CVector2f(d.y, -d.x); +00130 +00131 <span class="keywordtype">float</span> <a class="code" href="a05373.html#a2">l</a> = (pos-a)*d; +00132 <span class="keywordtype">float</span> dist; +00133 +00134 <span class="keywordflow">if</span> (<a class="code" href="a05373.html#a2">l</a> < 0.0f) +00135 { +00136 dist = (pos-a).norm(); +00137 } +00138 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a05373.html#a2">l</a> > <a class="code" href="a04223.html#a571">len</a>) +00139 { +00140 dist = (pos-b).norm(); +00141 } +00142 <span class="keywordflow">else</span> +00143 { +00144 dist = (<span class="keywordtype">float</span>)fabs((pos-a)*n); +00145 } +00146 +00147 <span class="keywordflow">if</span> (dist < minDist) +00148 { +00149 minDist = dist; +00150 } +00151 } +00152 +00153 <span class="keywordflow">return</span> minDist; +00154 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChaina2" doxytag="NLPACS::COrderedChain::getIndexInParent" ></a><p> +<table class="mdTable" 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#a9">uint16</a> NLPACS::COrderedChain::getIndexInParent </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the index of the ochain within the parent chain. +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00142">142</a> of file <a class="el" href="a05540.html">chain.h</a>. +<p> +References <a class="el" href="a05981.html#l00098">uint16</a>. +<p> +Referenced by <a class="el" href="a05761.html#l00153">NLPACS::CGlobalRetriever::check()</a>, and <a class="el" href="a05540.html#l00330">NLPACS::COrderedChain3f::unpack()</a>. +<p> +<div class="fragment"><pre>00142 { <span class="keywordflow">return</span> <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp1">_IndexInParent</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChaina3" doxytag="NLPACS::COrderedChain::getLength" ></a><p> +<table class="mdTable" 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 NLPACS::COrderedChain::getLength </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the length of the chain. +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00145">145</a> of file <a class="el" href="a05540.html">chain.h</a>. +<p> +Referenced by <a class="el" href="a05761.html#l01062">NLPACS::CGlobalRetriever::findPath()</a>. +<p> +<div class="fragment"><pre>00145 { <span class="keywordflow">return</span> <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp2">_Length</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChaina4" doxytag="NLPACS::COrderedChain::getMax" ></a><p> +<table class="mdTable" 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="a03662.html">CVector2s</a>& NLPACS::COrderedChain::getMax </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the max vector of the chain. +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00154">154</a> of file <a class="el" href="a05540.html">chain.h</a>. +<p> +References <a class="el" href="a05540.html#l00129">_Max</a>. +<p> +Referenced by <a class="el" href="a05929.html#l01238">NLPACS::CLocalRetriever::retrieveAccuratePosition()</a>, and <a class="el" href="a05929.html#l01064">NLPACS::CLocalRetriever::retrievePosition()</a>. +<p> +<div class="fragment"><pre>00154 { <span class="keywordflow">return</span> <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp3">_Max</a>; }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChaina5" doxytag="NLPACS::COrderedChain::getMin" ></a><p> +<table class="mdTable" 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="a03662.html">CVector2s</a>& NLPACS::COrderedChain::getMin </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the min vector of the chain. +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00151">151</a> of file <a class="el" href="a05540.html">chain.h</a>. +<p> +References <a class="el" href="a05540.html#l00129">_Min</a>. +<p> +Referenced by <a class="el" href="a05929.html#l01238">NLPACS::CLocalRetriever::retrieveAccuratePosition()</a>, and <a class="el" href="a05929.html#l01064">NLPACS::CLocalRetriever::retrievePosition()</a>. +<p> +<div class="fragment"><pre>00151 { <span class="keywordflow">return</span> <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp4">_Min</a>; }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChaina6" doxytag="NLPACS::COrderedChain::getParentId" ></a><p> +<table class="mdTable" 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#a9">uint16</a> NLPACS::COrderedChain::getParentId </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the parent chain Id of this ordered chain. +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00139">139</a> of file <a class="el" href="a05540.html">chain.h</a>. +<p> +References <a class="el" href="a05981.html#l00098">uint16</a>. +<p> +Referenced by <a class="el" href="a05761.html#l00153">NLPACS::CGlobalRetriever::check()</a>, <a class="el" href="a05929.html#l01576">NLPACS::CLocalRetriever::findPath()</a>, <a class="el" href="a05761.html#l00275">NLPACS::CGlobalRetriever::getBorders()</a>, <a class="el" href="a05929.html#l01238">NLPACS::CLocalRetriever::retrieveAccuratePosition()</a>, <a class="el" href="a05929.html#l01064">NLPACS::CLocalRetriever::retrievePosition()</a>, <a class="el" href="a05929.html#l01807">NLPACS::CLocalRetriever::testCollision()</a>, and <a class="el" href="a05540.html#l00330">NLPACS::COrderedChain3f::unpack()</a>. +<p> +<div class="fragment"><pre>00139 { <span class="keywordflow">return</span> <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp5">_ParentId</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChaina7" doxytag="NLPACS::COrderedChain::getVertices" ></a><p> +<table class="mdTable" 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::vector<<a class="el" href="a03662.html">CVector2s</a>>& NLPACS::COrderedChain::getVertices </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the vertices of the chain. +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00133">133</a> of file <a class="el" href="a05540.html">chain.h</a>. +<p> +Referenced by <a class="el" href="a05929.html#l00655">NLPACS::CLocalRetriever::buildSurfacePolygons()</a>, <a class="el" href="a05522.html#l00627">NLPACS::computeRetriever()</a>, <a class="el" href="a05929.html#l00248">NLPACS::CLocalRetriever::dumpSurface()</a>, <a class="el" href="a05761.html#l01062">NLPACS::CGlobalRetriever::findPath()</a>, <a class="el" href="a05929.html#l00960">NLPACS::CLocalRetriever::insurePosition()</a>, <a class="el" href="a05929.html#l01238">NLPACS::CLocalRetriever::retrieveAccuratePosition()</a>, <a class="el" href="a05929.html#l01064">NLPACS::CLocalRetriever::retrievePosition()</a>, <a class="el" href="a05930.html#l00272">NLPACS::CLocalRetriever::CIterator::setupIndex()</a>, <a class="el" href="a05929.html#l01807">NLPACS::CLocalRetriever::testCollision()</a>, and <a class="el" href="a05540.html#l00330">NLPACS::COrderedChain3f::unpack()</a>. +<p> +<div class="fragment"><pre>00133 { <span class="keywordflow">return</span> <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp6">_Vertices</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChaina8" doxytag="NLPACS::COrderedChain::isForward" ></a><p> +<table class="mdTable" 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 NLPACS::COrderedChain::isForward </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns true if the chain should be accessed forward within the parent <a class="el" href="a02333.html">CChain</a> (see _Forward.). +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00136">136</a> of file <a class="el" href="a05540.html">chain.h</a>. +<p> +Referenced by <a class="el" href="a05929.html#l00655">NLPACS::CLocalRetriever::buildSurfacePolygons()</a>, <a class="el" href="a05929.html#l00960">NLPACS::CLocalRetriever::insurePosition()</a>, <a class="el" href="a05929.html#l01238">NLPACS::CLocalRetriever::retrieveAccuratePosition()</a>, <a class="el" href="a05929.html#l01064">NLPACS::CLocalRetriever::retrievePosition()</a>, <a class="el" href="a05930.html#l00272">NLPACS::CLocalRetriever::CIterator::setupIndex()</a>, and <a class="el" href="a05540.html#l00330">NLPACS::COrderedChain3f::unpack()</a>. +<p> +<div class="fragment"><pre>00136 { <span class="keywordflow">return</span> <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp0">_Forward</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChaina9" doxytag="NLPACS::COrderedChain::operator[]" ></a><p> +<table class="mdTable" 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="a03662.html">CVector2s</a>& NLPACS::COrderedChain::operator[] </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>n</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00148">148</a> of file <a class="el" href="a05540.html">chain.h</a>. +<p> +References <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00148 { <span class="keywordflow">return</span> <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp6">_Vertices</a>[n]; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChaina10" doxytag="NLPACS::COrderedChain::pack" ></a><p> +<table class="mdTable" 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 NLPACS::COrderedChain::pack </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03028.html">COrderedChain3f</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>chain</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00161">161</a> of file <a class="el" href="a05540.html">chain.h</a>. +<p> +References <a class="el" href="a05540.html#l00129">_Max</a>, <a class="el" href="a05540.html#l00129">_Min</a>, <a class="el" href="a05540.html#l00077">NLPACS::COrderedChain3f::getIndexInParent()</a>, <a class="el" href="a05540.html#l00074">NLPACS::COrderedChain3f::getParentId()</a>, <a class="el" href="a05540.html#l00068">NLPACS::COrderedChain3f::getVertices()</a>, <a class="el" href="a05540.html#l00071">NLPACS::COrderedChain3f::isForward()</a>, <a class="el" href="a06679.html#l00165">NLPACS::CVector2s::maxof()</a>, <a class="el" href="a06679.html#l00159">NLPACS::CVector2s::minof()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05539.html#l00199">NLPACS::CChain::make()</a>. +<p> +<div class="fragment"><pre>00162 { +00163 <a class="code" href="a04558.html#a15">uint</a> i; +00164 <span class="keyword">const</span> std::vector<NLMISC::CVector> &vertices = chain.getVertices(); +00165 <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp6">_Vertices</a>.resize(vertices.size()); +00166 <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp0">_Forward</a> = chain.isForward(); +00167 <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp5">_ParentId</a> = chain.getParentId(); +00168 <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp1">_IndexInParent</a> = chain.getIndexInParent(); +00169 <span class="keywordflow">for</span> (i=0; i<vertices.size(); ++i) +00170 { +00171 <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp6">_Vertices</a>[i] = CVector2s(vertices[i]); +00172 <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp4">_Min</a>.minof(_Min, _Vertices[i]); +00173 <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp3">_Max</a>.maxof(_Max, _Vertices[i]); +00174 } +00175 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChaina11" doxytag="NLPACS::COrderedChain::serial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLPACS::COrderedChain::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05539.html#l00158">158</a> of file <a class="el" href="a05539.html">chain.cpp</a>. +<p> +References <a class="el" href="a05540.html#l00129">_Max</a>, <a class="el" href="a05540.html#l00129">_Min</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a06679.html#l00165">NLPACS::CVector2s::maxof()</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a06462.html#l00324">NLMISC::IStream::serialCont()</a>, <a class="el" href="a06461.html#l00266">NLMISC::IStream::serialVersion()</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00159 { +00160 <span class="comment">/*</span> +00161 <span class="comment"> Version 0:</span> +00162 <span class="comment"> - base version.</span> +00163 <span class="comment"> Version 1:</span> +00164 <span class="comment"> - added _Min and _Max vectors</span> +00165 <span class="comment"> */</span> +00166 <a class="code" href="a04558.html#a14">sint</a> ver= f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(1); +00167 +00168 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_Vertices); +00169 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Forward); +00170 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_ParentId); +00171 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_IndexInParent); +00172 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Length); +00173 +00174 <span class="keywordflow">if</span> (ver >= 1) +00175 { +00176 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Min, _Max); +00177 } +00178 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() && !<a class="code" href="a03027.html#NLPACS_1_1COrderedChainp6">_Vertices</a>.empty()) +00179 { +00180 <a class="code" href="a04558.html#a15">uint</a> i; +00181 <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp3">_Max</a> = <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp4">_Min</a> = <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp6">_Vertices</a>[0]; +00182 <span class="keywordflow">for</span> (i=1; i<_Vertices.size(); ++i) +00183 { +00184 _Min.minof(_Min, _Vertices[i]); +00185 <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp3">_Max</a>.maxof(_Max, _Vertices[i]); +00186 } +00187 } +00188 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChaina12" doxytag="NLPACS::COrderedChain::translate" ></a><p> +<table class="mdTable" 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 NLPACS::COrderedChain::translate </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">NLMISC::CVector</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>translation</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05539.html#l00083">83</a> of file <a class="el" href="a05539.html">chain.cpp</a>. +<p> +References <a class="el" href="a06679.html#l00087">NLPACS::CVector2s::pack()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00084 { +00085 <a class="code" href="a04558.html#a15">uint</a> i; +00086 CVector2s translat; +00087 translat.pack(translation); +00088 <span class="keywordflow">for</span> (i=0; i<<a class="code" href="a03027.html#NLPACS_1_1COrderedChainp6">_Vertices</a>.size(); ++i) +00089 <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp6">_Vertices</a>[i] += translat; +00090 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChaina13" doxytag="NLPACS::COrderedChain::traverse" ></a><p> +<table class="mdTable" 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 NLPACS::COrderedChain::traverse </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a14">sint</a> </td> + <td class="mdname" nowrap> <em>from</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> </td> + <td class="mdname" nowrap> <em>to</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>forward</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::vector< <a class="el" href="a03662.html">CVector2s</a> > & </td> + <td class="mdname" nowrap> <em>path</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05539.html#l00093">93</a> of file <a class="el" href="a05539.html">chain.cpp</a>. +<p> +References <a class="el" href="a06756.html#l00873">from</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>00094 { +00095 <a class="code" href="a04558.html#a14">sint</a> i; +00096 <span class="keywordflow">if</span> (forward) +00097 { +00098 <span class="keywordflow">if</span> (<a class="code" href="a05333.html#a132">from</a> < 0) <a class="code" href="a05333.html#a132">from</a> = 0; +00099 <span class="keywordflow">if</span> (to < 0) to = <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp6">_Vertices</a>.size()-1; +00100 +00101 <span class="keywordflow">for</span> (i=<a class="code" href="a05333.html#a132">from</a>+1; i<=to; ++i) +00102 path.push_back(_Vertices[i]); +00103 } +00104 <span class="keywordflow">else</span> +00105 { +00106 <span class="keywordflow">if</span> (<a class="code" href="a05333.html#a132">from</a> < 0) <a class="code" href="a05333.html#a132">from</a> = <a class="code" href="a03027.html#NLPACS_1_1COrderedChainp6">_Vertices</a>.size()-2; +00107 <span class="keywordflow">if</span> (to < 0) to = -1; +00108 +00109 <span class="keywordflow">for</span> (i=<a class="code" href="a05333.html#a132">from</a>; i>to; --i) +00110 path.push_back(_Vertices[i]); +00111 } +00112 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="NLPACS_1_1COrderedChainn0" doxytag="NLPACS::COrderedChain::CChain" ></a><p> +<table class="mdTable" 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="a02333.html">CChain</a><code> [friend]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00110">110</a> of file <a class="el" href="a05540.html">chain.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChainn1" doxytag="NLPACS::COrderedChain::CRetrievableSurface" ></a><p> +<table class="mdTable" 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="a03328.html">CRetrievableSurface</a><code> [friend]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00111">111</a> of file <a class="el" href="a05540.html">chain.h</a>. </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLPACS_1_1COrderedChainp0" doxytag="NLPACS::COrderedChain::_Forward" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03027.html#NLPACS_1_1COrderedChainp0">NLPACS::COrderedChain::_Forward</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set if the chain should be read forward within the parent <a class="el" href="a02333.html">CChain</a> (for sequential access to vertices.). +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00117">117</a> of file <a class="el" href="a05540.html">chain.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChainp1" doxytag="NLPACS::COrderedChain::_IndexInParent" ></a><p> +<table class="mdTable" 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#a9">uint16</a> <a class="el" href="a03027.html#NLPACS_1_1COrderedChainp1">NLPACS::COrderedChain::_IndexInParent</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The index of the ochain within the parent chain. +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00123">123</a> of file <a class="el" href="a05540.html">chain.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChainp2" doxytag="NLPACS::COrderedChain::_Length" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a03027.html#NLPACS_1_1COrderedChainp2">NLPACS::COrderedChain::_Length</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The length of the chain. +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00126">126</a> of file <a class="el" href="a05540.html">chain.h</a>. +<p> +Referenced by <a class="el" href="a05539.html#l00199">NLPACS::CChain::make()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChainp3" doxytag="NLPACS::COrderedChain::_Max" ></a><p> +<table class="mdTable" 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="a03662.html">CVector2s</a> <a class="el" href="a03027.html#NLPACS_1_1COrderedChainp3">NLPACS::COrderedChain::_Max</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The min and max vertices of the chain. +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00129">129</a> of file <a class="el" href="a05540.html">chain.h</a>. +<p> +Referenced by <a class="el" href="a05540.html#l00178">computeMinMax()</a>, <a class="el" href="a05540.html#l00154">getMax()</a>, <a class="el" href="a05540.html#l00161">pack()</a>, and <a class="el" href="a05539.html#l00158">serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChainp4" doxytag="NLPACS::COrderedChain::_Min" ></a><p> +<table class="mdTable" 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="a03662.html">CVector2s</a> <a class="el" href="a03027.html#NLPACS_1_1COrderedChainp4">NLPACS::COrderedChain::_Min</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The min and max vertices of the chain. +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00129">129</a> of file <a class="el" href="a05540.html">chain.h</a>. +<p> +Referenced by <a class="el" href="a05540.html#l00178">computeMinMax()</a>, <a class="el" href="a05540.html#l00151">getMin()</a>, <a class="el" href="a05540.html#l00161">pack()</a>, and <a class="el" href="a05539.html#l00158">serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChainp5" doxytag="NLPACS::COrderedChain::_ParentId" ></a><p> +<table class="mdTable" 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#a9">uint16</a> <a class="el" href="a03027.html#NLPACS_1_1COrderedChainp5">NLPACS::COrderedChain::_ParentId</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The parent chain Id. +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00120">120</a> of file <a class="el" href="a05540.html">chain.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1COrderedChainp6" doxytag="NLPACS::COrderedChain::_Vertices" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="a03662.html">CVector2s</a>> <a class="el" href="a03027.html#NLPACS_1_1COrderedChainp6">NLPACS::COrderedChain::_Vertices</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The vertices of the chain, ordered following x growth. +<p> + +<p> +Definition at line <a class="el" href="a05540.html#l00114">114</a> of file <a class="el" href="a05540.html">chain.h</a>. +<p> +Referenced by <a class="el" href="a05539.html#l00199">NLPACS::CChain::make()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05540.html">chain.h</a><li><a class="el" href="a05539.html">chain.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 14:19:35 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> |