Sophie

Sophie

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

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: itkQuadEdgeMeshDecimationCriteria.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_dd352b1cbb04f9ff09fa5f33693fed9f.html">Review</a>
  </div>
<div class="contents">
<h1>itkQuadEdgeMeshDecimationCriteria.h</h1><a href="itkQuadEdgeMeshDecimationCriteria_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: itkQuadEdgeMeshDecimationCriteria.h,v $</span>
<a name="l00005"></a>00005 <span class="comment">  Language:  C++</span>
<a name="l00006"></a>00006 <span class="comment">  Date:      $Date: 2008-09-30 22:27:57 $</span>
<a name="l00007"></a>00007 <span class="comment">  Version:   $Revision: 1.5 $</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 
<a name="l00018"></a>00018 <span class="preprocessor">#ifndef __itkQuadEdgeMeshDecimationCriteria_h</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define __itkQuadEdgeMeshDecimationCriteria_h</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="itkPriorityQueueContainer_8h.html">itkPriorityQueueContainer.h</a>"</span>
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 <span class="keyword">namespace </span>itk
<a name="l00024"></a>00024 {
<a name="l00029"></a>00029 <span class="keyword">template</span>&lt; <span class="keyword">class </span>TMesh,
<a name="l00030"></a>00030   <span class="keyword">typename</span> TElement  = <span class="keywordtype">unsigned</span> long,
<a name="l00031"></a>00031   <span class="keyword">typename</span> TMeasure = double,
<a name="l00032"></a>00032   <span class="keyword">class </span>TPriorityQueueWrapper = 
<a name="l00033"></a>00033     MinPriorityQueueElementWrapper&lt; <span class="keyword">typename</span> TMesh::QEType*, 
<a name="l00034"></a>00034       std::pair&lt; bool, TMeasure &gt; &gt; &gt;
<a name="l00035"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">00035</a> <span class="keyword">class </span><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">QuadEdgeMeshDecimationCriterion</a> : <span class="keyword">public</span> <a class="code" href="classitk_1_1Object.html" title="Base class for most itk classes.">Object</a>
<a name="l00036"></a>00036 {
<a name="l00037"></a>00037 <span class="keyword">public</span>:
<a name="l00038"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#f778e199d507898443748aab828cb2cf">00038</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">QuadEdgeMeshDecimationCriterion</a>       <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>;
<a name="l00039"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#b234d4e89985d6b7727063042a32e54b">00039</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="l00040"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#edb0d95f29c06a78b2faa32da32389b9">00040</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="l00041"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#10d5ddd5ab8652911165156e97004d81">00041</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Object.html" title="Base class for most itk classes.">Object</a>                                <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Superclass</a>;
<a name="l00042"></a>00042 
<a name="l00044"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#66d856dc3848310afb0b60648b90a430">00044</a>   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>( <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">QuadEdgeMeshDecimationCriterion</a>, <a class="code" href="classitk_1_1Object.html" title="Base class for most itk classes.">Object</a> );
<a name="l00045"></a>00045 
<a name="l00046"></a>00046   <span class="keyword">typedef</span> TMesh                                                    <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#66d856dc3848310afb0b60648b90a430">MeshType</a>;
<a name="l00047"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#455e263a07c54fcf3f846ae6ff11f849">00047</a>   <span class="keyword">typedef</span> TElement                                                 <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#455e263a07c54fcf3f846ae6ff11f849">ElementType</a>;
<a name="l00048"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#29b56501ba49a6565f5ebbe0e65a2101">00048</a>   <span class="keyword">typedef</span> TMeasure                                                 <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#29b56501ba49a6565f5ebbe0e65a2101">MeasureType</a>;
<a name="l00049"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#0569d203ab6849957ac9027513c7ed54">00049</a>   <span class="keyword">typedef</span> TPriorityQueueWrapper                                    <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#0569d203ab6849957ac9027513c7ed54">PriorityQueueWrapperType</a>;
<a name="l00050"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#12525c234ea64f3fe50937651c74bf5d">00050</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> PriorityQueueWrapperType::ElementPriorityType   <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#12525c234ea64f3fe50937651c74bf5d">PriorityType</a>;
<a name="l00051"></a>00051 
<a name="l00052"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#c468e1294ad1e5db9115a3e85989c5ba">00052</a>   <span class="keywordtype">void</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#c468e1294ad1e5db9115a3e85989c5ba">SetNumberOfElements</a>( <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> &amp; numberOfElements )
<a name="l00053"></a>00053     {
<a name="l00054"></a>00054     this-&gt;<a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#cef4c5bb24553e183cca347265c9eb5e">m_SizeCriterion</a> = <span class="keyword">true</span>;
<a name="l00055"></a>00055     this-&gt;<a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#d58dbd6fe5bbecc2f505f766c5535f12">m_NumberOfElements</a> = numberOfElements;
<a name="l00056"></a>00056     }
<a name="l00057"></a>00057 
<a name="l00058"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#749ec4a36e7e909859f719437046582d">00058</a>   <span class="keywordtype">void</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#749ec4a36e7e909859f719437046582d">SetMeasureBound</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#29b56501ba49a6565f5ebbe0e65a2101">MeasureType</a>&amp; bound )
<a name="l00059"></a>00059     {
<a name="l00060"></a>00060     this-&gt;<a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#cef4c5bb24553e183cca347265c9eb5e">m_SizeCriterion</a> = <span class="keyword">false</span>;
<a name="l00061"></a>00061     this-&gt;<a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#b63608f071b347161cc1bc217a7c7ca9">m_MeasureBound</a> = bound;
<a name="l00062"></a>00062     }
<a name="l00063"></a>00063 
<a name="l00064"></a>00064   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>( TopologicalChange, <span class="keywordtype">bool</span> );
<a name="l00065"></a>00065   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( TopologicalChange, <span class="keywordtype">bool</span> );
<a name="l00066"></a>00066   
<a name="l00067"></a>00067   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#b38aca211c05ee586931eca6ead1c264">is_satisfied</a>( <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#66d856dc3848310afb0b60648b90a430">MeshType</a>* iMesh,
<a name="l00068"></a>00068     <span class="keyword">const</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#455e263a07c54fcf3f846ae6ff11f849">ElementType</a>&amp; iElement,
<a name="l00069"></a>00069     <span class="keyword">const</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#29b56501ba49a6565f5ebbe0e65a2101">MeasureType</a>&amp; iValue ) <span class="keyword">const</span> = 0;
<a name="l00070"></a>00070 
<a name="l00071"></a>00071 <span class="keyword">protected</span>:
<a name="l00072"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#0143a4032aa69ee5f8dc14cb882d8b19">00072</a>   <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#0143a4032aa69ee5f8dc14cb882d8b19">QuadEdgeMeshDecimationCriterion</a>()
<a name="l00073"></a>00073     {
<a name="l00074"></a>00074     this-&gt;<a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#2d1692edd46b53d77cf2cfc1b114f36c">m_TopologicalChange</a> = <span class="keyword">true</span>;
<a name="l00075"></a>00075     this-&gt;<a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#cef4c5bb24553e183cca347265c9eb5e">m_SizeCriterion</a> = <span class="keyword">true</span>;
<a name="l00076"></a>00076     this-&gt;<a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#d58dbd6fe5bbecc2f505f766c5535f12">m_NumberOfElements</a> = 0;
<a name="l00077"></a>00077     this-&gt;<a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#b63608f071b347161cc1bc217a7c7ca9">m_MeasureBound</a>= itk::NumericTraits&lt; MeasureType &gt;::Zero;
<a name="l00078"></a>00078     }
<a name="l00079"></a>00079 
<a name="l00080"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#e84b442552b3137ab7b865aac317a767">00080</a>   <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#e84b442552b3137ab7b865aac317a767">~QuadEdgeMeshDecimationCriterion</a>() {}
<a name="l00081"></a>00081 
<a name="l00082"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#2d1692edd46b53d77cf2cfc1b114f36c">00082</a>   <span class="keywordtype">bool</span>                <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#2d1692edd46b53d77cf2cfc1b114f36c">m_TopologicalChange</a>;
<a name="l00083"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#cef4c5bb24553e183cca347265c9eb5e">00083</a>   <span class="keywordtype">bool</span>                <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#cef4c5bb24553e183cca347265c9eb5e">m_SizeCriterion</a>;
<a name="l00084"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#d58dbd6fe5bbecc2f505f766c5535f12">00084</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>       <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#d58dbd6fe5bbecc2f505f766c5535f12">m_NumberOfElements</a>;
<a name="l00085"></a><a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#b63608f071b347161cc1bc217a7c7ca9">00085</a>   <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#29b56501ba49a6565f5ebbe0e65a2101">MeasureType</a>         <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#b63608f071b347161cc1bc217a7c7ca9">m_MeasureBound</a>;
<a name="l00086"></a>00086 
<a name="l00087"></a>00087 <span class="keyword">private</span>:
<a name="l00088"></a>00088   <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#0143a4032aa69ee5f8dc14cb882d8b19">QuadEdgeMeshDecimationCriterion</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>&amp; );
<a name="l00089"></a>00089   <span class="keywordtype">void</span> operator = ( <span class="keyword">const</span> <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>&amp; );
<a name="l00090"></a>00090 };
<a name="l00091"></a>00091 
<a name="l00096"></a>00096 <span class="keyword">template</span>&lt; <span class="keyword">class </span>TMesh,
<a name="l00097"></a>00097   <span class="keyword">typename</span> TElement = <span class="keywordtype">unsigned</span> long,
<a name="l00098"></a>00098   <span class="keyword">typename</span> TMeasure = double,
<a name="l00099"></a>00099   <span class="keyword">class </span>TPriorityQueueWrapper = 
<a name="l00100"></a>00100     <a class="code" href="classitk_1_1MinPriorityQueueElementWrapper.html">MinPriorityQueueElementWrapper</a>&lt; <span class="keyword">typename</span> TMesh::QEType*, 
<a name="l00101"></a>00101       std::pair&lt; bool, TMeasure &gt; &gt; &gt;
<a name="l00102"></a><a class="code" href="classitk_1_1NumberOfPointsCriterion.html">00102</a> <span class="keyword">class </span><a class="code" href="classitk_1_1NumberOfPointsCriterion.html">NumberOfPointsCriterion</a> :
<a name="l00103"></a>00103 <span class="keyword">public</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">QuadEdgeMeshDecimationCriterion</a>&lt; TMesh, TElement,
<a name="l00104"></a>00104   TMeasure, TPriorityQueueWrapper &gt;
<a name="l00105"></a>00105 {
<a name="l00106"></a>00106 <span class="keyword">public</span>:
<a name="l00107"></a><a class="code" href="classitk_1_1NumberOfPointsCriterion.html#de9ea378af5adebe3b3684acb873cea2">00107</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1NumberOfPointsCriterion.html">NumberOfPointsCriterion</a>                            <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>;
<a name="l00108"></a><a class="code" href="classitk_1_1NumberOfPointsCriterion.html#4f27d2318a765ac66e654d891f688ed6">00108</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="l00109"></a><a class="code" href="classitk_1_1NumberOfPointsCriterion.html#328db7fe87e07dfa46a2dcd5953c6532">00109</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="l00110"></a>00110   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">QuadEdgeMeshDecimationCriterion</a>&lt; 
<a name="l00111"></a><a class="code" href="classitk_1_1NumberOfPointsCriterion.html#1a749968932b3d644cc7fba1cc310d6d">00111</a>     TMesh, TElement, TMeasure, TPriorityQueueWrapper &gt;       <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Superclass</a>;
<a name="l00112"></a>00112 
<a name="l00114"></a>00114   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>( <a class="code" href="classitk_1_1NumberOfPointsCriterion.html">NumberOfPointsCriterion</a>, <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">QuadEdgeMeshDecimationCriterion</a> );
<a name="l00115"></a>00115 
<a name="l00117"></a><a class="code" href="classitk_1_1NumberOfPointsCriterion.html#565b4235c279f4237572bdcf309b36c5">00117</a>   <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>( <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a> );
<a name="l00118"></a>00118 
<a name="l00119"></a>00119   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#66d856dc3848310afb0b60648b90a430">Superclass::MeshType</a>                      <a class="code" href="classitk_1_1NumberOfPointsCriterion.html#565b4235c279f4237572bdcf309b36c5">MeshType</a>;
<a name="l00120"></a><a class="code" href="classitk_1_1NumberOfPointsCriterion.html#d84b9f164ebd0c64e5e4599e69ad3594">00120</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#455e263a07c54fcf3f846ae6ff11f849">Superclass::ElementType</a>                   <a class="code" href="classitk_1_1NumberOfPointsCriterion.html#d84b9f164ebd0c64e5e4599e69ad3594">ElementType</a>;
<a name="l00121"></a><a class="code" href="classitk_1_1NumberOfPointsCriterion.html#55757cc6b42f9016af52bea2d77856de">00121</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#29b56501ba49a6565f5ebbe0e65a2101">Superclass::MeasureType</a>                   <a class="code" href="classitk_1_1NumberOfPointsCriterion.html#55757cc6b42f9016af52bea2d77856de">MeasureType</a>;
<a name="l00122"></a><a class="code" href="classitk_1_1NumberOfPointsCriterion.html#20367cbbcbb4337de237f55416d59ffd">00122</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#0569d203ab6849957ac9027513c7ed54">Superclass::PriorityQueueWrapperType</a>      <a class="code" href="classitk_1_1NumberOfPointsCriterion.html#20367cbbcbb4337de237f55416d59ffd">PriorityQueueWrapperType</a>;
<a name="l00123"></a><a class="code" href="classitk_1_1NumberOfPointsCriterion.html#592b3a8b908808551577475c1feb2558">00123</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#12525c234ea64f3fe50937651c74bf5d">Superclass::PriorityType</a>                  <a class="code" href="classitk_1_1NumberOfPointsCriterion.html#592b3a8b908808551577475c1feb2558">PriorityType</a>;
<a name="l00124"></a>00124     
<a name="l00125"></a><a class="code" href="classitk_1_1NumberOfPointsCriterion.html#707981b4099655b0251b60a8d704db92">00125</a>   <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classitk_1_1NumberOfPointsCriterion.html#707981b4099655b0251b60a8d704db92">is_satisfied</a>( <a class="code" href="classitk_1_1NumberOfPointsCriterion.html#565b4235c279f4237572bdcf309b36c5">MeshType</a>* iMesh, 
<a name="l00126"></a>00126     <span class="keyword">const</span> <a class="code" href="classitk_1_1NumberOfPointsCriterion.html#d84b9f164ebd0c64e5e4599e69ad3594">ElementType</a>&amp; <a class="code" href="itkMacro_8h.html#6be3b439282da7a34278c0594589b972">itkNotUsed</a>( iElement ),
<a name="l00127"></a>00127     <span class="keyword">const</span> <a class="code" href="classitk_1_1NumberOfPointsCriterion.html#55757cc6b42f9016af52bea2d77856de">MeasureType</a> &amp; <a class="code" href="itkMacro_8h.html#6be3b439282da7a34278c0594589b972">itkNotUsed</a>( iValue ) )<span class="keyword"> const</span>
<a name="l00128"></a>00128 <span class="keyword">    </span>{
<a name="l00129"></a>00129     <span class="keywordflow">return</span> ( iMesh-&gt;GetNumberOfPoints() &lt;= this-&gt;<a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#d58dbd6fe5bbecc2f505f766c5535f12">m_NumberOfElements</a> );
<a name="l00130"></a>00130     }
<a name="l00131"></a>00131 
<a name="l00132"></a>00132 <span class="keyword">protected</span>:
<a name="l00133"></a><a class="code" href="classitk_1_1NumberOfPointsCriterion.html#1335d17e0f62f88f17a13432111926e8">00133</a>   <a class="code" href="classitk_1_1NumberOfPointsCriterion.html#1335d17e0f62f88f17a13432111926e8">NumberOfPointsCriterion</a>( ) {}
<a name="l00134"></a><a class="code" href="classitk_1_1NumberOfPointsCriterion.html#c347c9f56e84c39886363572a581adae">00134</a>   <a class="code" href="classitk_1_1NumberOfPointsCriterion.html#c347c9f56e84c39886363572a581adae">~NumberOfPointsCriterion</a>() {}
<a name="l00135"></a>00135 
<a name="l00136"></a>00136 <span class="keyword">private</span>:
<a name="l00137"></a>00137   <a class="code" href="classitk_1_1NumberOfPointsCriterion.html#1335d17e0f62f88f17a13432111926e8">NumberOfPointsCriterion</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1NumberOfPointsCriterion.html#de9ea378af5adebe3b3684acb873cea2">Self</a>&amp; );
<a name="l00138"></a>00138   <span class="keywordtype">void</span> operator = ( <span class="keyword">const</span> <a class="code" href="classitk_1_1NumberOfPointsCriterion.html#de9ea378af5adebe3b3684acb873cea2">Self</a>&amp; );
<a name="l00139"></a>00139 };
<a name="l00140"></a>00140 
<a name="l00145"></a>00145 <span class="keyword">template</span>&lt; <span class="keyword">class </span>TMesh,
<a name="l00146"></a>00146   <span class="keyword">typename</span> TElement = <span class="keywordtype">unsigned</span> long,
<a name="l00147"></a>00147   <span class="keyword">typename</span> TMeasure = double,
<a name="l00148"></a>00148   <span class="keyword">class </span>TPriorityQueueWrapper = 
<a name="l00149"></a>00149     MinPriorityQueueElementWrapper&lt; <a class="code" href="itkWin32Header_8h.html#140a5da12f0043ba181c7ae0109c31bf">ITK_TYPENAME</a> TMesh::QEType*, 
<a name="l00150"></a>00150       std::pair&lt; bool, TMeasure &gt; &gt; &gt;
<a name="l00151"></a><a class="code" href="classitk_1_1NumberOfFacesCriterion.html">00151</a> <span class="keyword">class </span><a class="code" href="classitk_1_1NumberOfFacesCriterion.html">NumberOfFacesCriterion</a> :
<a name="l00152"></a>00152 <span class="keyword">public</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">QuadEdgeMeshDecimationCriterion</a>&lt; TMesh, TElement,
<a name="l00153"></a>00153   TMeasure, TPriorityQueueWrapper &gt;
<a name="l00154"></a>00154 {
<a name="l00155"></a>00155 <span class="keyword">public</span>:
<a name="l00156"></a><a class="code" href="classitk_1_1NumberOfFacesCriterion.html#b36e785b8b2add0919ffd63726dabd86">00156</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1NumberOfFacesCriterion.html">NumberOfFacesCriterion</a>                      <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>;
<a name="l00157"></a><a class="code" href="classitk_1_1NumberOfFacesCriterion.html#8180c6e4ca6307d083e3d1e4b1017e51">00157</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="l00158"></a><a class="code" href="classitk_1_1NumberOfFacesCriterion.html#1086d5b84b2e42570e0d51daf9c9b1ad">00158</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="l00159"></a>00159   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">QuadEdgeMeshDecimationCriterion</a>&lt; TMesh, TElement,
<a name="l00160"></a><a class="code" href="classitk_1_1NumberOfFacesCriterion.html#e03a0897dd9663f8068f13c782113421">00160</a>     TMeasure, TPriorityQueueWrapper &gt;                 <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Superclass</a>;
<a name="l00161"></a>00161 
<a name="l00163"></a>00163   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>( <a class="code" href="classitk_1_1NumberOfFacesCriterion.html">NumberOfFacesCriterion</a>, <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">QuadEdgeMeshDecimationCriterion</a> );
<a name="l00164"></a>00164 
<a name="l00166"></a><a class="code" href="classitk_1_1NumberOfFacesCriterion.html#4ce5fa42f49bd8684c847c6358d25849">00166</a>   <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>( <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a> );
<a name="l00167"></a>00167 
<a name="l00168"></a>00168   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#66d856dc3848310afb0b60648b90a430">Superclass::MeshType</a>                     <a class="code" href="classitk_1_1NumberOfFacesCriterion.html#4ce5fa42f49bd8684c847c6358d25849">MeshType</a>;
<a name="l00169"></a><a class="code" href="classitk_1_1NumberOfFacesCriterion.html#06f289da6cc205148621f7700d856350">00169</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> MeshType::CellsContainerConstIterator    <a class="code" href="classitk_1_1NumberOfFacesCriterion.html#06f289da6cc205148621f7700d856350">CellsContainerConstIterator</a>;
<a name="l00170"></a><a class="code" href="classitk_1_1NumberOfFacesCriterion.html#db7885c4aca899b6e8c7e2f13a90bc86">00170</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#455e263a07c54fcf3f846ae6ff11f849">Superclass::ElementType</a>                  <a class="code" href="classitk_1_1NumberOfFacesCriterion.html#db7885c4aca899b6e8c7e2f13a90bc86">ElementType</a>;
<a name="l00171"></a><a class="code" href="classitk_1_1NumberOfFacesCriterion.html#36f65c38f4cd31f67d049a9f547bedd1">00171</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#29b56501ba49a6565f5ebbe0e65a2101">Superclass::MeasureType</a>                  <a class="code" href="classitk_1_1NumberOfFacesCriterion.html#36f65c38f4cd31f67d049a9f547bedd1">MeasureType</a>;
<a name="l00172"></a><a class="code" href="classitk_1_1NumberOfFacesCriterion.html#0bf1c3e98b0f4111e46c08f6a9df5ba7">00172</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#0569d203ab6849957ac9027513c7ed54">Superclass::PriorityQueueWrapperType</a>     <a class="code" href="classitk_1_1NumberOfFacesCriterion.html#0bf1c3e98b0f4111e46c08f6a9df5ba7">PriorityQueueWrapperType</a>;
<a name="l00173"></a><a class="code" href="classitk_1_1NumberOfFacesCriterion.html#86a690814f0c486207b9dba83e60921b">00173</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#12525c234ea64f3fe50937651c74bf5d">Superclass::PriorityType</a>                 <a class="code" href="classitk_1_1NumberOfFacesCriterion.html#86a690814f0c486207b9dba83e60921b">PriorityType</a>;
<a name="l00174"></a>00174 
<a name="l00175"></a><a class="code" href="classitk_1_1NumberOfFacesCriterion.html#f6787eac1a645730789b3c4570e7e786">00175</a>   <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classitk_1_1NumberOfFacesCriterion.html#f6787eac1a645730789b3c4570e7e786">is_satisfied</a>( <a class="code" href="classitk_1_1NumberOfFacesCriterion.html#4ce5fa42f49bd8684c847c6358d25849">MeshType</a>* iMesh,
<a name="l00176"></a>00176     <span class="keyword">const</span> <a class="code" href="classitk_1_1NumberOfFacesCriterion.html#db7885c4aca899b6e8c7e2f13a90bc86">ElementType</a>&amp; <a class="code" href="itkMacro_8h.html#6be3b439282da7a34278c0594589b972">itkNotUsed</a>( iElement ),
<a name="l00177"></a>00177     <span class="keyword">const</span> <a class="code" href="classitk_1_1NumberOfFacesCriterion.html#36f65c38f4cd31f67d049a9f547bedd1">MeasureType</a>&amp; <a class="code" href="itkMacro_8h.html#6be3b439282da7a34278c0594589b972">itkNotUsed</a>( iValue ) )<span class="keyword"> const</span>
<a name="l00178"></a>00178 <span class="keyword">    </span>{
<a name="l00179"></a>00179     <span class="keywordflow">return</span> ( iMesh-&gt;GetNumberOfFaces() &lt;= this-&gt;<a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#d58dbd6fe5bbecc2f505f766c5535f12">m_NumberOfElements</a> );
<a name="l00180"></a>00180     }
<a name="l00181"></a>00181 
<a name="l00182"></a>00182 <span class="keyword">protected</span>:
<a name="l00183"></a><a class="code" href="classitk_1_1NumberOfFacesCriterion.html#9861be135751a9d309c2fbedbfed084b">00183</a>   <a class="code" href="classitk_1_1NumberOfFacesCriterion.html#9861be135751a9d309c2fbedbfed084b">NumberOfFacesCriterion</a>( ) {}
<a name="l00184"></a><a class="code" href="classitk_1_1NumberOfFacesCriterion.html#81b50f850d67c211b88aa197ed26a426">00184</a>   <a class="code" href="classitk_1_1NumberOfFacesCriterion.html#81b50f850d67c211b88aa197ed26a426">~NumberOfFacesCriterion</a>() {}
<a name="l00185"></a>00185 
<a name="l00186"></a>00186 <span class="keyword">private</span>:
<a name="l00187"></a>00187   <a class="code" href="classitk_1_1NumberOfFacesCriterion.html#9861be135751a9d309c2fbedbfed084b">NumberOfFacesCriterion</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1NumberOfFacesCriterion.html#b36e785b8b2add0919ffd63726dabd86">Self</a>&amp; );
<a name="l00188"></a>00188   <span class="keywordtype">void</span> operator = ( <span class="keyword">const</span> <a class="code" href="classitk_1_1NumberOfFacesCriterion.html#b36e785b8b2add0919ffd63726dabd86">Self</a>&amp; );
<a name="l00189"></a>00189 };
<a name="l00190"></a>00190 
<a name="l00195"></a>00195 <span class="keyword">template</span>&lt; <span class="keyword">class </span>TMesh,
<a name="l00196"></a>00196   <span class="keyword">typename</span> TElement = <span class="keywordtype">unsigned</span> long,
<a name="l00197"></a>00197   <span class="keyword">typename</span> TMeasure = double,
<a name="l00198"></a>00198   <span class="keyword">class </span>TPriorityQueueWrapper = 
<a name="l00199"></a>00199     MinPriorityQueueElementWrapper&lt; <span class="keyword">typename</span> TMesh::QEType*, 
<a name="l00200"></a>00200       std::pair&lt; bool, TMeasure &gt; &gt; &gt;
<a name="l00201"></a><a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html">00201</a> <span class="keyword">class </span><a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html">MaxMeasureBoundCriterion</a> :
<a name="l00202"></a>00202 <span class="keyword">public</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">QuadEdgeMeshDecimationCriterion</a>&lt; TMesh, TElement,
<a name="l00203"></a>00203   TMeasure, TPriorityQueueWrapper &gt;
<a name="l00204"></a>00204 {
<a name="l00205"></a>00205 <span class="keyword">public</span>:
<a name="l00206"></a><a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#771f38cf665216c1770eafe1f1683f5d">00206</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html">MaxMeasureBoundCriterion</a>                           <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>;
<a name="l00207"></a><a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#b602e00f53dceea2096dc956a5ece5fc">00207</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="l00208"></a><a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#4436c874783658fa113166a80123e3c2">00208</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="l00209"></a>00209   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">QuadEdgeMeshDecimationCriterion</a>&lt; TMesh, TElement,
<a name="l00210"></a><a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#6441b9233cebe66a787eed624dd0798e">00210</a>     TMeasure, TPriorityQueueWrapper &gt;                        <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Superclass</a>;
<a name="l00211"></a>00211 
<a name="l00213"></a>00213   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>( <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html">MaxMeasureBoundCriterion</a>, <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">QuadEdgeMeshDecimationCriterion</a> );
<a name="l00214"></a>00214 
<a name="l00216"></a><a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#f1a4919d916eecc4da3c4e5efcbf29d1">00216</a>   <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>( <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a> );
<a name="l00217"></a>00217 
<a name="l00218"></a>00218   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#66d856dc3848310afb0b60648b90a430">Superclass::MeshType</a>                      <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#f1a4919d916eecc4da3c4e5efcbf29d1">MeshType</a>;
<a name="l00219"></a><a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#300d4c3dcf929c31ed6e36ad651b640d">00219</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> MeshType::CellsContainerConstIterator     <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#300d4c3dcf929c31ed6e36ad651b640d">CellsContainerConstIterator</a>;
<a name="l00220"></a><a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#c677ba4da670a4c2a0e7d43afb8ca4e2">00220</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#455e263a07c54fcf3f846ae6ff11f849">Superclass::ElementType</a>                   <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#c677ba4da670a4c2a0e7d43afb8ca4e2">ElementType</a>;
<a name="l00221"></a><a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#f4435f03f66199d2a3a8bb6c02063e9d">00221</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#29b56501ba49a6565f5ebbe0e65a2101">Superclass::MeasureType</a>                   <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#f4435f03f66199d2a3a8bb6c02063e9d">MeasureType</a>;
<a name="l00222"></a><a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#cfc94933423d443f8a7ae21bd17dcd77">00222</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#0569d203ab6849957ac9027513c7ed54">Superclass::PriorityQueueWrapperType</a>      <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#cfc94933423d443f8a7ae21bd17dcd77">PriorityQueueWrapperType</a>;
<a name="l00223"></a><a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#9418be915c65d771b3a91355e78a32be">00223</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#12525c234ea64f3fe50937651c74bf5d">Superclass::PriorityType</a>                  <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#9418be915c65d771b3a91355e78a32be">PriorityType</a>;
<a name="l00224"></a>00224 
<a name="l00225"></a><a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#e830c9668b9b348a62f22950c2b95508">00225</a>   <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#e830c9668b9b348a62f22950c2b95508">is_satisfied</a>( <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#f1a4919d916eecc4da3c4e5efcbf29d1">MeshType</a> * <a class="code" href="itkMacro_8h.html#6be3b439282da7a34278c0594589b972">itkNotUsed</a>( iMesh ),
<a name="l00226"></a>00226     <span class="keyword">const</span> <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#c677ba4da670a4c2a0e7d43afb8ca4e2">ElementType</a>&amp; <a class="code" href="itkMacro_8h.html#6be3b439282da7a34278c0594589b972">itkNotUsed</a>( iElement ),
<a name="l00227"></a>00227     <span class="keyword">const</span> <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#f4435f03f66199d2a3a8bb6c02063e9d">MeasureType</a>&amp; iValue )<span class="keyword"> const</span>
<a name="l00228"></a>00228 <span class="keyword">    </span>{
<a name="l00229"></a>00229     <span class="keywordflow">return</span> ( iValue &lt;= this-&gt;<a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#b63608f071b347161cc1bc217a7c7ca9">m_MeasureBound</a> );
<a name="l00230"></a>00230     }
<a name="l00231"></a>00231 
<a name="l00232"></a>00232 <span class="keyword">protected</span>:
<a name="l00233"></a><a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#21c24fcd3d725ac32951f50d45ccbdc5">00233</a>   <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#21c24fcd3d725ac32951f50d45ccbdc5">MaxMeasureBoundCriterion</a>( ) : <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Superclass</a>( ) {}
<a name="l00234"></a><a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#4ae59f90afcff1aa2868569edff46ef3">00234</a>   <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#4ae59f90afcff1aa2868569edff46ef3">~MaxMeasureBoundCriterion</a>() {}
<a name="l00235"></a>00235 
<a name="l00236"></a>00236 <span class="keyword">private</span>:
<a name="l00237"></a>00237   <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#21c24fcd3d725ac32951f50d45ccbdc5">MaxMeasureBoundCriterion</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#771f38cf665216c1770eafe1f1683f5d">Self</a>&amp; );
<a name="l00238"></a>00238   <span class="keywordtype">void</span> operator = ( <span class="keyword">const</span> <a class="code" href="classitk_1_1MaxMeasureBoundCriterion.html#771f38cf665216c1770eafe1f1683f5d">Self</a>&amp; );
<a name="l00239"></a>00239 };
<a name="l00240"></a>00240 
<a name="l00245"></a>00245 <span class="keyword">template</span>&lt; <span class="keyword">class </span>TMesh,
<a name="l00246"></a>00246   <span class="keyword">typename</span> TElement = <span class="keywordtype">unsigned</span> long,
<a name="l00247"></a>00247   <span class="keyword">typename</span> TMeasure = double,
<a name="l00248"></a>00248   <span class="keyword">class </span>TPriorityQueueWrapper = 
<a name="l00249"></a>00249     MaxPriorityQueueElementWrapper&lt; <span class="keyword">typename</span> TMesh::QEType*,
<a name="l00250"></a>00250       std::pair&lt; bool, TMeasure &gt; &gt; &gt;
<a name="l00251"></a><a class="code" href="classitk_1_1MinMeasureBoundCriterion.html">00251</a> <span class="keyword">class </span><a class="code" href="classitk_1_1MinMeasureBoundCriterion.html">MinMeasureBoundCriterion</a> :
<a name="l00252"></a>00252 <span class="keyword">public</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">QuadEdgeMeshDecimationCriterion</a>&lt; TMesh, TElement,
<a name="l00253"></a>00253   TMeasure, TPriorityQueueWrapper &gt;
<a name="l00254"></a>00254 {
<a name="l00255"></a>00255 <span class="keyword">public</span>:
<a name="l00256"></a><a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#6fc3e262249944b4d0c22ac40a271967">00256</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html">MinMeasureBoundCriterion</a>                            <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>;
<a name="l00257"></a><a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#79404a2bfb408fae91bd006c7a51350f">00257</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="l00258"></a><a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#1b3e1d0d1f465ba11e6e5d70dc047302">00258</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="l00259"></a>00259   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">QuadEdgeMeshDecimationCriterion</a>&lt; TMesh, TElement,
<a name="l00260"></a><a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#cd6b91b925bee0a3fde7e83e34e01e0a">00260</a>     TMeasure, TPriorityQueueWrapper &gt;                         <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Superclass</a>;
<a name="l00261"></a>00261 
<a name="l00263"></a>00263   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>( <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html">MinMeasureBoundCriterion</a>, <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html">QuadEdgeMeshDecimationCriterion</a> );
<a name="l00264"></a>00264 
<a name="l00266"></a><a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#032847b6bc3479c34c7075ca46f2021b">00266</a>   <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>( <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a> );
<a name="l00267"></a>00267 
<a name="l00268"></a>00268   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#66d856dc3848310afb0b60648b90a430">Superclass::MeshType</a>                       <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#032847b6bc3479c34c7075ca46f2021b">MeshType</a>;
<a name="l00269"></a><a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#647e6cb7ff14ec1f16bf5e953bd7edd0">00269</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> MeshType::CellsContainerConstIterator      <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#647e6cb7ff14ec1f16bf5e953bd7edd0">CellsContainerConstIterator</a>;
<a name="l00270"></a><a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#159e9eabe6cfa3d82c2606a6ed47b6a4">00270</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#455e263a07c54fcf3f846ae6ff11f849">Superclass::ElementType</a>                    <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#159e9eabe6cfa3d82c2606a6ed47b6a4">ElementType</a>;
<a name="l00271"></a><a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#aeb2384211ee1433e905145af01b32ed">00271</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#29b56501ba49a6565f5ebbe0e65a2101">Superclass::MeasureType</a>                    <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#aeb2384211ee1433e905145af01b32ed">MeasureType</a>;
<a name="l00272"></a><a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#d86e9d1835eb8fb2892b1c689587c9a3">00272</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#0569d203ab6849957ac9027513c7ed54">Superclass::PriorityQueueWrapperType</a>       <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#d86e9d1835eb8fb2892b1c689587c9a3">PriorityQueueWrapperType</a>;
<a name="l00273"></a><a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#97d8523436aa432366bcb7236afa3dee">00273</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#12525c234ea64f3fe50937651c74bf5d">Superclass::PriorityType</a>                   <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#97d8523436aa432366bcb7236afa3dee">PriorityType</a>;
<a name="l00274"></a>00274 
<a name="l00275"></a><a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#d98a0231913f3e206898b0fa2e47ac9d">00275</a>   <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#d98a0231913f3e206898b0fa2e47ac9d">is_satisfied</a>( <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#032847b6bc3479c34c7075ca46f2021b">MeshType</a>* iMesh,
<a name="l00276"></a>00276     <span class="keyword">const</span> <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#159e9eabe6cfa3d82c2606a6ed47b6a4">ElementType</a>&amp; iElement,
<a name="l00277"></a>00277     <span class="keyword">const</span> <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#aeb2384211ee1433e905145af01b32ed">MeasureType</a>&amp; iValue )<span class="keyword"> const</span>
<a name="l00278"></a>00278 <span class="keyword">    </span>{
<a name="l00279"></a>00279     <span class="keywordflow">return</span> ( iValue &gt;= this-&gt;<a class="code" href="classitk_1_1QuadEdgeMeshDecimationCriterion.html#b63608f071b347161cc1bc217a7c7ca9">m_MeasureBound</a> );
<a name="l00280"></a>00280     }
<a name="l00281"></a>00281 
<a name="l00282"></a>00282 <span class="keyword">protected</span>:
<a name="l00283"></a><a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#fc496e15a9eae791b7453eef8b80c92e">00283</a>   <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#fc496e15a9eae791b7453eef8b80c92e">MinMeasureBoundCriterion</a>( ) {}
<a name="l00284"></a><a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#20fa2cd22a8ec923431ffba504bad128">00284</a>   <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#20fa2cd22a8ec923431ffba504bad128">~MinMeasureBoundCriterion</a>() {}
<a name="l00285"></a>00285 
<a name="l00286"></a>00286 <span class="keyword">private</span>:
<a name="l00287"></a>00287   <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#fc496e15a9eae791b7453eef8b80c92e">MinMeasureBoundCriterion</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#6fc3e262249944b4d0c22ac40a271967">Self</a>&amp; );
<a name="l00288"></a>00288   <span class="keywordtype">void</span> operator = ( <span class="keyword">const</span> <a class="code" href="classitk_1_1MinMeasureBoundCriterion.html#6fc3e262249944b4d0c22ac40a271967">Self</a>&amp; );
<a name="l00289"></a>00289 };
<a name="l00290"></a>00290 }
<a name="l00291"></a>00291 
<a name="l00292"></a>00292 <span class="preprocessor">#endif</span>
<a name="l00293"></a>00293 <span class="preprocessor"></span>
</pre></div></div>
<hr><address><small>
Generated at Thu May 7 23:54:37 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>