<!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::NeighborhoodAllocator< TPixel > 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_1NeighborhoodAllocator.html">NeighborhoodAllocator</a> </div> <div class="contents"> <h1>itk::NeighborhoodAllocator< TPixel > Class Template Reference<br> <small> [<a class="el" href="group__Operators.html">Operators</a>]</small> </h1><!-- doxytag: class="itk::NeighborhoodAllocator" --><code>#include <<a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for itk::NeighborhoodAllocator< TPixel >:</div> <div class="dynsection"> <p><center><img src="classitk_1_1NeighborhoodAllocator__inherit__graph.png" border="0" usemap="#itk_1_1NeighborhoodAllocator_3_01TPixel_01_4__inherit__map" alt="Inheritance graph"></center> <map name="itk_1_1NeighborhoodAllocator_3_01TPixel_01_4__inherit__map"> <area shape="rect" id="node3" href="classitk_1_1NeighborhoodAllocator.html" title="itk::NeighborhoodAllocator\< double \>" alt="" coords="725,43,997,72"><area shape="rect" id="node5" href="classitk_1_1NeighborhoodAllocator.html" title="itk::NeighborhoodAllocator\< TImageType::InternalPixelType * \>" alt="" coords="639,96,1084,125"><area shape="rect" id="node7" href="classitk_1_1NeighborhoodAllocator.html" title="itk::NeighborhoodAllocator\< FixedImageType::InternalPixelType * \>" alt="" coords="625,149,1097,179"><area shape="rect" id="node9" href="classitk_1_1NeighborhoodAllocator.html" title="itk::NeighborhoodAllocator\< TImage::InternalPixelType * \>" alt="" coords="655,203,1068,232"><area shape="rect" id="node11" href="classitk_1_1NeighborhoodAllocator.html" title="itk::NeighborhoodAllocator\< TOutput \>" alt="" coords="719,256,1004,285"><area shape="rect" id="node13" href="classitk_1_1NeighborhoodAllocator.html" title="itk::NeighborhoodAllocator\< ImageType::InternalPixelType * \>" alt="" coords="643,309,1080,339"><area shape="rect" id="node15" href="classitk_1_1NeighborhoodAllocator.html" title="itk::NeighborhoodAllocator\< bool \>" alt="" coords="733,363,989,392"><area shape="rect" id="node17" href="classitk_1_1NeighborhoodAllocator.html" title="itk::NeighborhoodAllocator\< OutputImagePixelType \>" alt="" coords="671,416,1052,445"><area shape="rect" id="node19" href="classitk_1_1NeighborhoodAllocator.html" title="itk::NeighborhoodAllocator\< OperatorValueType \>" alt="" coords="684,469,1039,499"><area shape="rect" id="node21" href="classitk_1_1NeighborhoodAllocator.html" title="itk::NeighborhoodAllocator\< TSparseImageType::InternalPixelType * \>" alt="" coords="616,523,1107,552"><area shape="rect" id="node23" href="classitk_1_1NeighborhoodAllocator.html" title="itk::NeighborhoodAllocator\< PixelType \>" alt="" coords="716,576,1007,605"><area shape="rect" id="node25" href="classitk_1_1NeighborhoodAllocator.html" title="itk::NeighborhoodAllocator\< ScalarValueType \>" alt="" coords="693,629,1029,659"><area shape="rect" id="node27" href="classitk_1_1NeighborhoodAllocator.html" title="itk::NeighborhoodAllocator\< TDeformationField::InternalPixelType * \>" alt="" coords="617,683,1105,712"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for itk::NeighborhoodAllocator< TPixel >:</div> <div class="dynsection"> <p><center><img src="classitk_1_1NeighborhoodAllocator__coll__graph.png" border="0" usemap="#itk_1_1NeighborhoodAllocator_3_01TPixel_01_4__coll__map" alt="Collaboration graph"></center> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classitk_1_1NeighborhoodAllocator-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 const TPixel * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#c43d71a5b84f38353e85e92d8eb716bd">const_iterator</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef TPixel * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#f57f729f59c202ed7fa60bd998bff67d">iterator</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classitk_1_1NeighborhoodAllocator.html">NeighborhoodAllocator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#cab587e207b9de4acf16eabb1d5d6591">Self</a></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="classitk_1_1NeighborhoodAllocator.html#07956ea21507473400f4edaa10efe9be">NeighborhoodAllocator</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#8202c430a1cb1f4a088e3805dd2a42f2">operator!=</a> (const <a class="el" href="classitk_1_1NeighborhoodAllocator.html">Self</a> &other) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#6bc8d2a04219c790c57ea710c92d5a6d">operator==</a> (const <a class="el" href="classitk_1_1NeighborhoodAllocator.html">Self</a> &other) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#eb69d70072d131cd192b76b22b13d226">~NeighborhoodAllocator</a> ()</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#7a4eb722c09eba43513f83d9b9e9b23f">Allocate</a> (unsigned int n)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#c43d71a5b84f38353e85e92d8eb716bd">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#b43213ae2285bd996ca25dae17eeb287">begin</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#f57f729f59c202ed7fa60bd998bff67d">iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#32026e2b9badab5d2d01bbacb4b6f37c">begin</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#c43d71a5b84f38353e85e92d8eb716bd">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#1817035a915f56b0413c2fce6b7a3885">end</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#f57f729f59c202ed7fa60bd998bff67d">iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#16142dddb8105576d2341e03760d342d">end</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#e4577a75cf0e91468118db8811d05241">size</a> () const </td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#33d3c343eaa52a64df004cd6b77da70f">Deallocate</a> ()</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#efca474bb5a4a37f92317c4dff232174">NeighborhoodAllocator</a> (const <a class="el" href="classitk_1_1NeighborhoodAllocator.html">Self</a> &other)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classitk_1_1NeighborhoodAllocator.html">Self</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#794b53d71a152a6f95f47250706b44b7">operator=</a> (const <a class="el" href="classitk_1_1NeighborhoodAllocator.html">Self</a> &other)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">TPixel & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#be9eedfe4ad8aed12a507896cd085f5f">operator[]</a> (unsigned int i)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const TPixel & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#afb2700b07ef65681e8dc87da6163a1c">operator[]</a> (unsigned int i) const </td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#0c36bf0bd6529ca407a5207ec0f64bfa">set_size</a> (unsigned int n)</td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">TPixel * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#7cdb9a6b9a8dc8eeceed3701631ec0f2">m_Data</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#ffe700c6734fc6ca0435e09f1d4ced7e">m_ElementCount</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<class TPixel><br> class itk::NeighborhoodAllocator< TPixel ></h3> This is a memory allocator for use as the default allocator type in <a class="el" href="classitk_1_1Neighborhood.html" title="A light-weight container object for storing an N-dimensional neighborhood of values...">Neighborhood</a>. The API is designed to mimic that of <a class="el" href="classvnl__vector.html">vnl_vector</a> so that <a class="el" href="classvnl__vector.html">vnl_vector</a> can also be used as an allocator for <a class="el" href="classitk_1_1Neighborhood.html" title="A light-weight container object for storing an N-dimensional neighborhood of values...">Neighborhood</a>.<p> The decision to create this allocator with the <a class="el" href="classvnl__vector.html">vnl_vector</a> api (versus using an STL allocator and wrapping the <a class="el" href="classvnl__vector.html">vnl_vector</a> API) was made because the STL allocator API is not guaranteed stable at this time. <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00035">35</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="c43d71a5b84f38353e85e92d8eb716bd"></a><!-- doxytag: member="itk::NeighborhoodAllocator::const_iterator" ref="c43d71a5b84f38353e85e92d8eb716bd" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname">typedef const TPixel* <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::<a class="el" href="classitk_1_1NeighborhoodAllocator.html#c43d71a5b84f38353e85e92d8eb716bd">const_iterator</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00046">46</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> </div> </div><p> <a class="anchor" name="f57f729f59c202ed7fa60bd998bff67d"></a><!-- doxytag: member="itk::NeighborhoodAllocator::iterator" ref="f57f729f59c202ed7fa60bd998bff67d" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname">typedef TPixel* <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::<a class="el" href="classitk_1_1NeighborhoodAllocator.html#f57f729f59c202ed7fa60bd998bff67d">iterator</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Iterator support. Note that the naming of the typedefs is on purpose. <a class="el" href="classitk_1_1Neighborhood.html" title="A light-weight container object for storing an N-dimensional neighborhood of values...">itk::Neighborhood</a> makes reference to the allocator, which because it may be vnl or other type, uses the lower case/underscore forms iterator and const_iterator. <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00045">45</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> </div> </div><p> <a class="anchor" name="cab587e207b9de4acf16eabb1d5d6591"></a><!-- doxytag: member="itk::NeighborhoodAllocator::Self" ref="cab587e207b9de4acf16eabb1d5d6591" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classitk_1_1NeighborhoodAllocator.html">NeighborhoodAllocator</a> <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::<a class="el" href="classitk_1_1NeighborhoodAllocator.html">Self</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Standard class typedefs. <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00039">39</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="07956ea21507473400f4edaa10efe9be"></a><!-- doxytag: member="itk::NeighborhoodAllocator::NeighborhoodAllocator" ref="07956ea21507473400f4edaa10efe9be" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::<a class="el" href="classitk_1_1NeighborhoodAllocator.html">NeighborhoodAllocator</a> </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Default constructor <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00049">49</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> </div> </div><p> <a class="anchor" name="eb69d70072d131cd192b76b22b13d226"></a><!-- doxytag: member="itk::NeighborhoodAllocator::~NeighborhoodAllocator" ref="eb69d70072d131cd192b76b22b13d226" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::~<a class="el" href="classitk_1_1NeighborhoodAllocator.html">NeighborhoodAllocator</a> </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Default destructor <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00052">52</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> </div> </div><p> <a class="anchor" name="efca474bb5a4a37f92317c4dff232174"></a><!-- doxytag: member="itk::NeighborhoodAllocator::NeighborhoodAllocator" ref="efca474bb5a4a37f92317c4dff232174" args="(const Self &other)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::<a class="el" href="classitk_1_1NeighborhoodAllocator.html">NeighborhoodAllocator</a> </td> <td>(</td> <td class="paramtype">const <a class="el" href="classitk_1_1NeighborhoodAllocator.html">Self</a> & </td> <td class="paramname"> <em>other</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Copy constructor. <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00072">72</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="7a4eb722c09eba43513f83d9b9e9b23f"></a><!-- doxytag: member="itk::NeighborhoodAllocator::Allocate" ref="7a4eb722c09eba43513f83d9b9e9b23f" args="(unsigned int n)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname">void <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::Allocate </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>n</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Allocates memory using new() <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00056">56</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> <p>Referenced by <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00129">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::set_size()</a>.</p> </div> </div><p> <a class="anchor" name="b43213ae2285bd996ca25dae17eeb287"></a><!-- doxytag: member="itk::NeighborhoodAllocator::begin" ref="b43213ae2285bd996ca25dae17eeb287" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#c43d71a5b84f38353e85e92d8eb716bd">const_iterator</a> <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::begin </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> STL-style iterator support for the memory buffer. <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00111">111</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> </div> </div><p> <a class="anchor" name="32026e2b9badab5d2d01bbacb4b6f37c"></a><!-- doxytag: member="itk::NeighborhoodAllocator::begin" ref="32026e2b9badab5d2d01bbacb4b6f37c" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#f57f729f59c202ed7fa60bd998bff67d">iterator</a> <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::begin </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> STL-style iterator support for the memory buffer. <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00109">109</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> <p>Referenced by <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00142">itk::operator<<()</a>.</p> </div> </div><p> <a class="anchor" name="33d3c343eaa52a64df004cd6b77da70f"></a><!-- doxytag: member="itk::NeighborhoodAllocator::Deallocate" ref="33d3c343eaa52a64df004cd6b77da70f" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname">void <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::Deallocate </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Deallocates memory using delete[](). <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00064">64</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> <p>Referenced by <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00129">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::set_size()</a>, and <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00052">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::~NeighborhoodAllocator()</a>.</p> </div> </div><p> <a class="anchor" name="1817035a915f56b0413c2fce6b7a3885"></a><!-- doxytag: member="itk::NeighborhoodAllocator::end" ref="1817035a915f56b0413c2fce6b7a3885" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#c43d71a5b84f38353e85e92d8eb716bd">const_iterator</a> <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::end </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> STL-style iterator support for the memory buffer. <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00115">115</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> </div> </div><p> <a class="anchor" name="16142dddb8105576d2341e03760d342d"></a><!-- doxytag: member="itk::NeighborhoodAllocator::end" ref="16142dddb8105576d2341e03760d342d" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1NeighborhoodAllocator.html#f57f729f59c202ed7fa60bd998bff67d">iterator</a> <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::end </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> STL-style iterator support for the memory buffer. <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00113">113</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> </div> </div><p> <a class="anchor" name="8202c430a1cb1f4a088e3805dd2a42f2"></a><!-- doxytag: member="itk::NeighborhoodAllocator::operator!=" ref="8202c430a1cb1f4a088e3805dd2a42f2" args="(const Self &other) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname">bool <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::operator!= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classitk_1_1NeighborhoodAllocator.html">Self</a> & </td> <td class="paramname"> <em>other</em> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Not Equal operator. <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00103">103</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> </div> </div><p> <a class="anchor" name="794b53d71a152a6f95f47250706b44b7"></a><!-- doxytag: member="itk::NeighborhoodAllocator::operator=" ref="794b53d71a152a6f95f47250706b44b7" args="(const Self &other)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classitk_1_1NeighborhoodAllocator.html">Self</a>& <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classitk_1_1NeighborhoodAllocator.html">Self</a> & </td> <td class="paramname"> <em>other</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Assignment operator. <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00084">84</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> </div> </div><p> <a class="anchor" name="6bc8d2a04219c790c57ea710c92d5a6d"></a><!-- doxytag: member="itk::NeighborhoodAllocator::operator==" ref="6bc8d2a04219c790c57ea710c92d5a6d" args="(const Self &other) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname">bool <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::operator== </td> <td>(</td> <td class="paramtype">const <a class="el" href="classitk_1_1NeighborhoodAllocator.html">Self</a> & </td> <td class="paramname"> <em>other</em> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Comparison operator. <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00097">97</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> </div> </div><p> <a class="anchor" name="be9eedfe4ad8aed12a507896cd085f5f"></a><!-- doxytag: member="itk::NeighborhoodAllocator::operator[]" ref="be9eedfe4ad8aed12a507896cd085f5f" args="(unsigned int i)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname">TPixel& <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::operator[] </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> Data access methods <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00124">124</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> </div> </div><p> <a class="anchor" name="afb2700b07ef65681e8dc87da6163a1c"></a><!-- doxytag: member="itk::NeighborhoodAllocator::operator[]" ref="afb2700b07ef65681e8dc87da6163a1c" args="(unsigned int i) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname">const TPixel& <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::operator[] </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> Data access methods <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00122">122</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> <p>Referenced by <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00072">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::NeighborhoodAllocator()</a>, and <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00084">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::operator=()</a>.</p> </div> </div><p> <a class="anchor" name="0c36bf0bd6529ca407a5207ec0f64bfa"></a><!-- doxytag: member="itk::NeighborhoodAllocator::set_size" ref="0c36bf0bd6529ca407a5207ec0f64bfa" args="(unsigned int n)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname">void <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::set_size </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>n</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Allocates or Reallocates a buffer of size n <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00129">129</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> <p>Referenced by <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00072">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::NeighborhoodAllocator()</a>, and <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00084">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::operator=()</a>.</p> </div> </div><p> <a class="anchor" name="e4577a75cf0e91468118db8811d05241"></a><!-- doxytag: member="itk::NeighborhoodAllocator::size" ref="e4577a75cf0e91468118db8811d05241" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname">unsigned int <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::size </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> STL-style iterator support for the memory buffer. <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00117">117</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> <p>Referenced by <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00142">itk::operator<<()</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="7cdb9a6b9a8dc8eeceed3701631ec0f2"></a><!-- doxytag: member="itk::NeighborhoodAllocator::m_Data" ref="7cdb9a6b9a8dc8eeceed3701631ec0f2" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname">TPixel* <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::<a class="el" href="classitk_1_1NeighborhoodAllocator.html#7cdb9a6b9a8dc8eeceed3701631ec0f2">m_Data</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00138">138</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> <p>Referenced by <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00056">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::Allocate()</a>, <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00109">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::begin()</a>, <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00064">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::Deallocate()</a>, <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00113">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::end()</a>, <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00103">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::operator!=()</a>, <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00097">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::operator==()</a>, <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00122">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::operator[]()</a>, and <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00129">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::set_size()</a>.</p> </div> </div><p> <a class="anchor" name="ffe700c6734fc6ca0435e09f1d4ced7e"></a><!-- doxytag: member="itk::NeighborhoodAllocator::m_ElementCount" ref="ffe700c6734fc6ca0435e09f1d4ced7e" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TPixel> </div> <table class="memname"> <tr> <td class="memname">unsigned int <a class="el" href="classitk_1_1NeighborhoodAllocator.html">itk::NeighborhoodAllocator</a>< TPixel >::<a class="el" href="classitk_1_1NeighborhoodAllocator.html#ffe700c6734fc6ca0435e09f1d4ced7e">m_ElementCount</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00137">137</a> of file <a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a>.</p> <p>Referenced by <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00056">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::Allocate()</a>, <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00064">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::Deallocate()</a>, <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00113">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::end()</a>, <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00072">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::NeighborhoodAllocator()</a>, <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00084">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::operator=()</a>, and <a class="el" href="itkNeighborhoodAllocator_8h_source.html#l00117">itk::NeighborhoodAllocator< TDeformationField::InternalPixelType * >::size()</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="itkNeighborhoodAllocator_8h_source.html">itkNeighborhoodAllocator.h</a></ul> </div> <hr><address><small> Generated at Fri May 8 05:46:26 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>