Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 1099e73f16f15ba3cf656e619f52a447 > files > 318

ompl-devel-0.9.5-1.fc14.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8"/>
<title>OMPL: ompl::GridN&lt; _T &gt; Class Template Reference</title>
<meta name="author" content="Ioan A. Șucan, Mark Moll, Lydia E. Kavraki">
<link rel="stylesheet" href="../css/screen.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="../css/print.css" type="text/css" media="print">
<!--[if lt IE 7]>
<script type="text/javascript" src="../js/jquery/jquery.js"></script>
<script type="text/javascript" src="../js/jquery/jquery.dropdown.js"></script>
<![endif]-->
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-9156598-2']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search API');
--></script>
<div class="navigation" id="top">
  <div class="tabs" id="ompltitle">
    <ul class="tablist">
      <li>The Open Motion Planning Library</li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search API" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)"
               onblur="searchBox.OnSearchFieldFocus(false)"
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>

  <ul id="nav" class="dropdown">
    <li class="first"><a href="index.html">Home</a></li>
    <li><a href="download.html">Download</a></li>
    <li><a href="documentation.html">Documentation</a></li>
    <li><span class="dir">Code API</span>
      <ul>
        <li><a href="api_overview.html">API Overview</a></li>
        <li><a href="namespaces.html">Namespaces</a></li>
        <li><a href="annotated.html">Classes</a></li>
        <li><a href="files.html">Files</a></li>
        <li><a href="dirs.html">Directories</a></li>
      </ul>
    </li>
    <li><span class="dir">Community</span>
      <ul>
        <li><a href="developers.html">Developers</a></li>
        <li><a href="thirdparty.html">Contributions</a></li>
        <li><a href="education.html">Education</a></li>
        <li><a href="gallery.html">Gallery</a></li>
      </ul>
    </li>
    <li><span class="dir">About</span>
      <ul>
        <li><a href="license.html">License</a></li>
        <li><a href="citations.html">Citations</a></li>
        <li><a href="acknowledgements.html">Acknowledgments</a></li>
        <li><a href="contact.html">Contact Us</a></li>
      </ul>
    </li>
  </ul>
</div>

<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
  onmouseover="return searchBox.OnSearchSelectShow()"
  onmouseout="return searchBox.OnSearchSelectHide()"
  onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
  <iframe src="" frameborder="0"name="MSearchResults" id="MSearchResults"></iframe>
</div>

<div class="container">
  <div class="span-22 push-2 first last">
  <div>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceompl.html">ompl</a>      </li>
      <li class="navelem"><a class="el" href="classompl_1_1GridN.html">GridN</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">ompl::GridN&lt; _T &gt; Class Template Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="ompl::GridN" --><!-- doxytag: inherits="ompl::Grid" -->
<p>Representation of a grid where cells keep track of how many neighbors they have.  
 <a href="classompl_1_1GridN.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="GridN_8h_source.html">GridN.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ompl::GridN&lt; _T &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classompl_1_1GridN__inherit__graph.png" border="0" usemap="#ompl_1_1GridN_3_01__T_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ompl_1_1GridN_3_01__T_01_4_inherit__map" id="ompl_1_1GridN_3_01__T_01_4_inherit__map">
<area shape="rect" id="node5" href="classompl_1_1GridB.html" title="This class defines a grid that keeps track of its boundary: it distinguishes between interior and ext..." alt="" coords="5,160,136,189"/><area shape="rect" id="node2" href="classompl_1_1Grid.html" title="Representation of a simple grid." alt="" coords="11,5,131,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classompl_1_1GridN-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structompl_1_1GridN_1_1Cell.html">Cell</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Definition of a cell in this grid.  <a href="structompl_1_1GridN_1_1Cell.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa26d52609e9a958a0dee1c774d817f34"></a><!-- doxytag: member="ompl::GridN::BaseCell" ref="aa26d52609e9a958a0dee1c774d817f34" args="" -->
typedef <a class="el" href="classompl_1_1Grid.html">Grid</a>&lt; _T &gt;::<a class="el" href="structompl_1_1Grid_1_1Cell.html">Cell</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#aa26d52609e9a958a0dee1c774d817f34">BaseCell</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Datatype for cell in base class. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4b26a5015ed43cb79442a1d7041ca877"></a><!-- doxytag: member="ompl::GridN::BaseCellArray" ref="a4b26a5015ed43cb79442a1d7041ca877" args="" -->
typedef <a class="el" href="classompl_1_1Grid.html">Grid</a>&lt; _T &gt;::<a class="el" href="classompl_1_1Grid.html#a75eda082fd346c84697130d347c1eb2f">CellArray</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#a4b26a5015ed43cb79442a1d7041ca877">BaseCellArray</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Datatype for array of cells in base class. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae15a0d9d76a01bc9f98afbed8ce23342"></a><!-- doxytag: member="ompl::GridN::Coord" ref="ae15a0d9d76a01bc9f98afbed8ce23342" args="" -->
typedef <a class="el" href="classompl_1_1Grid.html">Grid</a>&lt; _T &gt;::<a class="el" href="classompl_1_1GridN.html#ae15a0d9d76a01bc9f98afbed8ce23342">Coord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#ae15a0d9d76a01bc9f98afbed8ce23342">Coord</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Datatype for cell coordinates. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a44c57859eaebc6bdc3c9c453662ac252"></a><!-- doxytag: member="ompl::GridN::CellArray" ref="a44c57859eaebc6bdc3c9c453662ac252" args="" -->
typedef std::vector&lt; <a class="el" href="structompl_1_1Grid_1_1Cell.html">Cell</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#a44c57859eaebc6bdc3c9c453662ac252">CellArray</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The datatype for arrays of cells. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a19056d56c0b54dd8ef2c3c9d483f1211"></a><!-- doxytag: member="ompl::GridN::GridN" ref="a19056d56c0b54dd8ef2c3c9d483f1211" args="(unsigned int dimension)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#a19056d56c0b54dd8ef2c3c9d483f1211">GridN</a> (unsigned int dimension)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The constructor takes the dimension of the grid as argument. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#a8f301e691e48294e1e216d1c7971aa9d">setDimension</a> (unsigned int dimension)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#ae69767d44f200c28b21683ac76d1624d">setBounds</a> (const <a class="el" href="classompl_1_1GridN.html#ae15a0d9d76a01bc9f98afbed8ce23342">Coord</a> &amp;low, const <a class="el" href="classompl_1_1GridN.html#ae15a0d9d76a01bc9f98afbed8ce23342">Coord</a> &amp;up)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#ae5d42e023d6aa00ac1d479dad46d7144">setInteriorCellNeighborLimit</a> (unsigned int count)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a55b24fea201c89c9dab91c8624cec4e5"></a><!-- doxytag: member="ompl::GridN::getCell" ref="a55b24fea201c89c9dab91c8624cec4e5" args="(const Coord &amp;coord) const " -->
<a class="el" href="structompl_1_1Grid_1_1Cell.html">Cell</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#a55b24fea201c89c9dab91c8624cec4e5">getCell</a> (const <a class="el" href="classompl_1_1GridN.html#ae15a0d9d76a01bc9f98afbed8ce23342">Coord</a> &amp;coord) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the cell at a specified coordinate. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adfe8ed73a5dc1ce935e9abf51d91682b"></a><!-- doxytag: member="ompl::GridN::neighbors" ref="adfe8ed73a5dc1ce935e9abf51d91682b" args="(const Cell *cell, CellArray &amp;list) const " -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#adfe8ed73a5dc1ce935e9abf51d91682b">neighbors</a> (const <a class="el" href="structompl_1_1Grid_1_1Cell.html">Cell</a> *cell, <a class="el" href="classompl_1_1Grid.html#a75eda082fd346c84697130d347c1eb2f">CellArray</a> &amp;list) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the list of neighbors for a given cell. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ba55b0907ff580f04447d58af044de0"></a><!-- doxytag: member="ompl::GridN::neighbors" ref="a1ba55b0907ff580f04447d58af044de0" args="(const Coord &amp;coord, CellArray &amp;list) const " -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#a1ba55b0907ff580f04447d58af044de0">neighbors</a> (const <a class="el" href="classompl_1_1GridN.html#ae15a0d9d76a01bc9f98afbed8ce23342">Coord</a> &amp;coord, <a class="el" href="classompl_1_1Grid.html#a75eda082fd346c84697130d347c1eb2f">CellArray</a> &amp;list) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the list of neighbors for a given coordinate. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6833ae9f28a7b57275faee82437255d9"></a><!-- doxytag: member="ompl::GridN::neighbors" ref="a6833ae9f28a7b57275faee82437255d9" args="(Coord &amp;coord, CellArray &amp;list) const " -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#a6833ae9f28a7b57275faee82437255d9">neighbors</a> (<a class="el" href="classompl_1_1GridN.html#ae15a0d9d76a01bc9f98afbed8ce23342">Coord</a> &amp;coord, <a class="el" href="classompl_1_1Grid.html#a75eda082fd346c84697130d347c1eb2f">CellArray</a> &amp;list) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the list of neighbors for a given coordinate. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structompl_1_1Grid_1_1Cell.html">BaseCell</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#a5e226b31313bbb3887cc5a7be02a17a2">createCell</a> (const <a class="el" href="classompl_1_1GridN.html#ae15a0d9d76a01bc9f98afbed8ce23342">Coord</a> &amp;coord, <a class="el" href="classompl_1_1GridN.html#a4b26a5015ed43cb79442a1d7041ca877">BaseCellArray</a> *nbh=NULL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#abafef2aa6c3f2e6c35ef1a82f10f97c8">remove</a> (<a class="el" href="structompl_1_1Grid_1_1Cell.html">BaseCell</a> *cell)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1bc2efb9f3533a98381ee2e12da28117"></a><!-- doxytag: member="ompl::GridN::getCells" ref="a1bc2efb9f3533a98381ee2e12da28117" args="(CellArray &amp;cells) const " -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#a1bc2efb9f3533a98381ee2e12da28117">getCells</a> (<a class="el" href="classompl_1_1Grid.html#a75eda082fd346c84697130d347c1eb2f">CellArray</a> &amp;cells) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the set of instantiated cells in the grid. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab065311737237a3731d41e0cbc4e1b76"></a><!-- doxytag: member="ompl::GridN::numberOfBoundaryDimensions" ref="ab065311737237a3731d41e0cbc4e1b76" args="(const Coord &amp;coord) const " -->
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#ab065311737237a3731d41e0cbc4e1b76">numberOfBoundaryDimensions</a> (const <a class="el" href="classompl_1_1GridN.html#ae15a0d9d76a01bc9f98afbed8ce23342">Coord</a> &amp;coord) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute how many sides of a coordinate touch the boundaries of the grid. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ace239cb56364f32748d8c4a66ec8b31f"></a><!-- doxytag: member="ompl::GridN::hasBounds_" ref="ace239cb56364f32748d8c4a66ec8b31f" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#ace239cb56364f32748d8c4a66ec8b31f">hasBounds_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag indicating whether bounds are in effect for this grid. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acdf65b3cd4603c5d25597e62064751d8"></a><!-- doxytag: member="ompl::GridN::lowBound_" ref="acdf65b3cd4603c5d25597e62064751d8" args="" -->
<a class="el" href="classompl_1_1GridN.html#ae15a0d9d76a01bc9f98afbed8ce23342">Coord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#acdf65b3cd4603c5d25597e62064751d8">lowBound_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If bounds are set, this defines the lower corner cell. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a422a9ee23538f070a2d9704e2ca70ead"></a><!-- doxytag: member="ompl::GridN::upBound_" ref="a422a9ee23538f070a2d9704e2ca70ead" args="" -->
<a class="el" href="classompl_1_1GridN.html#ae15a0d9d76a01bc9f98afbed8ce23342">Coord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#a422a9ee23538f070a2d9704e2ca70ead">upBound_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If bounds are set, this defines the upper corner cell. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#a035b9527b8cfd98a6e4f4d7472e668a1">interiorCellNeighborsLimit_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1GridN.html#a1e9cc38ff1df4dca6c9969f73dcad61e">overrideCellNeighborsLimit_</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename _T&gt;<br/>
class ompl::GridN&lt; _T &gt;</h3>

<p>Representation of a grid where cells keep track of how many neighbors they have. </p>

<p>Definition at line <a class="el" href="GridN_8h_source.html#l00047">47</a> of file <a class="el" href="GridN_8h_source.html">GridN.h</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a5e226b31313bbb3887cc5a7be02a17a2"></a><!-- doxytag: member="ompl::GridN::createCell" ref="a5e226b31313bbb3887cc5a7be02a17a2" args="(const Coord &amp;coord, BaseCellArray *nbh=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structompl_1_1Grid_1_1Cell.html">BaseCell</a>* <a class="el" href="classompl_1_1GridN.html">ompl::GridN</a>&lt; _T &gt;::createCell </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classompl_1_1GridN.html#ae15a0d9d76a01bc9f98afbed8ce23342">Coord</a> &amp;&#160;</td>
          <td class="paramname"><em>coord</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classompl_1_1GridN.html#a4b26a5015ed43cb79442a1d7041ca877">BaseCellArray</a> *&#160;</td>
          <td class="paramname"><em>nbh</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Instantiate a new cell at given coordinates; Optionally return the list of future neighbors. Note: this call only creates the cell, but does not add it to the grid. It however updates the neighbor count for neighboring cells </p>

<p>Definition at line <a class="el" href="GridN_8h_source.html#l00166">166</a> of file <a class="el" href="GridN_8h_source.html">GridN.h</a>.</p>

</div>
</div>
<a class="anchor" id="abafef2aa6c3f2e6c35ef1a82f10f97c8"></a><!-- doxytag: member="ompl::GridN::remove" ref="abafef2aa6c3f2e6c35ef1a82f10f97c8" args="(BaseCell *cell)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual bool <a class="el" href="classompl_1_1GridN.html">ompl::GridN</a>&lt; _T &gt;::remove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structompl_1_1Grid_1_1Cell.html">BaseCell</a> *&#160;</td>
          <td class="paramname"><em>cell</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Remove a cell from the grid. If the cell has not been Added to the grid, only update the neighbor list </p>

<p>Reimplemented from <a class="el" href="classompl_1_1Grid.html#a72386f9ffd43e98d25aa38b224541564">ompl::Grid&lt; _T &gt;</a>.</p>

<p>Reimplemented in <a class="el" href="classompl_1_1GridB.html#a35d8377f870c0e03fca9f2839d863165">ompl::GridB&lt; _T, LessThanExternal, LessThanInternal &gt;</a>.</p>

<p>Definition at line <a class="el" href="GridN_8h_source.html#l00194">194</a> of file <a class="el" href="GridN_8h_source.html">GridN.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae69767d44f200c28b21683ac76d1624d"></a><!-- doxytag: member="ompl::GridN::setBounds" ref="ae69767d44f200c28b21683ac76d1624d" args="(const Coord &amp;low, const Coord &amp;up)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classompl_1_1GridN.html">ompl::GridN</a>&lt; _T &gt;::setBounds </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classompl_1_1GridN.html#ae15a0d9d76a01bc9f98afbed8ce23342">Coord</a> &amp;&#160;</td>
          <td class="paramname"><em>low</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classompl_1_1GridN.html#ae15a0d9d76a01bc9f98afbed8ce23342">Coord</a> &amp;&#160;</td>
          <td class="paramname"><em>up</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>If bounds for the grid need to be considered, we can set them here. When the number of neighbors are counted, whether the Space is bounded matters, in the sense that if a cell is on the boundary, we know some of its neighbors cannot exist. In order to allow such a cell to reflect the fact it has Achieved its maximal number of neighbors, the boundary is counted as the number of neighbors it prevents from existing. </p>

<p>Definition at line <a class="el" href="GridN_8h_source.html#l00115">115</a> of file <a class="el" href="GridN_8h_source.html">GridN.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8f301e691e48294e1e216d1c7971aa9d"></a><!-- doxytag: member="ompl::GridN::setDimension" ref="a8f301e691e48294e1e216d1c7971aa9d" args="(unsigned int dimension)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classompl_1_1GridN.html">ompl::GridN</a>&lt; _T &gt;::setDimension </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>dimension</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Update the dimension of the grid; this should not be done unless the grid is empty </p>

<p>Reimplemented from <a class="el" href="classompl_1_1Grid.html#a118373bcfe70886449d94782b0a7c783">ompl::Grid&lt; _T &gt;</a>.</p>

<p>Definition at line <a class="el" href="GridN_8h_source.html#l00097">97</a> of file <a class="el" href="GridN_8h_source.html">GridN.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae5d42e023d6aa00ac1d479dad46d7144"></a><!-- doxytag: member="ompl::GridN::setInteriorCellNeighborLimit" ref="ae5d42e023d6aa00ac1d479dad46d7144" args="(unsigned int count)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classompl_1_1GridN.html">ompl::GridN</a>&lt; _T &gt;::setInteriorCellNeighborLimit </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>count</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the limit of neighboring cells to determine when a cell becomes interior by default, this is 2 * dimension of grid </p>

<p>Definition at line <a class="el" href="GridN_8h_source.html#l00124">124</a> of file <a class="el" href="GridN_8h_source.html">GridN.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a035b9527b8cfd98a6e4f4d7472e668a1"></a><!-- doxytag: member="ompl::GridN::interiorCellNeighborsLimit_" ref="a035b9527b8cfd98a6e4f4d7472e668a1" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="classompl_1_1GridN.html">ompl::GridN</a>&lt; _T &gt;::<a class="el" href="classompl_1_1GridN.html#a035b9527b8cfd98a6e4f4d7472e668a1">interiorCellNeighborsLimit_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>By default, cells are considered on the border if 2n neighbors are created, for a space of dimension n. this value is overridden and set in this member variable </p>

<p>Definition at line <a class="el" href="GridN_8h_source.html#l00253">253</a> of file <a class="el" href="GridN_8h_source.html">GridN.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1e9cc38ff1df4dca6c9969f73dcad61e"></a><!-- doxytag: member="ompl::GridN::overrideCellNeighborsLimit_" ref="a1e9cc38ff1df4dca6c9969f73dcad61e" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classompl_1_1GridN.html">ompl::GridN</a>&lt; _T &gt;::<a class="el" href="classompl_1_1GridN.html#a1e9cc38ff1df4dca6c9969f73dcad61e">overrideCellNeighborsLimit_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Flag indicating whether the neighbor count used to determine whether a cell is on the border or not </p>

<p>Definition at line <a class="el" href="GridN_8h_source.html#l00257">257</a> of file <a class="el" href="GridN_8h_source.html">GridN.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/ompl/datastructures/<a class="el" href="GridN_8h_source.html">GridN.h</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div>

<div class="footer span-22 push-2 last">
  <a href="http://www.kavrakilab.org">Physical and Biological Computing Group</a> &bull;
  <a href="http://www.cs.rice.edu">Department of Computer Science</a> &bull;
  <a href="http://www.rice.edu">Rice University</a><br>
  <div class="gray">Generated on Sun Oct 9 2011 23:04:30 by&#160;<a href="http://www.doxygen.org/index.html">doxygen</a> 1.7.4</div>
</div>
</div>
</body>
</html>