<!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: itkPointSet.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> <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="dir_02e23d841c198393a6e961e9a0678fff.html">Code</a> » <a class="el" href="dir_ea7fc529ede9a38b0438cf13831ae873.html">Common</a> </div> <div class="contents"> <h1>itkPointSet.h</h1><a href="itkPointSet_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 & Registration Toolkit</span> <a name="l00004"></a>00004 <span class="comment"> Module: $RCSfile: itkPointSet.h,v $</span> <a name="l00005"></a>00005 <span class="comment"> Language: C++</span> <a name="l00006"></a>00006 <span class="comment"> Date: $Date: 2007-02-07 13:52:47 $</span> <a name="l00007"></a>00007 <span class="comment"> Version: $Revision: 1.25 $</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"> Portions of this code are covered under the VTK copyright.</span> <a name="l00013"></a>00013 <span class="comment"> See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details.</span> <a name="l00014"></a>00014 <span class="comment"></span> <a name="l00015"></a>00015 <span class="comment"> This software is distributed WITHOUT ANY WARRANTY; without even </span> <a name="l00016"></a>00016 <span class="comment"> the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR </span> <a name="l00017"></a>00017 <span class="comment"> PURPOSE. See the above copyright notices for more information.</span> <a name="l00018"></a>00018 <span class="comment"></span> <a name="l00019"></a>00019 <span class="comment">=========================================================================*/</span> <a name="l00020"></a>00020 <span class="preprocessor">#ifndef __itkPointSet_h</span> <a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define __itkPointSet_h</span> <a name="l00022"></a>00022 <span class="preprocessor"></span> <a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="itkDataObject_8h.html">itkDataObject.h</a>"</span> <a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="itkPoint_8h.html">itkPoint.h</a>"</span> <a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="itkDefaultStaticMeshTraits_8h.html">itkDefaultStaticMeshTraits.h</a>"</span> <a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="itkPointLocator_8h.html">itkPointLocator.h</a>"</span> <a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="itkBoundingBox_8h.html">itkBoundingBox.h</a>"</span> <a name="l00028"></a>00028 <span class="preprocessor">#include <vector></span> <a name="l00029"></a>00029 <span class="preprocessor">#include <set></span> <a name="l00030"></a>00030 <a name="l00031"></a>00031 <a name="l00032"></a>00032 <span class="keyword">namespace </span>itk <a name="l00033"></a>00033 { <a name="l00034"></a>00034 <a name="l00041"></a>00041 <span class="keyword">template</span> <<span class="keyword">typename</span> TPo<span class="keywordtype">int</span>Set> <a name="l00042"></a><a class="code" href="structitk_1_1GetPointSetDimension.html">00042</a> <span class="keyword">struct </span><a class="code" href="structitk_1_1GetPointSetDimension.html">GetPointSetDimension</a> <a name="l00043"></a>00043 { <a name="l00044"></a>00044 <a class="code" href="structitk_1_1GetPointSetDimension.html#439c62907ab717d2fc0d20601aca771f">itkStaticConstMacro</a>(PointDimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>, TPointSet::PointDimension); <a name="l00045"></a>00045 }; <a name="l00046"></a>00046 <a name="l00086"></a>00086 <span class="keyword">template</span> < <a name="l00087"></a>00087 <span class="keyword">typename</span> TPixelType, <a name="l00088"></a>00088 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> VDimension = 3, <a name="l00089"></a>00089 <span class="keyword">typename</span> TMeshTraits = <a class="code" href="classitk_1_1DefaultStaticMeshTraits.html">DefaultStaticMeshTraits< TPixelType, VDimension, VDimension ></a> <a name="l00090"></a>00090 > <a name="l00091"></a><a class="code" href="classitk_1_1PointSet.html">00091</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1PointSet.html" title="A superclass of the N-dimensional mesh structure; supports point (geometric coordinate...">PointSet</a>: <span class="keyword">public</span> <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">DataObject</a> <a name="l00092"></a>00092 { <a name="l00093"></a>00093 <span class="keyword">public</span>: <a name="l00095"></a><a class="code" href="classitk_1_1PointSet.html#158660415438a40c2a64024d5f0acdda">00095</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1PointSet.html" title="A superclass of the N-dimensional mesh structure; supports point (geometric coordinate...">PointSet</a> <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">Self</a>; <a name="l00096"></a><a class="code" href="classitk_1_1PointSet.html#70f98d5fab30a6c24608fde6e2760527">00096</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">DataObject</a> <a class="code" href="classitk_1_1Object.html" title="Base class for most itk classes.">Superclass</a>; <a name="l00097"></a><a class="code" href="classitk_1_1PointSet.html#87753bcefecb3fbd37494f91daf6ce95">00097</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer<Self></a> <a class="code" href="classitk_1_1SmartPointer.html">Pointer</a>; <a name="l00098"></a><a class="code" href="classitk_1_1PointSet.html#5ca7030e091802e2fb68830c37e95b0a">00098</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer<const Self></a> <a class="code" href="classitk_1_1SmartPointer.html">ConstPointer</a>; <a name="l00099"></a>00099 <a name="l00101"></a>00101 <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="l00102"></a>00102 <a name="l00104"></a><a class="code" href="classitk_1_1PointSet.html#3350ff56ccfdd07c14f1ec649cfa6b1f">00104</a> <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1PointSet.html" title="A superclass of the N-dimensional mesh structure; supports point (geometric coordinate...">PointSet</a>, <a class="code" href="classitk_1_1Object.html" title="Base class for most itk classes.">Object</a>); <a name="l00105"></a>00105 <a name="l00107"></a>00107 <span class="keyword">typedef</span> TMeshTraits MeshTraits; <a name="l00108"></a><a class="code" href="classitk_1_1PointSet.html#19bcbb88d7bdc5f0c584cf607badedf0">00108</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> MeshTraits::PixelType PixelType; <a name="l00109"></a>00109 <a name="l00111"></a><a class="code" href="classitk_1_1PointSet.html#77e318ce45109dd5726b3873c0591382">00111</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> MeshTraits::CoordRepType CoordRepType; <a name="l00112"></a><a class="code" href="classitk_1_1PointSet.html#f43e08cfddd6c129ea3521fad4c4a156">00112</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> MeshTraits::PointIdentifier PointIdentifier; <a name="l00113"></a><a class="code" href="classitk_1_1PointSet.html#b4c1cdf480fcb806bbcf03411c0c6639">00113</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> MeshTraits::PointType PointType; <a name="l00114"></a><a class="code" href="classitk_1_1PointSet.html#3bced7e2596f3ab7edfa2d1cf5c4a902">00114</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> MeshTraits::PointsContainer PointsContainer; <a name="l00115"></a><a class="code" href="classitk_1_1PointSet.html#2d3fc5a2f84144114f001d8c9d308c91">00115</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> MeshTraits::PointDataContainer PointDataContainer; <a name="l00116"></a>00116 <a name="l00118"></a>00118 <a class="code" href="itkMacro_8h.html#1905cf6b2e88235996fa7ff73b2fb0eb">itkStaticConstMacro</a>(PointDimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>, <a name="l00119"></a>00119 TMeshTraits::PointDimension); <a name="l00120"></a>00120 <a name="l00123"></a>00123 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1PointLocator.html" title="Accelerate geometric searches for points.">PointLocator</a><PointIdentifier,<a class="code" href="itkMacro_8h.html#94ef2dc11d52c8ef0a78e34558feb8cb">itkGetStaticConstMacro</a>(PointDimension), <a name="l00124"></a><a class="code" href="classitk_1_1PointSet.html#55c0685afa8aea0bc33a3ec90b5d719b">00124</a> CoordRepType,PointsContainer> <a class="code" href="classitk_1_1PointLocator.html" title="Accelerate geometric searches for points.">PointLocatorType</a>; <a name="l00125"></a>00125 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1BoundingBox.html" title="Represent and compute information about bounding boxes.">BoundingBox</a><PointIdentifier,<a class="code" href="itkMacro_8h.html#94ef2dc11d52c8ef0a78e34558feb8cb">itkGetStaticConstMacro</a>(PointDimension), <a name="l00126"></a><a class="code" href="classitk_1_1PointSet.html#f322dac7bfeb63cf95b67ca590a2ee73">00126</a> CoordRepType,PointsContainer> <a class="code" href="classitk_1_1BoundingBox.html" title="Represent and compute information about bounding boxes.">BoundingBoxType</a>; <a name="l00128"></a>00128 <a name="l00130"></a><a class="code" href="classitk_1_1PointSet.html#1c7166a3e63771ace8337e8cb588eb94">00130</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">PointsContainer::Pointer</a> PointsContainerPointer; <a name="l00131"></a><a class="code" href="classitk_1_1PointSet.html#e4a851cd570102bef1f18388c1cfe2d0">00131</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#68fafcc6909430ccd70cbc4aeee0107c">PointsContainer::ConstPointer</a> PointsContainerConstPointer; <a name="l00132"></a><a class="code" href="classitk_1_1PointSet.html#ec4ed80b2404e3fb843171ef6287ea5d">00132</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">PointDataContainer::Pointer</a> PointDataContainerPointer; <a name="l00133"></a><a class="code" href="classitk_1_1PointSet.html#316e099cff05c557411855659b5fc4ec">00133</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#68fafcc6909430ccd70cbc4aeee0107c">PointDataContainer::ConstPointer</a> PointDataContainerConstPointer; <a name="l00134"></a><a class="code" href="classitk_1_1PointSet.html#93822e1584ffa0c8c6cd1aa55489f837">00134</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">PointLocatorType::Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">PointLocatorPointer</a>; <a name="l00135"></a><a class="code" href="classitk_1_1PointSet.html#0435112cdd3d9a84aaa4f824223f7363">00135</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">BoundingBoxType::Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">BoundingBoxPointer</a>; <a name="l00136"></a>00136 <a name="l00138"></a>00138 <span class="keyword">typedef</span> <span class="keyword">typename</span> <a name="l00139"></a><a class="code" href="classitk_1_1PointSet.html#9ddd27f5f696855acd0524772bf3868f">00139</a> PointsContainer::ConstIterator PointsContainerConstIterator; <a name="l00140"></a>00140 <span class="keyword">typedef</span> <span class="keyword">typename</span> <a name="l00141"></a><a class="code" href="classitk_1_1PointSet.html#ae14f9151c52b384aa27a09666d2fa86">00141</a> PointsContainer::Iterator PointsContainerIterator; <a name="l00142"></a>00142 <span class="keyword">typedef</span> <span class="keyword">typename</span> <a name="l00143"></a><a class="code" href="classitk_1_1PointSet.html#c12e3ba8f8e87663934028f9de380af9">00143</a> PointDataContainer::ConstIterator PointDataContainerIterator; <a name="l00144"></a>00144 <a name="l00146"></a><a class="code" href="classitk_1_1PointSet.html#b8de154784cc2fdccc9d8e09f4319399">00146</a> <span class="keyword">typedef</span> <span class="keywordtype">long</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a>; <a name="l00147"></a>00147 <a name="l00150"></a><a class="code" href="classitk_1_1PointSet.html#3b65d81a545d9be0966a6f43e37b9889">00150</a> <a class="code" href="itkMacro_8h.html#89294335d94b115d40e2603f2fff7950">itkGetConstMacro</a>( MaximumNumberOfRegions, <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a> ); <a name="l00151"></a>00151 <a name="l00152"></a>00152 <span class="keyword">protected</span>: <a name="l00155"></a>00155 PointsContainerPointer m_PointsContainer; <a name="l00156"></a>00156 <a name="l00161"></a><a class="code" href="classitk_1_1PointSet.html#6c65d2f869e55ec2337a5db06de81581">00161</a> PointDataContainerPointer m_PointDataContainer; <a name="l00162"></a>00162 <a name="l00165"></a><a class="code" href="classitk_1_1PointSet.html#e9061310bbb03331595c56368f68ae80">00165</a> <a class="code" href="classitk_1_1SmartPointer.html">PointLocatorPointer</a> m_PointLocator; <a name="l00166"></a>00166 <a name="l00169"></a><a class="code" href="classitk_1_1PointSet.html#b88052f2b35f821c42181c67a7be7111">00169</a> <a class="code" href="classitk_1_1SmartPointer.html">BoundingBoxPointer</a> m_BoundingBox; <a name="l00170"></a>00170 <a name="l00171"></a>00171 <span class="keyword">public</span>: <a name="l00173"></a>00173 <span class="keywordtype">void</span> PassStructure(<a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">Self</a>* inputPointSet); <a name="l00174"></a>00174 <span class="keyword">virtual</span> <span class="keywordtype">void</span> Initialize(<span class="keywordtype">void</span>); <a name="l00175"></a>00175 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> GetNumberOfPoints(<span class="keywordtype">void</span>) <span class="keyword">const</span>; <a name="l00177"></a>00177 <a name="l00181"></a>00181 <span class="keywordtype">void</span> SetPoints(PointsContainer*); <a name="l00182"></a>00182 PointsContainer * GetPoints(<span class="keywordtype">void</span>); <a name="l00183"></a>00183 <span class="keyword">const</span> PointsContainer * GetPoints(<span class="keywordtype">void</span>) <span class="keyword">const</span>; <a name="l00184"></a>00184 <span class="keywordtype">void</span> SetPointData(PointDataContainer*); <a name="l00185"></a>00185 PointDataContainer * GetPointData(<span class="keywordtype">void</span>); <a name="l00186"></a>00186 <span class="keyword">const</span> PointDataContainer * GetPointData(<span class="keywordtype">void</span>) <span class="keyword">const</span>; <a name="l00188"></a>00188 <a name="l00191"></a>00191 <span class="keywordtype">void</span> SetPoint(PointIdentifier, PointType); <a name="l00192"></a>00192 <span class="keywordtype">bool</span> GetPoint(PointIdentifier, PointType*) <span class="keyword">const</span>; <a name="l00194"></a>00194 <a name="l00197"></a>00197 <span class="keywordtype">void</span> SetPointData(PointIdentifier, PixelType); <a name="l00198"></a>00198 <span class="keywordtype">bool</span> GetPointData(PointIdentifier, PixelType*) <span class="keyword">const</span>; <a name="l00200"></a>00200 <a name="l00203"></a>00203 <span class="keyword">const</span> <a class="code" href="classitk_1_1BoundingBox.html" title="Represent and compute information about bounding boxes.">BoundingBoxType</a> * GetBoundingBox(<span class="keywordtype">void</span>) <span class="keyword">const</span>; <a name="l00204"></a>00204 <a name="l00207"></a>00207 <span class="keywordtype">bool</span> FindClosestPoint(CoordRepType* <span class="comment">/*coords[PointDimension]*/</span>, <a name="l00208"></a>00208 PointIdentifier* pointId); <a name="l00209"></a>00209 <a name="l00211"></a>00211 <span class="keyword">virtual</span> <span class="keywordtype">void</span> UpdateOutputInformation(); <a name="l00212"></a>00212 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetRequestedRegionToLargestPossibleRegion(); <a name="l00213"></a>00213 <span class="keyword">virtual</span> <span class="keywordtype">void</span> CopyInformation(<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="l00214"></a>00214 <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="l00215"></a>00215 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> RequestedRegionIsOutsideOfTheBufferedRegion(); <a name="l00216"></a>00216 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> VerifyRequestedRegion(); <a name="l00218"></a>00218 <a name="l00223"></a>00223 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetRequestedRegion(<a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">DataObject</a> *data); <a name="l00224"></a>00224 <a name="l00226"></a>00226 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetRequestedRegion( <span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a> & region ); <a name="l00227"></a>00227 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>( RequestedRegion, <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a> ); <a name="l00229"></a>00229 <a name="l00231"></a>00231 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetBufferedRegion( <span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a> & region ); <a name="l00232"></a>00232 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>( BufferedRegion, <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a> ); <a name="l00234"></a>00234 <a name="l00235"></a>00235 <a name="l00236"></a>00236 <span class="keyword">protected</span>: <a name="l00238"></a>00238 <a class="code" href="classitk_1_1PointSet.html" title="A superclass of the N-dimensional mesh structure; supports point (geometric coordinate...">PointSet</a>(); <a name="l00239"></a><a class="code" href="classitk_1_1PointSet.html#11fae1388b0620d5f2dd66130a121bbe">00239</a> <a class="code" href="classitk_1_1PointSet.html#11fae1388b0620d5f2dd66130a121bbe">~PointSet</a>() {} <a name="l00240"></a>00240 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#920ae03048a5ad715d803ca2e92b52de">PrintSelf</a>(std::ostream& 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="l00242"></a>00242 <a name="l00243"></a>00243 <span class="comment">// If the RegionType is ITK_UNSTRUCTURED_REGION, then the following</span> <a name="l00244"></a>00244 <span class="comment">// variables represent the maximum number of region that the data</span> <a name="l00245"></a>00245 <span class="comment">// object can be broken into, which region out of how many is</span> <a name="l00246"></a>00246 <span class="comment">// currently in the buffered region, and the number of regions and</span> <a name="l00247"></a>00247 <span class="comment">// the specific region requested for the update. Data objects that</span> <a name="l00248"></a>00248 <span class="comment">// do not support any division of the data can simply leave the</span> <a name="l00249"></a>00249 <span class="comment">// MaximumNumberOfRegions as 1. The RequestedNumberOfRegions and</span> <a name="l00250"></a>00250 <span class="comment">// RequestedRegion are used to define the currently requested</span> <a name="l00251"></a>00251 <span class="comment">// region. The LargestPossibleRegion is always requested region = 0</span> <a name="l00252"></a>00252 <span class="comment">// and number of regions = 1;</span> <a name="l00253"></a><a class="code" href="classitk_1_1PointSet.html#64695e77f7422cac52a25990b875c08a">00253</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a> m_MaximumNumberOfRegions; <a name="l00254"></a><a class="code" href="classitk_1_1PointSet.html#0b347854c570004be220b578fa71d552">00254</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a> m_NumberOfRegions; <a name="l00255"></a><a class="code" href="classitk_1_1PointSet.html#5a6fb2f97cae1a4a4d7af9656d27b73e">00255</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a> m_RequestedNumberOfRegions; <a name="l00256"></a><a class="code" href="classitk_1_1PointSet.html#dcc011ecd38ef2636c17cea5764a8fcd">00256</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a> m_BufferedRegion; <a name="l00257"></a><a class="code" href="classitk_1_1PointSet.html#8c94f427da021c84be9367381091a461">00257</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a> m_RequestedRegion; <a name="l00258"></a>00258 <a name="l00259"></a>00259 <span class="keyword">private</span>: <a name="l00260"></a>00260 <a class="code" href="classitk_1_1PointSet.html" title="A superclass of the N-dimensional mesh structure; supports point (geometric coordinate...">PointSet</a>(<span class="keyword">const</span> <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">Self</a>&); <span class="comment">//purposely not implemented</span> <a name="l00261"></a>00261 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">Self</a>&); <span class="comment">//purposely not implemented</span> <a name="l00262"></a>00262 <a name="l00263"></a>00263 }; <span class="comment">// End Class: PointSet</span> <a name="l00264"></a>00264 <a name="l00265"></a>00265 } <span class="comment">// end namespace itk</span> <a name="l00266"></a>00266 <a name="l00267"></a>00267 <a name="l00268"></a>00268 <span class="comment">// Define instantiation macro for this template.</span> <a name="l00269"></a><a class="code" href="itkPointSet_8h.html#50b70cc4ed043653beea2336d2942ee1">00269</a> <span class="preprocessor">#define ITK_TEMPLATE_PointSet(_, EXPORT, x, y) namespace itk { \</span> <a name="l00270"></a>00270 <span class="preprocessor"> _(2(class EXPORT PointSet< ITK_TEMPLATE_2 x >)) \</span> <a name="l00271"></a>00271 <span class="preprocessor"> namespace Templates { typedef PointSet< ITK_TEMPLATE_2 x > \</span> <a name="l00272"></a>00272 <span class="preprocessor"> PointSet##y; } \</span> <a name="l00273"></a>00273 <span class="preprocessor"> }</span> <a name="l00274"></a>00274 <span class="preprocessor"></span> <a name="l00275"></a>00275 <span class="preprocessor">#if ITK_TEMPLATE_EXPLICIT</span> <a name="l00276"></a>00276 <span class="preprocessor"></span><span class="preprocessor"># include "Templates/itkPointSet+-.h"</span> <a name="l00277"></a>00277 <span class="preprocessor">#endif</span> <a name="l00278"></a>00278 <span class="preprocessor"></span> <a name="l00279"></a>00279 <span class="preprocessor">#if ITK_TEMPLATE_TXX</span> <a name="l00280"></a>00280 <span class="preprocessor"></span><span class="preprocessor"># include "itkPointSet.txx"</span> <a name="l00281"></a>00281 <span class="preprocessor">#endif</span> <a name="l00282"></a>00282 <span class="preprocessor"></span> <a name="l00283"></a>00283 <span class="comment">/*</span> <a name="l00284"></a>00284 <span class="comment">#ifndef ITK_MANUAL_INSTANTIATION</span> <a name="l00285"></a>00285 <span class="comment">#include "itkPointSet.txx"</span> <a name="l00286"></a>00286 <span class="comment">#endif</span> <a name="l00287"></a>00287 <span class="comment">*/</span> <a name="l00288"></a>00288 <a name="l00289"></a>00289 <a name="l00290"></a>00290 <span class="preprocessor">#endif</span> <a name="l00291"></a>00291 <span class="preprocessor"></span> </pre></div></div> <hr><address><small> Generated at Thu May 7 23:51:20 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>