<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ITK: itk::SparseFieldCityBlockNeighborList< TNeighborhoodType > Class Template Reference</title> <link href="DoxygenStyle.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Section customized for INSIGHT : Tue Jul 17 01:02:45 2001 --> <center> <a href="index.html" class="qindex">Main Page</a> <a href="modules.html" class="qindex">Groups</a> <a href="namespaces.html" class="qindex">Namespace List</a> <a href="hierarchy.html" class="qindex">Class Hierarchy</a> <a href="classes.html" class="qindex">Alphabetical List</a> <a href="annotated.html" class="qindex">Compound List</a> <a href="files.html" class="qindex">File List</a> <a href="namespacemembers.html" class="qindex">Namespace Members</a> <a href="functions.html" class="qindex">Compound Members</a> <a href="globals.html" class="qindex">File Members</a> <a href="pages.html" class="qindex">Concepts</a></center> <!-- Generated by Doxygen 1.5.9 --> <div class="navpath"><a class="el" href="namespaceitk.html">itk</a>::<a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html">SparseFieldCityBlockNeighborList</a> </div> <div class="contents"> <h1>itk::SparseFieldCityBlockNeighborList< TNeighborhoodType > Class Template Reference</h1><!-- doxytag: class="itk::SparseFieldCityBlockNeighborList" --><a class="el" href="classA.html">A</a> convenience class for storing indicies which reference neighbor pixels within a neighborhood. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html">itkSparseFieldLevelSetImageFilter.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for itk::SparseFieldCityBlockNeighborList< TNeighborhoodType >:</div> <div class="dynsection"> <p><center><img src="classitk_1_1SparseFieldCityBlockNeighborList__inherit__graph.png" border="0" usemap="#itk_1_1SparseFieldCityBlockNeighborList_3_01TNeighborhoodType_01_4__inherit__map" alt="Inheritance graph"></center> <map name="itk_1_1SparseFieldCityBlockNeighborList_3_01TNeighborhoodType_01_4__inherit__map"> <area shape="rect" id="node3" href="classitk_1_1SparseFieldCityBlockNeighborList.html" title="itk::SparseFieldCityBlockNeighborList\< NeighborhoodIterator\< OutputImageType \> \>" alt="" coords="5,101,603,131"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classitk_1_1SparseFieldCityBlockNeighborList-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef TNeighborhoodType </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#979421bc73117793da5c90cdb4c20e32">NeighborhoodType</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br class="typebreak"> NeighborhoodType::OffsetType </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#2dfa159bfcf5853677eb16b5acca871e">OffsetType</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br class="typebreak"> NeighborhoodType::RadiusType </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#382d9ff4f92601ffd1d31abcb2e94538">RadiusType</a></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const unsigned int & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#3fa0debff9eff9d67da9670d09d656dc">GetArrayIndex</a> (unsigned int i) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#2dfa159bfcf5853677eb16b5acca871e">OffsetType</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#3cbeb3ec5290ffb5d1657c6ecf506a4d">GetNeighborhoodOffset</a> (unsigned int i) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#382d9ff4f92601ffd1d31abcb2e94538">RadiusType</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#4c23df8021a9d878fe1f87907c2023f9">GetRadius</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const unsigned int & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#8cba416fe37758a3ed3f13bd41dae3b7">GetSize</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#96419083ba5b7c091ddf4c74d7398230">GetStride</a> (unsigned int i)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#0d01281c7b2f27679d470eb77ff4c178">itkStaticConstMacro</a> (Dimension, unsigned int, NeighborhoodType::Dimension)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#532ab4f35efe74dc76c136a03743816e">Print</a> (std::ostream &os) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#59c6c01823ac1444da00e00419abb0f1">SparseFieldCityBlockNeighborList</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#58e84b3489c55e633af00425d5c8315b">~SparseFieldCityBlockNeighborList</a> ()</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<class TNeighborhoodType><br> class itk::SparseFieldCityBlockNeighborList< TNeighborhoodType ></h3> <a class="el" href="classA.html">A</a> convenience class for storing indicies which reference neighbor pixels within a neighborhood. <p> <dl class="user" compact><dt><b></b></dt><dd>This class creates and stores indicies for use in finding neighbors within an <a class="el" href="classitk_1_1NeighborhoodIterator.html" title="Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image...">itk::NeighborhoodIterator</a> object. Both an array of unsigned integer indicies and an array of N dimensional offsets (from the center of the neighborhood) are created and stored. The indicies and offsets correspond to the "city-block" neighbors, that is, 4-neighbors in 2d, 6-neighbors in 3d, etc.</dd></dl> <dl class="user" compact><dt><b></b></dt><dd>Order of reference is lowest index to highest index in the neighborhood. For example, for 4 connectivity, the indicies refer to the following neighbors: <div class="fragment"><pre class="fragment"> * 1 * 2 * 3 * 4 * </pre></div> </dd></dl> <p>Definition at line <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html#l00069">69</a> of file <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html">itkSparseFieldLevelSetImageFilter.h</a>.</p> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="979421bc73117793da5c90cdb4c20e32"></a><!-- doxytag: member="itk::SparseFieldCityBlockNeighborList::NeighborhoodType" ref="979421bc73117793da5c90cdb4c20e32" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TNeighborhoodType> </div> <table class="memname"> <tr> <td class="memname">typedef TNeighborhoodType <a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html">itk::SparseFieldCityBlockNeighborList</a>< TNeighborhoodType >::<a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#979421bc73117793da5c90cdb4c20e32">NeighborhoodType</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html#l00072">72</a> of file <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html">itkSparseFieldLevelSetImageFilter.h</a>.</p> </div> </div><p> <a class="anchor" name="2dfa159bfcf5853677eb16b5acca871e"></a><!-- doxytag: member="itk::SparseFieldCityBlockNeighborList::OffsetType" ref="2dfa159bfcf5853677eb16b5acca871e" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TNeighborhoodType> </div> <table class="memname"> <tr> <td class="memname">typedef NeighborhoodType::OffsetType <a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html">itk::SparseFieldCityBlockNeighborList</a>< TNeighborhoodType >::<a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#2dfa159bfcf5853677eb16b5acca871e">OffsetType</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html#l00073">73</a> of file <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html">itkSparseFieldLevelSetImageFilter.h</a>.</p> </div> </div><p> <a class="anchor" name="382d9ff4f92601ffd1d31abcb2e94538"></a><!-- doxytag: member="itk::SparseFieldCityBlockNeighborList::RadiusType" ref="382d9ff4f92601ffd1d31abcb2e94538" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TNeighborhoodType> </div> <table class="memname"> <tr> <td class="memname">typedef NeighborhoodType::RadiusType <a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html">itk::SparseFieldCityBlockNeighborList</a>< TNeighborhoodType >::<a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#382d9ff4f92601ffd1d31abcb2e94538">RadiusType</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html#l00074">74</a> of file <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html">itkSparseFieldLevelSetImageFilter.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="59c6c01823ac1444da00e00419abb0f1"></a><!-- doxytag: member="itk::SparseFieldCityBlockNeighborList::SparseFieldCityBlockNeighborList" ref="59c6c01823ac1444da00e00419abb0f1" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TNeighborhoodType> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html">itk::SparseFieldCityBlockNeighborList</a>< TNeighborhoodType >::<a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html">SparseFieldCityBlockNeighborList</a> </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="58e84b3489c55e633af00425d5c8315b"></a><!-- doxytag: member="itk::SparseFieldCityBlockNeighborList::~SparseFieldCityBlockNeighborList" ref="58e84b3489c55e633af00425d5c8315b" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TNeighborhoodType> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html">itk::SparseFieldCityBlockNeighborList</a>< TNeighborhoodType >::~<a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html">SparseFieldCityBlockNeighborList</a> </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html#l00095">95</a> of file <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html">itkSparseFieldLevelSetImageFilter.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="3fa0debff9eff9d67da9670d09d656dc"></a><!-- doxytag: member="itk::SparseFieldCityBlockNeighborList::GetArrayIndex" ref="3fa0debff9eff9d67da9670d09d656dc" args="(unsigned int i) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TNeighborhoodType> </div> <table class="memname"> <tr> <td class="memname">const unsigned int& <a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html">itk::SparseFieldCityBlockNeighborList</a>< TNeighborhoodType >::GetArrayIndex </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>i</em> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html#l00082">82</a> of file <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html">itkSparseFieldLevelSetImageFilter.h</a>.</p> </div> </div><p> <a class="anchor" name="3cbeb3ec5290ffb5d1657c6ecf506a4d"></a><!-- doxytag: member="itk::SparseFieldCityBlockNeighborList::GetNeighborhoodOffset" ref="3cbeb3ec5290ffb5d1657c6ecf506a4d" args="(unsigned int i) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TNeighborhoodType> </div> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#2dfa159bfcf5853677eb16b5acca871e">OffsetType</a>& <a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html">itk::SparseFieldCityBlockNeighborList</a>< TNeighborhoodType >::GetNeighborhoodOffset </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>i</em> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html#l00085">85</a> of file <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html">itkSparseFieldLevelSetImageFilter.h</a>.</p> </div> </div><p> <a class="anchor" name="4c23df8021a9d878fe1f87907c2023f9"></a><!-- doxytag: member="itk::SparseFieldCityBlockNeighborList::GetRadius" ref="4c23df8021a9d878fe1f87907c2023f9" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TNeighborhoodType> </div> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html#382d9ff4f92601ffd1d31abcb2e94538">RadiusType</a>& <a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html">itk::SparseFieldCityBlockNeighborList</a>< TNeighborhoodType >::GetRadius </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html#l00079">79</a> of file <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html">itkSparseFieldLevelSetImageFilter.h</a>.</p> </div> </div><p> <a class="anchor" name="8cba416fe37758a3ed3f13bd41dae3b7"></a><!-- doxytag: member="itk::SparseFieldCityBlockNeighborList::GetSize" ref="8cba416fe37758a3ed3f13bd41dae3b7" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TNeighborhoodType> </div> <table class="memname"> <tr> <td class="memname">const unsigned int& <a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html">itk::SparseFieldCityBlockNeighborList</a>< TNeighborhoodType >::GetSize </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html#l00088">88</a> of file <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html">itkSparseFieldLevelSetImageFilter.h</a>.</p> </div> </div><p> <a class="anchor" name="96419083ba5b7c091ddf4c74d7398230"></a><!-- doxytag: member="itk::SparseFieldCityBlockNeighborList::GetStride" ref="96419083ba5b7c091ddf4c74d7398230" args="(unsigned int i)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TNeighborhoodType> </div> <table class="memname"> <tr> <td class="memname">int <a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html">itk::SparseFieldCityBlockNeighborList</a>< TNeighborhoodType >::GetStride </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>i</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html#l00091">91</a> of file <a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html">itkSparseFieldLevelSetImageFilter.h</a>.</p> </div> </div><p> <a class="anchor" name="0d01281c7b2f27679d470eb77ff4c178"></a><!-- doxytag: member="itk::SparseFieldCityBlockNeighborList::itkStaticConstMacro" ref="0d01281c7b2f27679d470eb77ff4c178" args="(Dimension, unsigned int, NeighborhoodType::Dimension)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TNeighborhoodType> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html">itk::SparseFieldCityBlockNeighborList</a>< TNeighborhoodType >::itkStaticConstMacro </td> <td>(</td> <td class="paramtype">Dimension </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned </td> <td class="paramname"> <em>int</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">NeighborhoodType::Dimension </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="532ab4f35efe74dc76c136a03743816e"></a><!-- doxytag: member="itk::SparseFieldCityBlockNeighborList::Print" ref="532ab4f35efe74dc76c136a03743816e" args="(std::ostream &os) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TNeighborhoodType> </div> <table class="memname"> <tr> <td class="memname">void <a class="el" href="classitk_1_1SparseFieldCityBlockNeighborList.html">itk::SparseFieldCityBlockNeighborList</a>< TNeighborhoodType >::Print </td> <td>(</td> <td class="paramtype">std::ostream & </td> <td class="paramname"> <em>os</em> </td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="itkSparseFieldLevelSetImageFilter_8h_source.html">itkSparseFieldLevelSetImageFilter.h</a></ul> </div> <hr><address><small> Generated at Fri May 8 07:06:08 2009 for ITK by <a href="http://www.stack.nl/~dimitri/doxygen/index.html"> <img src="http://www.stack.nl/~dimitri/doxygen/doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53> </a> 1.5.9 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2000</small></address> </body> </html>