<!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::ConstantBoundaryCondition< TImage > 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_1ConstantBoundaryCondition.html">ConstantBoundaryCondition</a> </div> <div class="contents"> <h1>itk::ConstantBoundaryCondition< TImage > Class Template Reference<br> <small> [<a class="el" href="group__DataRepresentation.html">Data Representation Objects</a>, <a class="el" href="group__ImageObjects.html">Image Representation Objects</a>]</small> </h1><!-- doxytag: class="itk::ConstantBoundaryCondition" --><!-- doxytag: inherits="ImageBoundaryCondition< TImage >" -->This boundary condition returns a constant value for out-of-bounds image pixels. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for itk::ConstantBoundaryCondition< TImage >:</div> <div class="dynsection"> <p><center><img src="classitk_1_1ConstantBoundaryCondition__inherit__graph.png" border="0" usemap="#itk_1_1ConstantBoundaryCondition_3_01TImage_01_4__inherit__map" alt="Inheritance graph"></center> <map name="itk_1_1ConstantBoundaryCondition_3_01TImage_01_4__inherit__map"> <area shape="rect" id="node7" href="classitk_1_1ConstantBoundaryCondition.html" title="itk::ConstantBoundaryCondition\< InputImageType \>" alt="" coords="5,277,381,307"><area shape="rect" id="node2" href="classitk_1_1ImageBoundaryCondition.html" title="itk::ImageBoundaryCondition\< TImage \>" alt="" coords="45,101,341,131"><area shape="rect" id="node4" href="classitk_1_1ImageBoundaryCondition.html" title="A virtual base object that defines an interface to a class of boundary condition..." alt="" coords="29,5,357,35"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for itk::ConstantBoundaryCondition< TImage >:</div> <div class="dynsection"> <p><center><img src="classitk_1_1ConstantBoundaryCondition__coll__graph.png" border="0" usemap="#itk_1_1ConstantBoundaryCondition_3_01TImage_01_4__coll__map" alt="Collaboration graph"></center> <map name="itk_1_1ConstantBoundaryCondition_3_01TImage_01_4__coll__map"> <area shape="rect" id="node2" href="classitk_1_1ImageBoundaryCondition.html" title="itk::ImageBoundaryCondition\< TImage \>" alt="" coords="21,101,317,131"><area shape="rect" id="node4" href="classitk_1_1ImageBoundaryCondition.html" title="A virtual base object that defines an interface to a class of boundary condition..." alt="" coords="5,5,333,35"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classitk_1_1ConstantBoundaryCondition-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 <a class="el" href="classitk_1_1Index.html">Superclass::IndexType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConstantBoundaryCondition.html#790368a687c8acff8f2d50a4d3bc6e7c">IndexType</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br class="typebreak"> <a class="el" href="classitk_1_1ImageBoundaryCondition.html#3624c2372bb022accb71dac42c9993ca">Superclass::NeighborhoodAccessorFunctorType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConstantBoundaryCondition.html#f07cf3afbeff39f1c5a9c13afbfaec7e">NeighborhoodAccessorFunctorType</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br class="typebreak"> <a class="el" href="classitk_1_1Neighborhood.html">Superclass::NeighborhoodType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConstantBoundaryCondition.html#1fd6bd6c5c07b1a58fb5c9bc8d7877a0">NeighborhoodType</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classitk_1_1Offset.html">Superclass::OffsetType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConstantBoundaryCondition.html#c9dfa2f94358a4d53db08731c67373eb">OffsetType</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br class="typebreak"> <a class="el" href="classitk_1_1ImageBoundaryCondition.html#07c431a085b515f033cf52b91d0b2098">Superclass::PixelPointerType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConstantBoundaryCondition.html#5a88780698d409ca2b8e8f557b45d9e5">PixelPointerType</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classitk_1_1ImageBoundaryCondition.html#3c01c526d76fda63dbfef4be4849411d">Superclass::PixelType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConstantBoundaryCondition.html#a1c007d701fd460e8255c280a289b72b">PixelType</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classitk_1_1ConstantBoundaryCondition.html">ConstantBoundaryCondition</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConstantBoundaryCondition.html#8427f572d0c7ab374f0326df71f09d8b">Self</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classitk_1_1ImageBoundaryCondition.html">ImageBoundaryCondition</a><br class="typebreak"> < TImage > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConstantBoundaryCondition.html#cc96017b6873f008b2edd87d5a21bec0">Superclass</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_1ConstantBoundaryCondition.html#7392c23f7c6f508c4bace134d9577493">ConstantBoundaryCondition</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classitk_1_1ConstantBoundaryCondition.html#a1c007d701fd460e8255c280a289b72b">PixelType</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConstantBoundaryCondition.html#c72f3f8feea692a59fe957d8d04b4ca9">GetConstant</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ImageBoundaryCondition.html#da3c69dc41a701a7911fb745912bfea5">itkStaticConstMacro</a> (ImageDimension, unsigned int, TImage::ImageDimension)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConstantBoundaryCondition.html#fb595794b8715870d5e5e0e617273658">itkStaticConstMacro</a> (ImageDimension, unsigned int, Superclass::ImageDimension)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classitk_1_1ConstantBoundaryCondition.html#a1c007d701fd460e8255c280a289b72b">PixelType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ImageBoundaryCondition.html#10e6592a9d35918a73eb7ffc9e7ba3f0">operator()</a> (const <a class="el" href="classitk_1_1Offset.html">OffsetType</a> &point_index, const <a class="el" href="classitk_1_1Offset.html">OffsetType</a> &boundary_offset, const <a class="el" href="classitk_1_1Neighborhood.html">NeighborhoodType</a> *data, const <a class="el" href="classitk_1_1ConstantBoundaryCondition.html#f07cf3afbeff39f1c5a9c13afbfaec7e">NeighborhoodAccessorFunctorType</a> &neighborhoodAccessorFunctor) const =0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classitk_1_1ConstantBoundaryCondition.html#a1c007d701fd460e8255c280a289b72b">PixelType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConstantBoundaryCondition.html#ac9fd6743e1dc98c6d8f2317763af22f">operator()</a> (const <a class="el" href="classitk_1_1Offset.html">OffsetType</a> &, const <a class="el" href="classitk_1_1Offset.html">OffsetType</a> &, const <a class="el" href="classitk_1_1Neighborhood.html">NeighborhoodType</a> *, const <a class="el" href="classitk_1_1ConstantBoundaryCondition.html#f07cf3afbeff39f1c5a9c13afbfaec7e">NeighborhoodAccessorFunctorType</a> &) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classitk_1_1ConstantBoundaryCondition.html#a1c007d701fd460e8255c280a289b72b">PixelType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConstantBoundaryCondition.html#2d4aaf5250f195b8f71d2e85ce0fc413">operator()</a> (const <a class="el" href="classitk_1_1Offset.html">OffsetType</a> &, const <a class="el" href="classitk_1_1Offset.html">OffsetType</a> &, const <a class="el" href="classitk_1_1Neighborhood.html">NeighborhoodType</a> *) 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_1ConstantBoundaryCondition.html#acc5b4173b56119fdd05f0345724e46f">RequiresCompleteNeighborhood</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConstantBoundaryCondition.html#b74fecb7fe01d05a9b2455263d6f5f96">SetConstant</a> (const <a class="el" href="classitk_1_1ConstantBoundaryCondition.html#a1c007d701fd460e8255c280a289b72b">PixelType</a> &c)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<class TImage><br> class itk::ConstantBoundaryCondition< TImage ></h3> This boundary condition returns a constant value for out-of-bounds image pixels. <p> For example, invoking this function object with a constant value of zero (the default) on each out-of-bounds element of a 7x5 iterator that masks a region at an image corner (iterator is centered on the 2):<p> * * * * * * * * * * * * * * * * 1 2 3 4 5 (where * denotes pixels that lie * * 3 3 5 5 6 outside of the image boundary) * * 4 4 6 7 8<p> would produce the following neighborhood of values:<p> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 3 4 5 0 0 3 3 5 5 6 0 0 4 4 6 7 8<p> <dl class="note" compact><dt><b>Note:</b></dt><dd>If you are using an image with <a class="el" href="classitk_1_1Array.html" title="Array class with size defined at construction time.">Array</a> as the pixel type, you will need to set the constant explicitly with an array of the appropriate length. This is also true if your image type is a <a class="el" href="classitk_1_1VectorImage.html" title="Templated n-dimensional vector image class.">VectorImage</a>.</dd></dl> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classitk_1_1ImageBoundaryCondition.html" title="A virtual base object that defines an interface to a class of boundary condition...">ImageBoundaryCondition</a> </dd></dl> <p>Definition at line <a class="el" href="itkConstantBoundaryCondition_8h_source.html#l00060">60</a> of file <a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>.</p> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="790368a687c8acff8f2d50a4d3bc6e7c"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::IndexType" ref="790368a687c8acff8f2d50a4d3bc6e7c" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TImage> </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classitk_1_1Index.html">Superclass::IndexType</a> <a class="el" href="classitk_1_1ConstantBoundaryCondition.html">itk::ConstantBoundaryCondition</a>< TImage >::<a class="el" href="classitk_1_1Index.html">IndexType</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Extract information from the image type <p>Reimplemented from <a class="el" href="classitk_1_1ImageBoundaryCondition.html#fdd8abce011b9fbfa8903599839187ca">itk::ImageBoundaryCondition< TImage ></a>.</p> <p>Definition at line <a class="el" href="itkConstantBoundaryCondition_8h_source.html#l00071">71</a> of file <a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>.</p> </div> </div><p> <a class="anchor" name="f07cf3afbeff39f1c5a9c13afbfaec7e"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::NeighborhoodAccessorFunctorType" ref="f07cf3afbeff39f1c5a9c13afbfaec7e" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TImage> </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classitk_1_1ImageBoundaryCondition.html#3624c2372bb022accb71dac42c9993ca">Superclass::NeighborhoodAccessorFunctorType</a> <a class="el" href="classitk_1_1ConstantBoundaryCondition.html">itk::ConstantBoundaryCondition</a>< TImage >::<a class="el" href="classitk_1_1ConstantBoundaryCondition.html#f07cf3afbeff39f1c5a9c13afbfaec7e">NeighborhoodAccessorFunctorType</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <a class="el" href="namespaceitk_1_1Functor.html">Functor</a> used to access pixels from a neighborhood of pixel pointers <p>Reimplemented from <a class="el" href="classitk_1_1ImageBoundaryCondition.html#3624c2372bb022accb71dac42c9993ca">itk::ImageBoundaryCondition< TImage ></a>.</p> <p>Definition at line <a class="el" href="itkConstantBoundaryCondition_8h_source.html#l00076">76</a> of file <a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>.</p> </div> </div><p> <a class="anchor" name="1fd6bd6c5c07b1a58fb5c9bc8d7877a0"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::NeighborhoodType" ref="1fd6bd6c5c07b1a58fb5c9bc8d7877a0" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TImage> </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classitk_1_1Neighborhood.html">Superclass::NeighborhoodType</a> <a class="el" href="classitk_1_1ConstantBoundaryCondition.html">itk::ConstantBoundaryCondition</a>< TImage >::<a class="el" href="classitk_1_1Neighborhood.html">NeighborhoodType</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Type of the data container passed to this function object. <p>Reimplemented from <a class="el" href="classitk_1_1ImageBoundaryCondition.html#1c5fd2594cdc91cc811b4f80a4ebf29a">itk::ImageBoundaryCondition< TImage ></a>.</p> <p>Definition at line <a class="el" href="itkConstantBoundaryCondition_8h_source.html#l00073">73</a> of file <a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>.</p> </div> </div><p> <a class="anchor" name="c9dfa2f94358a4d53db08731c67373eb"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::OffsetType" ref="c9dfa2f94358a4d53db08731c67373eb" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TImage> </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classitk_1_1Offset.html">Superclass::OffsetType</a> <a class="el" href="classitk_1_1ConstantBoundaryCondition.html">itk::ConstantBoundaryCondition</a>< TImage >::<a class="el" href="classitk_1_1Offset.html">OffsetType</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Extract information from the image type <p>Reimplemented from <a class="el" href="classitk_1_1ImageBoundaryCondition.html#e489c6c0e77fbbfb3d68d205d600a43a">itk::ImageBoundaryCondition< TImage ></a>.</p> <p>Definition at line <a class="el" href="itkConstantBoundaryCondition_8h_source.html#l00072">72</a> of file <a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>.</p> </div> </div><p> <a class="anchor" name="5a88780698d409ca2b8e8f557b45d9e5"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::PixelPointerType" ref="5a88780698d409ca2b8e8f557b45d9e5" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TImage> </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classitk_1_1ImageBoundaryCondition.html#07c431a085b515f033cf52b91d0b2098">Superclass::PixelPointerType</a> <a class="el" href="classitk_1_1ConstantBoundaryCondition.html">itk::ConstantBoundaryCondition</a>< TImage >::<a class="el" href="classitk_1_1ConstantBoundaryCondition.html#5a88780698d409ca2b8e8f557b45d9e5">PixelPointerType</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Extract information from the image type <p>Reimplemented from <a class="el" href="classitk_1_1ImageBoundaryCondition.html#07c431a085b515f033cf52b91d0b2098">itk::ImageBoundaryCondition< TImage ></a>.</p> <p>Definition at line <a class="el" href="itkConstantBoundaryCondition_8h_source.html#l00070">70</a> of file <a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>.</p> </div> </div><p> <a class="anchor" name="a1c007d701fd460e8255c280a289b72b"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::PixelType" ref="a1c007d701fd460e8255c280a289b72b" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TImage> </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classitk_1_1ImageBoundaryCondition.html#3c01c526d76fda63dbfef4be4849411d">Superclass::PixelType</a> <a class="el" href="classitk_1_1ConstantBoundaryCondition.html">itk::ConstantBoundaryCondition</a>< TImage >::<a class="el" href="classitk_1_1ConstantBoundaryCondition.html#a1c007d701fd460e8255c280a289b72b">PixelType</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Extract information from the image type <p>Reimplemented from <a class="el" href="classitk_1_1ImageBoundaryCondition.html#3c01c526d76fda63dbfef4be4849411d">itk::ImageBoundaryCondition< TImage ></a>.</p> <p>Definition at line <a class="el" href="itkConstantBoundaryCondition_8h_source.html#l00069">69</a> of file <a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>.</p> </div> </div><p> <a class="anchor" name="8427f572d0c7ab374f0326df71f09d8b"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::Self" ref="8427f572d0c7ab374f0326df71f09d8b" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TImage> </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classitk_1_1ConstantBoundaryCondition.html">ConstantBoundaryCondition</a> <a class="el" href="classitk_1_1ConstantBoundaryCondition.html">itk::ConstantBoundaryCondition</a>< TImage >::<a class="el" href="classitk_1_1ConstantBoundaryCondition.html">Self</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Self & superclass typedefs <p>Reimplemented from <a class="el" href="classitk_1_1ImageBoundaryCondition.html#7fc66380ec475661cac250513313349e">itk::ImageBoundaryCondition< TImage ></a>.</p> <p>Definition at line <a class="el" href="itkConstantBoundaryCondition_8h_source.html#l00065">65</a> of file <a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>.</p> </div> </div><p> <a class="anchor" name="cc96017b6873f008b2edd87d5a21bec0"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::Superclass" ref="cc96017b6873f008b2edd87d5a21bec0" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TImage> </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classitk_1_1ImageBoundaryCondition.html">ImageBoundaryCondition</a><TImage> <a class="el" href="classitk_1_1ConstantBoundaryCondition.html">itk::ConstantBoundaryCondition</a>< TImage >::<a class="el" href="classitk_1_1ImageBoundaryCondition.html">Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkConstantBoundaryCondition_8h_source.html#l00066">66</a> of file <a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="7392c23f7c6f508c4bace134d9577493"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::ConstantBoundaryCondition" ref="7392c23f7c6f508c4bace134d9577493" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TImage> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1ConstantBoundaryCondition.html">itk::ConstantBoundaryCondition</a>< TImage >::<a class="el" href="classitk_1_1ConstantBoundaryCondition.html">ConstantBoundaryCondition</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="itkConstantBoundaryCondition_8h_source.html#l00082">82</a> of file <a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="c72f3f8feea692a59fe957d8d04b4ca9"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::GetConstant" ref="c72f3f8feea692a59fe957d8d04b4ca9" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TImage> </div> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classitk_1_1ConstantBoundaryCondition.html#a1c007d701fd460e8255c280a289b72b">PixelType</a>& <a class="el" href="classitk_1_1ConstantBoundaryCondition.html">itk::ConstantBoundaryCondition</a>< TImage >::GetConstant </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the value of the constant. <p>Definition at line <a class="el" href="itkConstantBoundaryCondition_8h_source.html#l00106">106</a> of file <a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>.</p> <p>Referenced by <a class="el" href="itkOptGrayscaleDilateImageFilter_8h_source.html#l00125">itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::OverrideBoundaryCondition()</a>.</p> </div> </div><p> <a class="anchor" name="da3c69dc41a701a7911fb745912bfea5"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::itkStaticConstMacro" ref="da3c69dc41a701a7911fb745912bfea5" args="(ImageDimension, unsigned int, TImage::ImageDimension)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1ImageBoundaryCondition.html">itk::ImageBoundaryCondition</a>< TImage >::itkStaticConstMacro </td> <td>(</td> <td class="paramtype">ImageDimension </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">TImage ::ImageDimension </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Extract information from the image type </div> </div><p> <a class="anchor" name="fb595794b8715870d5e5e0e617273658"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::itkStaticConstMacro" ref="fb595794b8715870d5e5e0e617273658" args="(ImageDimension, unsigned int, Superclass::ImageDimension)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TImage> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1ConstantBoundaryCondition.html">itk::ConstantBoundaryCondition</a>< TImage >::itkStaticConstMacro </td> <td>(</td> <td class="paramtype">ImageDimension </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">Superclass::ImageDimension </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> Save the image dimension. </div> </div><p> <a class="anchor" name="10e6592a9d35918a73eb7ffc9e7ba3f0"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::operator()" ref="10e6592a9d35918a73eb7ffc9e7ba3f0" args="(const OffsetType &point_index, const OffsetType &boundary_offset, const NeighborhoodType *data, const NeighborhoodAccessorFunctorType &neighborhoodAccessorFunctor) const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classitk_1_1ConstantBoundaryCondition.html#a1c007d701fd460e8255c280a289b72b">PixelType</a> <a class="el" href="classitk_1_1ImageBoundaryCondition.html">itk::ImageBoundaryCondition</a>< TImage >::operator() </td> <td>(</td> <td class="paramtype">const <a class="el" href="classitk_1_1Offset.html">OffsetType</a> & </td> <td class="paramname"> <em>point_index</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classitk_1_1Offset.html">OffsetType</a> & </td> <td class="paramname"> <em>boundary_offset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classitk_1_1Neighborhood.html">NeighborhoodType</a> * </td> <td class="paramname"> <em>data</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const NeighborhoodAccessorFunctorType & </td> <td class="paramname"> <em>neighborhoodAccessorFunctor</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const<code> [pure virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Computes and returns the appropriate pixel value from neighborhood iterator data, using the functor. </div> </div><p> <a class="anchor" name="ac9fd6743e1dc98c6d8f2317763af22f"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::operator()" ref="ac9fd6743e1dc98c6d8f2317763af22f" args="(const OffsetType &, const OffsetType &, const NeighborhoodType *, const NeighborhoodAccessorFunctorType &) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TImage> </div> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classitk_1_1ConstantBoundaryCondition.html#a1c007d701fd460e8255c280a289b72b">PixelType</a> <a class="el" href="classitk_1_1ConstantBoundaryCondition.html">itk::ConstantBoundaryCondition</a>< TImage >::operator() </td> <td>(</td> <td class="paramtype">const <a class="el" href="classitk_1_1Offset.html">OffsetType</a> & </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classitk_1_1Offset.html">OffsetType</a> & </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classitk_1_1Neighborhood.html">NeighborhoodType</a> * </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classitk_1_1ConstantBoundaryCondition.html#f07cf3afbeff39f1c5a9c13afbfaec7e">NeighborhoodAccessorFunctorType</a> & </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Computes and returns the appropriate pixel value from neighborhood iterator data, using the functor. <p>Definition at line <a class="el" href="itkConstantBoundaryCondition_8h_source.html#l00094">94</a> of file <a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>.</p> </div> </div><p> <a class="anchor" name="2d4aaf5250f195b8f71d2e85ce0fc413"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::operator()" ref="2d4aaf5250f195b8f71d2e85ce0fc413" args="(const OffsetType &, const OffsetType &, const NeighborhoodType *) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TImage> </div> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classitk_1_1ConstantBoundaryCondition.html#a1c007d701fd460e8255c280a289b72b">PixelType</a> <a class="el" href="classitk_1_1ConstantBoundaryCondition.html">itk::ConstantBoundaryCondition</a>< TImage >::operator() </td> <td>(</td> <td class="paramtype">const <a class="el" href="classitk_1_1Offset.html">OffsetType</a> & </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classitk_1_1Offset.html">OffsetType</a> & </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classitk_1_1Neighborhood.html">NeighborhoodType</a> * </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Computes and returns appropriate out-of-bounds values from neighborhood iterator data. <p>Implements <a class="el" href="classitk_1_1ImageBoundaryCondition.html#067efa8a4068dc5158cded06b44f2b23">itk::ImageBoundaryCondition< TImage ></a>.</p> <p>Definition at line <a class="el" href="itkConstantBoundaryCondition_8h_source.html#l00087">87</a> of file <a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>.</p> </div> </div><p> <a class="anchor" name="acc5b4173b56119fdd05f0345724e46f"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::RequiresCompleteNeighborhood" ref="acc5b4173b56119fdd05f0345724e46f" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TImage> </div> <table class="memname"> <tr> <td class="memname">bool <a class="el" href="classitk_1_1ConstantBoundaryCondition.html">itk::ConstantBoundaryCondition</a>< TImage >::RequiresCompleteNeighborhood </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Tell if the boundary condition can index to any location within the associated iterator's neighborhood or if it has some limited subset (such as none) that it relies upon. <p>Reimplemented from <a class="el" href="classitk_1_1ImageBoundaryCondition.html#f3400ad9c5d234700b507d84e41fa159">itk::ImageBoundaryCondition< TImage ></a>.</p> <p>Definition at line <a class="el" href="itkConstantBoundaryCondition_8h_source.html#l00112">112</a> of file <a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>.</p> </div> </div><p> <a class="anchor" name="b74fecb7fe01d05a9b2455263d6f5f96"></a><!-- doxytag: member="itk::ConstantBoundaryCondition::SetConstant" ref="b74fecb7fe01d05a9b2455263d6f5f96" args="(const PixelType &c)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TImage> </div> <table class="memname"> <tr> <td class="memname">void <a class="el" href="classitk_1_1ConstantBoundaryCondition.html">itk::ConstantBoundaryCondition</a>< TImage >::SetConstant </td> <td>(</td> <td class="paramtype">const <a class="el" href="classitk_1_1ConstantBoundaryCondition.html#a1c007d701fd460e8255c280a289b72b">PixelType</a> & </td> <td class="paramname"> <em>c</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the value of the constant. <p>Definition at line <a class="el" href="itkConstantBoundaryCondition_8h_source.html#l00102">102</a> of file <a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a>.</p> <p>Referenced by <a class="el" href="itkBoxUtilities_8h_source.html#l00086">itk::BoxAccumulateFunction()</a>, and <a class="el" href="itkBoxUtilities_8h_source.html#l00559">itk::BoxSquareAccumulateFunction()</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="itkConstantBoundaryCondition_8h_source.html">itkConstantBoundaryCondition.h</a></ul> </div> <hr><address><small> Generated at Fri May 8 02:17:32 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>