Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > d5e74628f0e673bb8680aebce32b2c04 > files > 16183

itk-doc-3.12.0-1mdv2010.0.i586.rpm

<!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: itkImage.h Source File</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>&nbsp;&nbsp; 
<a href="modules.html" class="qindex">Groups</a>&nbsp;&nbsp;
<a href="namespaces.html" class="qindex">Namespace List</a>&nbsp;&nbsp;
<a href="hierarchy.html" class="qindex">Class Hierarchy</a>&nbsp;&nbsp;
<a href="classes.html" class="qindex">Alphabetical List</a>&nbsp;&nbsp;
<a href="annotated.html" class="qindex">Compound List</a>&nbsp;&nbsp; 
<a href="files.html" class="qindex">File
List</a>&nbsp;&nbsp; 
<a href="namespacemembers.html" class="qindex">Namespace Members</a>&nbsp;&nbsp; 
<a href="functions.html" class="qindex">Compound Members</a>&nbsp;&nbsp; 
<a href="globals.html" class="qindex">File Members</a>&nbsp;&nbsp;
<a href="pages.html" class="qindex">Concepts</a></center>


<!-- Generated by Doxygen 1.5.9 -->
  <div class="navpath"><a class="el" href="dir_02e23d841c198393a6e961e9a0678fff.html">Code</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_ea7fc529ede9a38b0438cf13831ae873.html">Common</a>
  </div>
<div class="contents">
<h1>itkImage.h</h1><a href="itkImage_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*=========================================================================</span>
<a name="l00002"></a>00002 <span class="comment"></span>
<a name="l00003"></a>00003 <span class="comment">  Program:   Insight Segmentation &amp; Registration Toolkit</span>
<a name="l00004"></a>00004 <span class="comment">  Module:    $RCSfile: itkImage.h,v $</span>
<a name="l00005"></a>00005 <span class="comment">  Language:  C++</span>
<a name="l00006"></a>00006 <span class="comment">  Date:      $Date: 2009-02-05 19:04:56 $</span>
<a name="l00007"></a>00007 <span class="comment">  Version:   $Revision: 1.150 $</span>
<a name="l00008"></a>00008 <span class="comment"></span>
<a name="l00009"></a>00009 <span class="comment">  Copyright (c) Insight Software Consortium. All rights reserved.</span>
<a name="l00010"></a>00010 <span class="comment">  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.</span>
<a name="l00011"></a>00011 <span class="comment"></span>
<a name="l00012"></a>00012 <span class="comment">     This software is distributed WITHOUT ANY WARRANTY; without even</span>
<a name="l00013"></a>00013 <span class="comment">     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR</span>
<a name="l00014"></a>00014 <span class="comment">     PURPOSE.  See the above copyright notices for more information.</span>
<a name="l00015"></a>00015 <span class="comment"></span>
<a name="l00016"></a>00016 <span class="comment">=========================================================================*/</span>
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef __itkImage_h</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkImage_h</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="itkImageBase_8h.html">itkImageBase.h</a>"</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="itkImageRegion_8h.html">itkImageRegion.h</a>"</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="itkImportImageContainer_8h.html">itkImportImageContainer.h</a>"</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="itkDefaultPixelAccessor_8h.html">itkDefaultPixelAccessor.h</a>"</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="itkDefaultPixelAccessorFunctor_8h.html">itkDefaultPixelAccessorFunctor.h</a>"</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="itkPoint_8h.html">itkPoint.h</a>"</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="itkFixedArray_8h.html">itkFixedArray.h</a>"</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="itkWeakPointer_8h.html">itkWeakPointer.h</a>"</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="itkNeighborhoodAccessorFunctor_8h.html">itkNeighborhoodAccessorFunctor.h</a>"</span>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="keyword">namespace </span>itk
<a name="l00031"></a>00031 {
<a name="l00080"></a>00080 <span class="keyword">template</span> &lt;<span class="keyword">class</span> TPixel, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> VImageDimension=2&gt;
<a name="l00081"></a><a class="code" href="classitk_1_1Image.html">00081</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image</a> : <span class="keyword">public</span> <a class="code" href="classitk_1_1ImageBase.html" title="Base class for templated image classes.">ImageBase</a>&lt;VImageDimension&gt;
<a name="l00082"></a>00082 {
<a name="l00083"></a>00083 <span class="keyword">public</span>:
<a name="l00085"></a><a class="code" href="classitk_1_1Image.html#e520168813cc33b9198d167d4f34df3a">00085</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image</a>                        <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">Self</a>;
<a name="l00086"></a><a class="code" href="classitk_1_1Image.html#88eae6ca24b133636fda03171171e5e8">00086</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageBase.html">ImageBase&lt;VImageDimension&gt;</a>   <a class="code" href="classitk_1_1Object.html" title="Base class for most itk classes.">Superclass</a>;
<a name="l00087"></a><a class="code" href="classitk_1_1Image.html#2577f4dcf08637785a9ee2fb45f38a7c">00087</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer&lt;Self&gt;</a>           <a class="code" href="classitk_1_1SmartPointer.html">Pointer</a>;
<a name="l00088"></a><a class="code" href="classitk_1_1Image.html#9ed96e9f3d223f0d5c8204123324389d">00088</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer&lt;const Self&gt;</a>     <a class="code" href="classitk_1_1SmartPointer.html">ConstPointer</a>;
<a name="l00089"></a><a class="code" href="classitk_1_1Image.html#c5a5cfdd8e3528a02b72bb35a02d11d7">00089</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1WeakPointer.html" title="Implements a weak reference to an object.">WeakPointer&lt;const Self&gt;</a>      <a class="code" href="classitk_1_1WeakPointer.html" title="Implements a weak reference to an object.">ConstWeakPointer</a>;
<a name="l00090"></a>00090 
<a name="l00092"></a>00092   <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">Self</a>);
<a name="l00093"></a>00093 
<a name="l00095"></a><a class="code" href="classitk_1_1Image.html#d062e75a049f74b56dc498156c64c736">00095</a>   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image</a>, <a class="code" href="classitk_1_1ImageBase.html" title="Base class for templated image classes.">ImageBase</a>);
<a name="l00096"></a>00096 
<a name="l00099"></a>00099   <span class="keyword">typedef</span> TPixel <a class="code" href="classitk_1_1BloxBoundaryPointPixel.html" title="Holds a linked list of itk::BloxBoundaryPointItem&amp;#39;s.">PixelType</a>;
<a name="l00100"></a>00100 
<a name="l00102"></a><a class="code" href="classitk_1_1Image.html#99346f95ca4474d62d50715fb16b1f62">00102</a>   <span class="keyword">typedef</span> TPixel <a class="code" href="classitk_1_1BloxBoundaryPointPixel.html" title="Holds a linked list of itk::BloxBoundaryPointItem&amp;#39;s.">ValueType</a>;
<a name="l00103"></a>00103 
<a name="l00108"></a><a class="code" href="classitk_1_1Image.html#37915cf5447ae50cc40d936850b499f8">00108</a>   <span class="keyword">typedef</span> TPixel <a class="code" href="classitk_1_1BloxBoundaryPointPixel.html" title="Holds a linked list of itk::BloxBoundaryPointItem&amp;#39;s.">InternalPixelType</a>;
<a name="l00109"></a>00109 
<a name="l00110"></a><a class="code" href="classitk_1_1Image.html#40b956ffe488f6f94600b99ea09c9a8e">00110</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1BloxBoundaryPointPixel.html" title="Holds a linked list of itk::BloxBoundaryPointItem&amp;#39;s.">PixelType</a> <a class="code" href="classitk_1_1BloxBoundaryPointPixel.html" title="Holds a linked list of itk::BloxBoundaryPointItem&amp;#39;s.">IOPixelType</a>;
<a name="l00111"></a>00111 
<a name="l00114"></a><a class="code" href="classitk_1_1Image.html#e0f9e4054868e3b9f97d689e909cbba8">00114</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1DefaultPixelAccessor.html" title="Give access to partial aspects a type.">DefaultPixelAccessor&lt; PixelType &gt;</a>    <a class="code" href="classitk_1_1DefaultPixelAccessor.html" title="Give access to partial aspects a type.">AccessorType</a>;
<a name="l00115"></a><a class="code" href="classitk_1_1Image.html#30e8f38048cacce1a14e9024a45c12da">00115</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1DefaultPixelAccessorFunctor.html" title="This class provides a common API for pixel accessors for Image and VectorImage. (between...">DefaultPixelAccessorFunctor&lt; Self &gt;</a>  <a class="code" href="classitk_1_1DefaultPixelAccessorFunctor.html" title="This class provides a common API for pixel accessors for Image and VectorImage. (between...">AccessorFunctorType</a>;
<a name="l00116"></a>00116 
<a name="l00119"></a><a class="code" href="classitk_1_1Image.html#07ac11a39faf9e5ebb01971d8ee982b7">00119</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1NeighborhoodAccessorFunctor.html" title="Provides accessor interfaces to Get pixels and is meant to be used on pointers contained...">NeighborhoodAccessorFunctor&lt; Self &gt;</a>  <a class="code" href="classitk_1_1NeighborhoodAccessorFunctor.html" title="Provides accessor interfaces to Get pixels and is meant to be used on pointers contained...">NeighborhoodAccessorFunctorType</a>;
<a name="l00120"></a>00120 
<a name="l00125"></a>00125   <a class="code" href="itkMacro_8h.html#1905cf6b2e88235996fa7ff73b2fb0eb">itkStaticConstMacro</a>(ImageDimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>, VImageDimension);
<a name="l00126"></a>00126 
<a name="l00128"></a><a class="code" href="classitk_1_1Image.html#1476e2eee9ab1e889748e08da994a679">00128</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImportImageContainer.html">ImportImageContainer&lt;unsigned long, PixelType&gt;</a> <a class="code" href="classitk_1_1ImportImageContainer.html">PixelContainer</a>;
<a name="l00129"></a>00129 
<a name="l00131"></a><a class="code" href="classitk_1_1Image.html#42409699ba5aa72fcfdcdd05a910db6b">00131</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">Superclass::IndexType</a>       <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>;
<a name="l00132"></a><a class="code" href="classitk_1_1Image.html#495987f9d3f114185ad8b0ef1b2ff722">00132</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::IndexValueType  IndexValueType;
<a name="l00133"></a>00133 
<a name="l00135"></a><a class="code" href="classitk_1_1Image.html#38d1a69785d9999dbca212b73c40da1f">00135</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::OffsetType OffsetType;
<a name="l00136"></a>00136 
<a name="l00138"></a><a class="code" href="classitk_1_1Image.html#9c22529e667e574952547da68d0f0322">00138</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">Superclass::SizeType</a>  <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">SizeType</a>;
<a name="l00139"></a>00139 
<a name="l00141"></a><a class="code" href="classitk_1_1Image.html#07c7c68338cee5537f997d68591a1214">00141</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::DirectionType  DirectionType;
<a name="l00142"></a>00142 
<a name="l00144"></a><a class="code" href="classitk_1_1Image.html#e62498a2d948b5e07826d9686b1fec99">00144</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">Superclass::RegionType</a>  <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a>;
<a name="l00145"></a>00145 
<a name="l00148"></a><a class="code" href="classitk_1_1Image.html#200d000ec5e724d2f035a2b648a286fe">00148</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::SpacingType SpacingType;
<a name="l00149"></a>00149 
<a name="l00152"></a><a class="code" href="classitk_1_1Image.html#aa6f50de3014f299a7ce95706494e9e7">00152</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::PointType PointType;
<a name="l00153"></a>00153 
<a name="l00155"></a><a class="code" href="classitk_1_1Image.html#95b29319ba180d45b8a069e9045e6f3d">00155</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">PixelContainer::Pointer</a>        <a class="code" href="classitk_1_1SmartPointer.html">PixelContainerPointer</a>;
<a name="l00156"></a><a class="code" href="classitk_1_1Image.html#9d3445b77ee9ed27d7d4a77fecf79ce0">00156</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">PixelContainer::ConstPointer</a>   <a class="code" href="classitk_1_1SmartPointer.html">PixelContainerConstPointer</a>;
<a name="l00157"></a>00157 
<a name="l00159"></a><a class="code" href="classitk_1_1Image.html#fc18ee429a416e58ca65872710b86acf">00159</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::OffsetValueType OffsetValueType;
<a name="l00160"></a>00160 
<a name="l00163"></a>00163   <span class="keywordtype">void</span> Allocate();
<a name="l00164"></a>00164 
<a name="l00168"></a><a class="code" href="classitk_1_1Image.html#35f71973c36bd4628b7e73628d793c75">00168</a>   <span class="keywordtype">void</span> SetRegions(<a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a> region)
<a name="l00169"></a>00169     {
<a name="l00170"></a>00170     this-&gt;SetLargestPossibleRegion(region);
<a name="l00171"></a>00171     this-&gt;SetBufferedRegion(region);
<a name="l00172"></a>00172     this-&gt;SetRequestedRegion(region);
<a name="l00173"></a>00173     };
<a name="l00175"></a>00175 
<a name="l00176"></a><a class="code" href="classitk_1_1Image.html#6d08e84daee993307c7b3e6a849210d5">00176</a>   <span class="keywordtype">void</span> SetRegions(<a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">SizeType</a> size)
<a name="l00177"></a>00177     {
<a name="l00178"></a>00178     <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a> region; region.SetSize(size);
<a name="l00179"></a>00179     this-&gt;SetLargestPossibleRegion(region);
<a name="l00180"></a>00180     this-&gt;SetBufferedRegion(region);
<a name="l00181"></a>00181     this-&gt;SetRequestedRegion(region);
<a name="l00182"></a>00182     }
<a name="l00183"></a>00183 
<a name="l00186"></a>00186   <span class="keyword">virtual</span> <span class="keywordtype">void</span> Initialize();
<a name="l00187"></a>00187 
<a name="l00190"></a>00190   <span class="keywordtype">void</span> FillBuffer (<span class="keyword">const</span> TPixel&amp; value);
<a name="l00191"></a>00191 
<a name="l00197"></a><a class="code" href="classitk_1_1Image.html#56643f723aec193bba0b7a780736d073">00197</a>   <span class="keywordtype">void</span> SetPixel(<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> &amp;index, <span class="keyword">const</span> TPixel&amp; value)
<a name="l00198"></a>00198     {
<a name="l00199"></a>00199     <span class="keyword">typename</span> Superclass::OffsetValueType offset = this-&gt;ComputeOffset(index);
<a name="l00200"></a>00200     (*m_Buffer)[offset] = value;
<a name="l00201"></a>00201     }
<a name="l00202"></a>00202 
<a name="l00207"></a><a class="code" href="classitk_1_1Image.html#aedb8807a88d1886d22d3f2bdfb47863">00207</a>   <span class="keyword">const</span> TPixel&amp; GetPixel(<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> &amp;index)<span class="keyword"> const</span>
<a name="l00208"></a>00208 <span class="keyword">    </span>{
<a name="l00209"></a>00209     <span class="keyword">typename</span> Superclass::OffsetValueType offset = this-&gt;ComputeOffset(index);
<a name="l00210"></a>00210     <span class="keywordflow">return</span> ( (*m_Buffer)[offset] );
<a name="l00211"></a>00211     }
<a name="l00212"></a>00212 
<a name="l00217"></a><a class="code" href="classitk_1_1Image.html#d424c945604f339130b4ffe81b99738e">00217</a>   TPixel&amp; GetPixel(<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> &amp;index)
<a name="l00218"></a>00218     {
<a name="l00219"></a>00219     <span class="keyword">typename</span> Superclass::OffsetValueType offset = this-&gt;ComputeOffset(index);
<a name="l00220"></a>00220     <span class="keywordflow">return</span> ( (*m_Buffer)[offset] );
<a name="l00221"></a>00221     }
<a name="l00222"></a>00222 
<a name="l00227"></a><a class="code" href="classitk_1_1Image.html#3ded48291db47ba6171def7562be0034">00227</a>   TPixel &amp; operator[](<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> &amp;index)
<a name="l00228"></a>00228     { <span class="keywordflow">return</span> this-&gt;GetPixel(index); }
<a name="l00229"></a>00229 
<a name="l00234"></a><a class="code" href="classitk_1_1Image.html#4963ffb4d11725084490ecf268643fd5">00234</a>   <span class="keyword">const</span> TPixel&amp; operator[](<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> &amp;index)<span class="keyword"> const</span>
<a name="l00235"></a>00235 <span class="keyword">     </span>{ <span class="keywordflow">return</span> this-&gt;GetPixel(index); }
<a name="l00236"></a>00236 
<a name="l00239"></a><a class="code" href="classitk_1_1Image.html#85bf07ced1012fa651cd06be10914b90">00239</a>   TPixel *GetBufferPointer()
<a name="l00240"></a>00240     { <span class="keywordflow">return</span> m_Buffer ? m_Buffer-&gt;GetBufferPointer() : 0; }
<a name="l00241"></a><a class="code" href="classitk_1_1Image.html#b0b22ad32d85e17f709de2461f30b020">00241</a>   <span class="keyword">const</span> TPixel *GetBufferPointer()<span class="keyword"> const</span>
<a name="l00242"></a>00242 <span class="keyword">    </span>{ <span class="keywordflow">return</span> m_Buffer ? m_Buffer-&gt;GetBufferPointer() : 0; }
<a name="l00244"></a>00244 
<a name="l00246"></a><a class="code" href="classitk_1_1Image.html#ab044de7c6a87f5bcd354e29f6c067f7">00246</a>   <a class="code" href="classitk_1_1ImportImageContainer.html">PixelContainer</a>* GetPixelContainer()
<a name="l00247"></a>00247     { <span class="keywordflow">return</span> m_Buffer.GetPointer(); }
<a name="l00248"></a>00248 
<a name="l00249"></a><a class="code" href="classitk_1_1Image.html#1f4447d246d6a6a14b2d2257b62d24f4">00249</a>   <span class="keyword">const</span> <a class="code" href="classitk_1_1ImportImageContainer.html">PixelContainer</a>* GetPixelContainer()<span class="keyword"> const</span>
<a name="l00250"></a>00250 <span class="keyword">    </span>{ <span class="keywordflow">return</span> m_Buffer.GetPointer(); }
<a name="l00251"></a>00251 
<a name="l00254"></a>00254   <span class="keywordtype">void</span> SetPixelContainer( PixelContainer *container );
<a name="l00255"></a>00255 
<a name="l00266"></a>00266   <span class="keyword">virtual</span> <span class="keywordtype">void</span> Graft(<span class="keyword">const</span> <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">DataObject</a> *data);
<a name="l00267"></a>00267 
<a name="l00268"></a>00268 
<a name="l00270"></a><a class="code" href="classitk_1_1Image.html#ce2b3bc6c35c40300cd7b8e0f3190ffc">00270</a>   <a class="code" href="classitk_1_1DefaultPixelAccessor.html" title="Give access to partial aspects a type.">AccessorType</a> GetPixelAccessor( <span class="keywordtype">void</span> )
<a name="l00271"></a>00271     { <span class="keywordflow">return</span> <a class="code" href="classitk_1_1DefaultPixelAccessor.html" title="Give access to partial aspects a type.">AccessorType</a>(); }
<a name="l00272"></a>00272 
<a name="l00274"></a><a class="code" href="classitk_1_1Image.html#e5f167a0cb812f0f089e33237e9d6bca">00274</a>   <span class="keyword">const</span> <a class="code" href="classitk_1_1DefaultPixelAccessor.html" title="Give access to partial aspects a type.">AccessorType</a> GetPixelAccessor( <span class="keywordtype">void</span> )<span class="keyword"> const</span>
<a name="l00275"></a>00275 <span class="keyword">    </span>{ <span class="keywordflow">return</span> <a class="code" href="classitk_1_1DefaultPixelAccessor.html" title="Give access to partial aspects a type.">AccessorType</a>(); }
<a name="l00276"></a>00276 
<a name="l00278"></a><a class="code" href="classitk_1_1Image.html#d081e0cb847a1b0326545d4c1ff9f3db">00278</a>   <a class="code" href="classitk_1_1NeighborhoodAccessorFunctor.html" title="Provides accessor interfaces to Get pixels and is meant to be used on pointers contained...">NeighborhoodAccessorFunctorType</a> GetNeighborhoodAccessor()
<a name="l00279"></a>00279     { <span class="keywordflow">return</span> <a class="code" href="classitk_1_1NeighborhoodAccessorFunctor.html" title="Provides accessor interfaces to Get pixels and is meant to be used on pointers contained...">NeighborhoodAccessorFunctorType</a>(); }
<a name="l00280"></a>00280 
<a name="l00282"></a><a class="code" href="classitk_1_1Image.html#390f2e74880eb22e181cb16489bbf539">00282</a>   <span class="keyword">const</span> <a class="code" href="classitk_1_1NeighborhoodAccessorFunctor.html" title="Provides accessor interfaces to Get pixels and is meant to be used on pointers contained...">NeighborhoodAccessorFunctorType</a> GetNeighborhoodAccessor()<span class="keyword"> const</span>
<a name="l00283"></a>00283 <span class="keyword">    </span>{ <span class="keywordflow">return</span> <a class="code" href="classitk_1_1NeighborhoodAccessorFunctor.html" title="Provides accessor interfaces to Get pixels and is meant to be used on pointers contained...">NeighborhoodAccessorFunctorType</a>(); }
<a name="l00284"></a>00284 
<a name="l00285"></a>00285 <span class="keyword">protected</span>:
<a name="l00286"></a>00286   <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image</a>();
<a name="l00287"></a>00287   <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#920ae03048a5ad715d803ca2e92b52de">PrintSelf</a>(std::ostream&amp; os, <a class="code" href="classitk_1_1Indent.html" title="Control indentation during Print() invocation.">Indent</a> indent) <span class="keyword">const</span>;
<a name="l00288"></a><a class="code" href="classitk_1_1Image.html#217dfefd91731880e155ab5f19c81a76">00288</a>   <span class="keyword">virtual</span> <a class="code" href="classitk_1_1Image.html#217dfefd91731880e155ab5f19c81a76">~Image</a>() {};
<a name="l00289"></a>00289 
<a name="l00295"></a>00295   <span class="keyword">virtual</span> <span class="keywordtype">void</span> ComputeIndexToPhysicalPointMatrices();
<a name="l00296"></a>00296 
<a name="l00297"></a>00297 <span class="keyword">private</span>:
<a name="l00298"></a>00298   <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image</a>(<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ac7d0120fe5292cdcdddb6163b8cb150">Self</a>&amp;); <span class="comment">//purposely not implemented</span>
<a name="l00299"></a>00299   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ac7d0120fe5292cdcdddb6163b8cb150">Self</a>&amp;); <span class="comment">//purposely not implemented</span>
<a name="l00300"></a>00300 
<a name="l00302"></a>00302   PixelContainerPointer m_Buffer;
<a name="l00303"></a>00303 
<a name="l00304"></a>00304 };
<a name="l00305"></a>00305 
<a name="l00306"></a>00306 } <span class="comment">// end namespace itk</span>
<a name="l00307"></a>00307 
<a name="l00308"></a>00308 <span class="comment">// Define instantiation macro for this template.</span>
<a name="l00309"></a><a class="code" href="itkImage_8h.html#baece0d98f1c5f64a62c063eedd63fc3">00309</a> <span class="preprocessor">#define ITK_TEMPLATE_Image(_, EXPORT, x, y) namespace itk { \</span>
<a name="l00310"></a>00310 <span class="preprocessor">  _(2(class EXPORT Image&lt; ITK_TEMPLATE_2 x &gt;)) \</span>
<a name="l00311"></a>00311 <span class="preprocessor">  namespace Templates { typedef Image&lt; ITK_TEMPLATE_2 x &gt; Image##y; } \</span>
<a name="l00312"></a>00312 <span class="preprocessor">  }</span>
<a name="l00313"></a>00313 <span class="preprocessor"></span>
<a name="l00314"></a>00314 <span class="preprocessor">#if ITK_TEMPLATE_EXPLICIT</span>
<a name="l00315"></a>00315 <span class="preprocessor"></span><span class="preprocessor"># include "Templates/itkImage+-.h"</span>
<a name="l00316"></a>00316 <span class="preprocessor">#endif</span>
<a name="l00317"></a>00317 <span class="preprocessor"></span>
<a name="l00318"></a>00318 <span class="preprocessor">#if ITK_TEMPLATE_TXX</span>
<a name="l00319"></a>00319 <span class="preprocessor"></span><span class="preprocessor"># include "itkImage.txx"</span>
<a name="l00320"></a>00320 <span class="preprocessor">#endif</span>
<a name="l00321"></a>00321 <span class="preprocessor"></span>
<a name="l00322"></a>00322 <span class="preprocessor">#endif</span>
<a name="l00323"></a>00323 <span class="preprocessor"></span>
</pre></div></div>
<hr><address><small>
Generated at Thu May 7 23:01:03 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>,
 &copy;&nbsp;1997-2000</small></address>
</body>
</html>