diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a02942.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a02942.html')
-rw-r--r-- | docs/doxygen/nel/a02942.html | 601 |
1 files changed, 601 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02942.html b/docs/doxygen/nel/a02942.html new file mode 100644 index 00000000..74eeb840 --- /dev/null +++ b/docs/doxygen/nel/a02942.html @@ -0,0 +1,601 @@ +<!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::CMoveCell 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::CMoveCell Class Reference</h1><code>#include <<a class="el" href="a06046.html">move_cell.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Move cell<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="a06046.html#l00044">44</a> of file <a class="el" href="a06046.html">move_cell.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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02942.html#NLPACS_1_1CMoveCella0">CMoveCell</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NLPACS_1_1CMoveCella0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02945.html">CMoveElement</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02942.html#NLPACS_1_1CMoveCella1">getFirstX</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02945.html">CMoveElement</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02942.html#NLPACS_1_1CMoveCella2">getLastX</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02945.html">CMoveElement</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02942.html#NLPACS_1_1CMoveCella3">getRootX</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02942.html#NLPACS_1_1CMoveCella4">linkFirstX</a> (<a class="el" href="a02945.html">CMoveElement</a> *element)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Update sorted lists for an element. <a href="#NLPACS_1_1CMoveCella4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02942.html#NLPACS_1_1CMoveCella5">linkLastX</a> (<a class="el" href="a02945.html">CMoveElement</a> *element)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Update sorted lists for an element. <a href="#NLPACS_1_1CMoveCella5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02942.html#NLPACS_1_1CMoveCella6">unlinkX</a> (<a class="el" href="a02945.html">CMoveElement</a> *element)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02942.html#NLPACS_1_1CMoveCella7">updateSortedLists</a> (<a class="el" href="a02945.html">CMoveElement</a> *element, <a class="el" href="a04558.html#a7">uint8</a> worldImage)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Update sorted lists for an element. <a href="#NLPACS_1_1CMoveCella7"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Private 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="a02942.html#NLPACS_1_1CMoveCelld0">linkX</a> (<a class="el" href="a02945.html">CMoveElement</a> *previous, <a class="el" href="a02945.html">CMoveElement</a> *element, <a class="el" href="a02945.html">CMoveElement</a> *next)</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="a02945.html">CMoveElement</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02942.html#NLPACS_1_1CMoveCellr0">_FirstX</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02945.html">CMoveElement</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02942.html#NLPACS_1_1CMoveCellr1">_LastX</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLPACS_1_1CMoveCella0" doxytag="NLPACS::CMoveCell::CMoveCell" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLPACS::CMoveCell::CMoveCell </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="a06045.html#l00037">37</a> of file <a class="el" href="a06045.html">move_cell.cpp</a>. +<p> +References <a class="el" href="a06046.html#l00110">_FirstX</a>. +<p> +<div class="fragment"><pre>00038 { +00039 <a class="code" href="a02942.html#NLPACS_1_1CMoveCellr0">_FirstX</a>=NULL; +00040 <a class="code" href="a02942.html#NLPACS_1_1CMoveCellr1">_LastX</a>=NULL; +00041 <span class="comment">/*_FirstY=NULL;</span> +00042 <span class="comment"> _LastY=NULL;*/</span> +00043 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLPACS_1_1CMoveCella1" doxytag="NLPACS::CMoveCell::getFirstX" ></a><p> +<table class="mdTable" 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="a02945.html">CMoveElement</a>* NLPACS::CMoveCell::getFirstX </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06046.html#l00085">85</a> of file <a class="el" href="a06046.html">move_cell.h</a>. +<p> +References <a class="el" href="a06046.html#l00110">_FirstX</a>. +<p> +<div class="fragment"><pre>00086 { +00087 <span class="keywordflow">return</span> <a class="code" href="a02942.html#NLPACS_1_1CMoveCellr0">_FirstX</a>; +00088 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMoveCella2" doxytag="NLPACS::CMoveCell::getLastX" ></a><p> +<table class="mdTable" 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="a02945.html">CMoveElement</a>* NLPACS::CMoveCell::getLastX </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06046.html#l00091">91</a> of file <a class="el" href="a06046.html">move_cell.h</a>. +<p> +<div class="fragment"><pre>00092 { +00093 <span class="keywordflow">return</span> <a class="code" href="a02942.html#NLPACS_1_1CMoveCellr1">_LastX</a>; +00094 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMoveCella3" doxytag="NLPACS::CMoveCell::getRootX" ></a><p> +<table class="mdTable" 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="a02945.html">CMoveElement</a>* NLPACS::CMoveCell::getRootX </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="a06046.html#l00097">97</a> of file <a class="el" href="a06046.html">move_cell.h</a>. +<p> +References <a class="el" href="a06046.html#l00110">_FirstX</a>. +<p> +<div class="fragment"><pre>00098 { +00099 <span class="keywordflow">return</span> <a class="code" href="a02942.html#NLPACS_1_1CMoveCellr0">_FirstX</a>; +00100 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMoveCella4" doxytag="NLPACS::CMoveCell::linkFirstX" ></a><p> +<table class="mdTable" 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::CMoveCell::linkFirstX </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02945.html">CMoveElement</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>element</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> +Update sorted lists for an element. +<p> + +<p> +Definition at line <a class="el" href="a06046.html#l00052">52</a> of file <a class="el" href="a06046.html">move_cell.h</a>. +<p> +References <a class="el" href="a06046.html#l00110">_FirstX</a>, and <a class="el" href="a06045.html#l00082">linkX()</a>. +<p> +Referenced by <a class="el" href="a06207.html#l01058">NLPACS::CPrimitiveWorldImage::addMoveElement()</a>. +<p> +<div class="fragment"><pre>00053 { +00054 <a class="code" href="a02942.html#NLPACS_1_1CMoveCelld0">linkX</a> (NULL, element, _FirstX); +00055 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMoveCella5" doxytag="NLPACS::CMoveCell::linkLastX" ></a><p> +<table class="mdTable" 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::CMoveCell::linkLastX </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02945.html">CMoveElement</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>element</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> +Update sorted lists for an element. +<p> + +<p> +Definition at line <a class="el" href="a06046.html#l00058">58</a> of file <a class="el" href="a06046.html">move_cell.h</a>. +<p> +References <a class="el" href="a06045.html#l00082">linkX()</a>. +<p> +Referenced by <a class="el" href="a06207.html#l01058">NLPACS::CPrimitiveWorldImage::addMoveElement()</a>. +<p> +<div class="fragment"><pre>00059 { +00060 <a class="code" href="a02942.html#NLPACS_1_1CMoveCelld0">linkX</a> (_LastX, element, NULL); +00061 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMoveCelld0" doxytag="NLPACS::CMoveCell::linkX" ></a><p> +<table class="mdTable" 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::CMoveCell::linkX </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02945.html">CMoveElement</a> * </td> + <td class="mdname" nowrap> <em>previous</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02945.html">CMoveElement</a> * </td> + <td class="mdname" nowrap> <em>element</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02945.html">CMoveElement</a> * </td> + <td class="mdname" nowrap> <em>next</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</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="a06045.html#l00082">82</a> of file <a class="el" href="a06045.html">move_cell.cpp</a>. +<p> +References <a class="el" href="a06046.html#l00110">_FirstX</a>, <a class="el" href="a06051.html#l00051">NLPACS::CMoveElement::NextX</a>, and <a class="el" href="a06051.html#l00054">NLPACS::CMoveElement::PreviousX</a>. +<p> +Referenced by <a class="el" href="a06046.html#l00052">linkFirstX()</a>, <a class="el" href="a06046.html#l00058">linkLastX()</a>, and <a class="el" href="a06045.html#l00124">updateSortedLists()</a>. +<p> +<div class="fragment"><pre>00083 { +00084 <span class="comment">// Link the element</span> +00085 element->NextX=next; +00086 element->PreviousX=previous; +00087 +00088 <span class="comment">// Link to others</span> +00089 <span class="keywordflow">if</span> (previous) +00090 previous->NextX=element; +00091 <span class="keywordflow">if</span> (next) +00092 next->PreviousX=element; +00093 +00094 <span class="comment">// Check first / last</span> +00095 <span class="keywordflow">if</span> (previous==NULL) +00096 <a class="code" href="a02942.html#NLPACS_1_1CMoveCellr0">_FirstX</a>=element; +00097 <span class="keywordflow">if</span> (next==NULL) +00098 <a class="code" href="a02942.html#NLPACS_1_1CMoveCellr1">_LastX</a>=element; +00099 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMoveCella6" doxytag="NLPACS::CMoveCell::unlinkX" ></a><p> +<table class="mdTable" 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::CMoveCell::unlinkX </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02945.html">CMoveElement</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>element</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="a06045.html#l00047">47</a> of file <a class="el" href="a06045.html">move_cell.cpp</a>. +<p> +References <a class="el" href="a06046.html#l00110">_FirstX</a>, <a class="el" href="a06051.html#l00051">NLPACS::CMoveElement::NextX</a>, and <a class="el" href="a06051.html#l00054">NLPACS::CMoveElement::PreviousX</a>. +<p> +Referenced by <a class="el" href="a06045.html#l00124">updateSortedLists()</a>. +<p> +<div class="fragment"><pre>00048 { +00049 <span class="comment">// Check first last</span> +00050 <span class="keywordflow">if</span> (<a class="code" href="a02942.html#NLPACS_1_1CMoveCellr0">_FirstX</a>==element) +00051 <a class="code" href="a02942.html#NLPACS_1_1CMoveCellr0">_FirstX</a>=element->NextX; +00052 <span class="keywordflow">if</span> (<a class="code" href="a02942.html#NLPACS_1_1CMoveCellr1">_LastX</a>==element) +00053 <a class="code" href="a02942.html#NLPACS_1_1CMoveCellr1">_LastX</a>=element->PreviousX; +00054 +00055 <span class="comment">// Relink to others</span> +00056 <span class="keywordflow">if</span> (element->NextX) +00057 element->NextX->PreviousX=element->PreviousX; +00058 <span class="keywordflow">if</span> (element->PreviousX) +00059 element->PreviousX->NextX=element->NextX; +00060 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMoveCella7" doxytag="NLPACS::CMoveCell::updateSortedLists" ></a><p> +<table class="mdTable" 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::CMoveCell::updateSortedLists </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02945.html">CMoveElement</a> * </td> + <td class="mdname" nowrap> <em>element</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> </td> + <td class="mdname" nowrap> <em>worldImage</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Update sorted lists for an element. +<p> + +<p> +Definition at line <a class="el" href="a06045.html#l00124">124</a> of file <a class="el" href="a06045.html">move_cell.cpp</a>. +<p> +References <a class="el" href="a06208.html#l00176">NLPACS::CPrimitiveWorldImage::getBBXMin()</a>, <a class="el" href="a06054.html#l00116">NLPACS::CMovePrimitive::getWorldImage()</a>, <a class="el" href="a06045.html#l00082">linkX()</a>, <a class="el" href="a06051.html#l00051">NLPACS::CMoveElement::NextX</a>, <a class="el" href="a06051.html#l00054">NLPACS::CMoveElement::PreviousX</a>, <a class="el" href="a06051.html#l00048">NLPACS::CMoveElement::Primitive</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a06045.html#l00047">unlinkX()</a>. +<p> +Referenced by <a class="el" href="a06207.html#l01058">NLPACS::CPrimitiveWorldImage::addMoveElement()</a>. +<p> +<div class="fragment"><pre>00125 { +00126 <span class="comment">// ** Update sorted list on X</span> +00127 +00128 <span class="comment">// Primitive pointer</span> +00129 CMovePrimitive *primitive=element->Primitive; +00130 +00131 <span class="comment">// Get the world image</span> +00132 CPrimitiveWorldImage *wI=primitive->getWorldImage (worldImage); +00133 +00134 <span class="comment">// Test if we will go to the right</span> +00135 CMoveElement *ptr=element->NextX; +00136 <span class="keywordflow">if</span> (ptr && (wI->getBBXMin() > ptr->Primitive->getWorldImage (worldImage)->getBBXMin()) ) +00137 { +00138 <span class="comment">// Unlink</span> +00139 <a class="code" href="a02942.html#NLPACS_1_1CMoveCella6">unlinkX</a> (element); +00140 +00141 <span class="comment">// Adjust the list localisation</span> +00142 <span class="keywordflow">while</span> (ptr->NextX && (wI->getBBXMin() > ptr->NextX->Primitive->getWorldImage (worldImage)->getBBXMin()) ) +00143 { +00144 <span class="comment">// Next ptr</span> +00145 ptr=ptr->NextX; +00146 } +00147 +00148 <span class="comment">// Here we go</span> +00149 <a class="code" href="a02942.html#NLPACS_1_1CMoveCelld0">linkX</a> (ptr, element, ptr->NextX); +00150 } +00151 <span class="keywordflow">else</span> +00152 { +00153 <span class="comment">// Test if we will go to the left</span> +00154 ptr=element->PreviousX; +00155 <span class="keywordflow">if</span> (ptr && (ptr->Primitive->getWorldImage (worldImage)->getBBXMin() > wI->getBBXMin()) ) +00156 { +00157 <span class="comment">// Unlink</span> +00158 <a class="code" href="a02942.html#NLPACS_1_1CMoveCella6">unlinkX</a> (element); +00159 +00160 <span class="comment">// Adjust the list localisation</span> +00161 <span class="keywordflow">while</span> (ptr->PreviousX && (ptr->PreviousX->Primitive->getWorldImage (worldImage)->getBBXMin() > wI->getBBXMin()) ) +00162 { +00163 <span class="comment">// Next ptr</span> +00164 ptr=ptr->PreviousX; +00165 } +00166 +00167 <span class="comment">// Here we go</span> +00168 <a class="code" href="a02942.html#NLPACS_1_1CMoveCelld0">linkX</a> (ptr->PreviousX, element, ptr); +00169 } +00170 } +00171 +00172 <span class="comment">/* // ** Update sorted list on Y</span> +00173 <span class="comment"></span> +00174 <span class="comment"> // Test if we will go to the right</span> +00175 <span class="comment"> ptr=element->NextY;</span> +00176 <span class="comment"> if (ptr && (primitive->getBBYMin() > ptr->Primitive->getBBYMin()) )</span> +00177 <span class="comment"> {</span> +00178 <span class="comment"> // Unlink</span> +00179 <span class="comment"> unlinkY (element);</span> +00180 <span class="comment"></span> +00181 <span class="comment"> // Adjust the list localisation</span> +00182 <span class="comment"> while (ptr->NextY && (primitive->getBBYMin() > ptr->NextY->Primitive->getBBYMin()) )</span> +00183 <span class="comment"> {</span> +00184 <span class="comment"> // Next ptr</span> +00185 <span class="comment"> ptr=ptr->NextY;</span> +00186 <span class="comment"> }</span> +00187 <span class="comment"></span> +00188 <span class="comment"> // Here we go</span> +00189 <span class="comment"> linkY (ptr, element, ptr->NextY);</span> +00190 <span class="comment"> }</span> +00191 <span class="comment"> else</span> +00192 <span class="comment"> {</span> +00193 <span class="comment"> // Test if we will go to the left</span> +00194 <span class="comment"> ptr=element->PreviousY;</span> +00195 <span class="comment"> if (ptr && (ptr->Primitive->getBBYMin() > primitive->getBBYMin()) )</span> +00196 <span class="comment"> {</span> +00197 <span class="comment"> // Unlink</span> +00198 <span class="comment"> unlinkY (element);</span> +00199 <span class="comment"></span> +00200 <span class="comment"> // Adjust the list localisation</span> +00201 <span class="comment"> while (ptr->PreviousY && (ptr->PreviousY->Primitive->getBBYMin() > primitive->getBBYMin()) )</span> +00202 <span class="comment"> {</span> +00203 <span class="comment"> // Next ptr</span> +00204 <span class="comment"> ptr=ptr->PreviousY;</span> +00205 <span class="comment"> }</span> +00206 <span class="comment"></span> +00207 <span class="comment"> // Here we go</span> +00208 <span class="comment"> linkY (ptr->PreviousY, element, ptr);</span> +00209 <span class="comment"> }</span> +00210 <span class="comment"> }*/</span> +00211 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLPACS_1_1CMoveCellr0" doxytag="NLPACS::CMoveCell::_FirstX" ></a><p> +<table class="mdTable" 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="a02945.html">CMoveElement</a>* <a class="el" href="a02942.html#NLPACS_1_1CMoveCellr0">NLPACS::CMoveCell::_FirstX</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06046.html#l00110">110</a> of file <a class="el" href="a06046.html">move_cell.h</a>. +<p> +Referenced by <a class="el" href="a06045.html#l00037">CMoveCell()</a>, <a class="el" href="a06046.html#l00085">getFirstX()</a>, <a class="el" href="a06046.html#l00097">getRootX()</a>, <a class="el" href="a06046.html#l00052">linkFirstX()</a>, <a class="el" href="a06045.html#l00082">linkX()</a>, and <a class="el" href="a06045.html#l00047">unlinkX()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMoveCellr1" doxytag="NLPACS::CMoveCell::_LastX" ></a><p> +<table class="mdTable" 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="a02945.html">CMoveElement</a>* <a class="el" href="a02942.html#NLPACS_1_1CMoveCellr1">NLPACS::CMoveCell::_LastX</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06046.html#l00111">111</a> of file <a class="el" href="a06046.html">move_cell.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06046.html">move_cell.h</a><li><a class="el" href="a06045.html">move_cell.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 14:16:43 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> |