<!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: itkContourSpatialObject.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_084028962346eb941dab2e2ab3977cb8.html">SpatialObject</a> </div> <div class="contents"> <h1>itkContourSpatialObject.h</h1><a href="itkContourSpatialObject_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: itkContourSpatialObject.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-01-28 20:10:27 $</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 __itkContourSpatialObject_h</span> <a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define __itkContourSpatialObject_h</span> <a name="l00020"></a>00020 <span class="preprocessor"></span> <a name="l00021"></a>00021 <span class="preprocessor">#include <list></span> <a name="l00022"></a>00022 <a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="itkPointBasedSpatialObject_8h.html">itkPointBasedSpatialObject.h</a>"</span> <a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="itkSpatialObjectPoint_8h.html">itkSpatialObjectPoint.h</a>"</span> <a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="itkContourSpatialObjectPoint_8h.html">itkContourSpatialObjectPoint.h</a>"</span> <a name="l00026"></a>00026 <a name="l00027"></a>00027 <span class="keyword">namespace </span>itk <a name="l00028"></a>00028 { <a name="l00029"></a>00029 <a name="l00039"></a>00039 <span class="keyword">template</span> < <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> TDimension = 3 > <a name="l00040"></a><a class="code" href="classitk_1_1ContourSpatialObject.html">00040</a> <span class="keyword">class </span><a class="code" href="classitk_1_1ContourSpatialObject.html" title="Representation of a Contour based on the spatial object classes.">ContourSpatialObject</a> <a name="l00041"></a>00041 :<span class="keyword">public</span> <a class="code" href="classitk_1_1PointBasedSpatialObject.html" title="This class serves as the base class for point-based spatial objects.">PointBasedSpatialObject</a>< TDimension > <a name="l00042"></a>00042 { <a name="l00043"></a>00043 <a name="l00044"></a>00044 <span class="keyword">public</span>: <a name="l00045"></a>00045 <a name="l00046"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#c4e1b55d537f72248f04471bbf14bc33">00046</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ContourSpatialObject.html" title="Representation of a Contour based on the spatial object classes.">ContourSpatialObject</a> <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">Self</a>; <a name="l00047"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#3c47415276645024d1492fe950180bb0">00047</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1PointBasedSpatialObject.html" title="This class serves as the base class for point-based spatial objects.">PointBasedSpatialObject< TDimension></a> <a class="code" href="classitk_1_1Object.html" title="Base class for most itk classes.">Superclass</a>; <a name="l00048"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#c634d4f38d5522d26c1bc7200c609765">00048</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="l00049"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#45e2a34e1cbdf5193cd4ff154f9db66e">00049</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="l00050"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#86bb5d3d6af216e87644b58aba66bf50">00050</a> <span class="keyword">typedef</span> <span class="keywordtype">double</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#86bb5d3d6af216e87644b58aba66bf50">ScalarType</a>; <a name="l00051"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#bb72dd6aa19795e64c4919b42aaaa020">00051</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ContourSpatialObjectPoint.html" title="Point used for a Contour definition.">ContourSpatialObjectPoint< TDimension ></a> <a class="code" href="classitk_1_1ContourSpatialObjectPoint.html" title="Point used for a Contour definition.">ControlPointType</a>; <a name="l00052"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#afe277a5b6095707abad705616d2e1b4">00052</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SpatialObjectPoint.html" title="Point used for spatial objets.">SpatialObjectPoint< TDimension ></a> <a class="code" href="classitk_1_1SpatialObjectPoint.html" title="Point used for spatial objets.">InterpolatedPointType</a>; <a name="l00053"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#5047b21446c5c68dd678fa8628e40084">00053</a> <span class="keyword">typedef</span> std::vector < ControlPointType > <a class="code" href="classitk_1_1ContourSpatialObject.html#5047b21446c5c68dd678fa8628e40084">ControlPointListType</a>; <a name="l00054"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#4650d5ed72c2d85d061d913397eb1d1d">00054</a> <span class="keyword">typedef</span> std::vector < InterpolatedPointType > <a class="code" href="classitk_1_1ContourSpatialObject.html#4650d5ed72c2d85d061d913397eb1d1d">InterpolatedPointListType</a>; <a name="l00055"></a>00055 <a name="l00056"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#a29fa11a9c00c2db48e8eba1f506f2ce">00056</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1PointBasedSpatialObject.html#731a11f3bc155729f0ae4d4a7aebf759">Superclass::SpatialObjectPointType</a> <a class="code" href="classitk_1_1ContourSpatialObject.html#a29fa11a9c00c2db48e8eba1f506f2ce">SpatialObjectPointType</a>; <a name="l00057"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#96f7836cfca95d40af52714d1efa3f50">00057</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1PointBasedSpatialObject.html#407884a9854f8b15a8ca6c596819d7b5">Superclass::PointType</a> <a class="code" href="classitk_1_1ContourSpatialObject.html#96f7836cfca95d40af52714d1efa3f50">PointType</a>; <a name="l00058"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#5bfc6ce3111c134478c2b0c2cf2168ca">00058</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1PointBasedSpatialObject.html#7ebeb5c1b0c3dbe02d7fe5def45b3525">Superclass::TransformType</a> <a class="code" href="classitk_1_1ContourSpatialObject.html#5bfc6ce3111c134478c2b0c2cf2168ca">TransformType</a>; <a name="l00059"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#6cee2423e2954105a7543babaff57b1a">00059</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SpatialObject.html#39a8ba32fc52d6f796bc2d086a0e2fc6">Superclass::BoundingBoxType</a> <a class="code" href="classitk_1_1ContourSpatialObject.html#6cee2423e2954105a7543babaff57b1a">BoundingBoxType</a>; <a name="l00060"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#ed19eac01448391a22c4eaa7074a7896">00060</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1VectorContainer.html">VectorContainer<unsigned long,PointType></a> <a class="code" href="classitk_1_1VectorContainer.html">PointContainerType</a>; <a name="l00061"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#08a2a4e578f9698a861cccf5bc9d163d">00061</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html" title="Implements transparent reference counting.">SmartPointer<PointContainerType></a> <a class="code" href="classitk_1_1SmartPointer.html" title="Implements transparent reference counting.">PointContainerPointer</a>; <a name="l00062"></a>00062 <a name="l00064"></a>00064 <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="l00065"></a>00065 <a name="l00067"></a>00067 <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>( <a class="code" href="classitk_1_1ContourSpatialObject.html" title="Representation of a Contour based on the spatial object classes.">ContourSpatialObject</a>, <a class="code" href="classitk_1_1PointBasedSpatialObject.html" title="This class serves as the base class for point-based spatial objects.">PointBasedSpatialObject</a> ); <a name="l00068"></a>00068 <a name="l00070"></a>00070 <a class="code" href="classitk_1_1ContourSpatialObject.html#5047b21446c5c68dd678fa8628e40084">ControlPointListType</a> & <a class="code" href="classitk_1_1ContourSpatialObject.html#4c6333ada219e2457fb5b6f7434f40d2">GetControlPoints</a>( <span class="keywordtype">void</span> ); <a name="l00071"></a>00071 <a name="l00073"></a>00073 <span class="keyword">const</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#5047b21446c5c68dd678fa8628e40084">ControlPointListType</a> & <a class="code" href="classitk_1_1ContourSpatialObject.html#4c6333ada219e2457fb5b6f7434f40d2">GetControlPoints</a>( <span class="keywordtype">void</span> ) <span class="keyword">const</span>; <a name="l00074"></a>00074 <a name="l00076"></a>00076 <span class="keywordtype">void</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#9e349c9590974de291b63fd748441382">SetControlPoints</a>( <a class="code" href="classitk_1_1ContourSpatialObject.html#5047b21446c5c68dd678fa8628e40084">ControlPointListType</a> & newPoints ); <a name="l00077"></a>00077 <a name="l00079"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#22e326a7f011b8456a9c1d0af4b55107">00079</a> <span class="keyword">const</span> <a class="code" href="classitk_1_1ContourSpatialObjectPoint.html" title="Point used for a Contour definition.">ControlPointType</a>* <a class="code" href="classitk_1_1ContourSpatialObject.html#22e326a7f011b8456a9c1d0af4b55107">GetControlPoint</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">id</span>)<span class="keyword"> const </span> <a name="l00080"></a>00080 <span class="keyword"> </span>{<span class="keywordflow">return</span> &(<a class="code" href="classitk_1_1ContourSpatialObject.html#5f295b345f0efd3114ce9439889591fe">m_ControlPoints</a>[id]);} <a name="l00081"></a>00081 <a name="l00083"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#0c56a7029f8863844e65c055b18480b9">00083</a> <a class="code" href="classitk_1_1ContourSpatialObjectPoint.html" title="Point used for a Contour definition.">ControlPointType</a>* <a class="code" href="classitk_1_1ContourSpatialObject.html#22e326a7f011b8456a9c1d0af4b55107">GetControlPoint</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">id</span>) <a name="l00084"></a>00084 {<span class="keywordflow">return</span> &(<a class="code" href="classitk_1_1ContourSpatialObject.html#5f295b345f0efd3114ce9439889591fe">m_ControlPoints</a>[id]);} <a name="l00085"></a>00085 <a name="l00087"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#72f0546540c06a00845600b14af23dbe">00087</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#72f0546540c06a00845600b14af23dbe">GetNumberOfControlPoints</a>(<span class="keywordtype">void</span>)<span class="keyword"> const </span> <a name="l00088"></a>00088 <span class="keyword"> </span>{<span class="keywordflow">return</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#5f295b345f0efd3114ce9439889591fe">m_ControlPoints</a>.size();} <a name="l00089"></a>00089 <a name="l00091"></a>00091 <a class="code" href="classitk_1_1ContourSpatialObject.html#4650d5ed72c2d85d061d913397eb1d1d">InterpolatedPointListType</a> & <a class="code" href="classitk_1_1ContourSpatialObject.html#ebdbbce31bcdfe29c7f07223af2f492f">GetInterpolatedPoints</a>( <span class="keywordtype">void</span> ); <a name="l00092"></a>00092 <a name="l00094"></a>00094 <span class="keyword">const</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#4650d5ed72c2d85d061d913397eb1d1d">InterpolatedPointListType</a> & <a class="code" href="classitk_1_1ContourSpatialObject.html#ebdbbce31bcdfe29c7f07223af2f492f">GetInterpolatedPoints</a>( <span class="keywordtype">void</span> ) <span class="keyword">const</span>; <a name="l00095"></a>00095 <a name="l00097"></a>00097 <span class="keywordtype">void</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#dfcf3b7601c286f898648f5ccbbf7208">SetInterpolatedPoints</a>( <a class="code" href="classitk_1_1ContourSpatialObject.html#4650d5ed72c2d85d061d913397eb1d1d">InterpolatedPointListType</a> & newPoints ); <a name="l00098"></a>00098 <a name="l00100"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#405547334a5fc16d3cdc7dc4d24dfb1a">00100</a> <span class="keyword">const</span> <a class="code" href="classitk_1_1SpatialObjectPoint.html" title="Point used for spatial objets.">InterpolatedPointType</a>* <a class="code" href="classitk_1_1ContourSpatialObject.html#405547334a5fc16d3cdc7dc4d24dfb1a">GetInterpolatedPoint</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">id</span>)<span class="keyword"> const </span> <a name="l00101"></a>00101 <span class="keyword"> </span>{<span class="keywordflow">return</span> &(<a class="code" href="classitk_1_1ContourSpatialObject.html#9f18a32e86d8448a9645c98860c5371c">m_InterpolatedPoints</a>[id]);} <a name="l00102"></a>00102 <a name="l00104"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#1b0e17164b4ee910721b5017da448153">00104</a> <a class="code" href="classitk_1_1SpatialObjectPoint.html" title="Point used for spatial objets.">InterpolatedPointType</a>* <a class="code" href="classitk_1_1ContourSpatialObject.html#405547334a5fc16d3cdc7dc4d24dfb1a">GetInterpolatedPoint</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">id</span>) <a name="l00105"></a>00105 {<span class="keywordflow">return</span> &(<a class="code" href="classitk_1_1ContourSpatialObject.html#9f18a32e86d8448a9645c98860c5371c">m_InterpolatedPoints</a>[id]);} <a name="l00106"></a>00106 <a name="l00108"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#10db3f9d7dd77f9e6fee1e6b080ef094">00108</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#10db3f9d7dd77f9e6fee1e6b080ef094">GetNumberOfInterpolatedPoints</a>(<span class="keywordtype">void</span>)<span class="keyword"> const </span> <a name="l00109"></a>00109 <span class="keyword"> </span>{<span class="keywordflow">return</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#9f18a32e86d8448a9645c98860c5371c">m_InterpolatedPoints</a>.size();} <a name="l00110"></a>00110 <a name="l00111"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#1e30ca52f3583a1d7190d4553d9911ed4a4d0a6c3d5810b494b3b84037a38f1f">00111</a> <span class="keyword">enum</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#1e30ca52f3583a1d7190d4553d9911ed">InterpolationType</a> {<a class="code" href="classitk_1_1ContourSpatialObject.html#1e30ca52f3583a1d7190d4553d9911ed4a4d0a6c3d5810b494b3b84037a38f1f">NO_INTERPOLATION</a>=0, <a name="l00112"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#1e30ca52f3583a1d7190d4553d9911eda365cac32f72089a3eb5c50c5ffb3e22">00112</a> <a class="code" href="classitk_1_1ContourSpatialObject.html#1e30ca52f3583a1d7190d4553d9911eda365cac32f72089a3eb5c50c5ffb3e22">EXPLICIT_INTERPOLATION</a>, <a class="code" href="classitk_1_1ContourSpatialObject.html#1e30ca52f3583a1d7190d4553d9911ed18d110c5e2542691b3d708580c2ccf1a">BEZIER_INTERPOLATION</a>, <a name="l00113"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#1e30ca52f3583a1d7190d4553d9911ed12d55d6bc9afaedd40d8ea5cab0c544a">00113</a> <a class="code" href="classitk_1_1ContourSpatialObject.html#1e30ca52f3583a1d7190d4553d9911ed12d55d6bc9afaedd40d8ea5cab0c544a">LINEAR_INTERPOLATION</a> <a name="l00114"></a>00114 }; <a name="l00115"></a>00115 <a name="l00117"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#ecb6f551f7283725b2adb35c2451be99">00117</a> <a class="code" href="classitk_1_1ContourSpatialObject.html#1e30ca52f3583a1d7190d4553d9911ed">InterpolationType</a> <a class="code" href="classitk_1_1ContourSpatialObject.html#ecb6f551f7283725b2adb35c2451be99">GetInterpolationType</a>()<span class="keyword"> const</span> <a name="l00118"></a>00118 <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#002c0b257048174aa5c4e2e1e30b56ba">m_InterpolationType</a>; } <a name="l00119"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#0774f59a324b783cc1caba90f829971b">00119</a> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#0774f59a324b783cc1caba90f829971b">SetInterpolationType</a>(<a class="code" href="classitk_1_1ContourSpatialObject.html#1e30ca52f3583a1d7190d4553d9911ed">InterpolationType</a> interpolation) <a name="l00120"></a>00120 {<a class="code" href="classitk_1_1ContourSpatialObject.html#002c0b257048174aa5c4e2e1e30b56ba">m_InterpolationType</a> = interpolation;} <a name="l00122"></a>00122 <a name="l00124"></a>00124 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(Closed,<span class="keywordtype">bool</span>); <a name="l00125"></a>00125 <a class="code" href="itkMacro_8h.html#89294335d94b115d40e2603f2fff7950">itkGetConstMacro</a>(Closed,<span class="keywordtype">bool</span>); <a name="l00127"></a>00127 <a name="l00129"></a>00129 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(DisplayOrientation,<span class="keywordtype">int</span>); <a name="l00130"></a>00130 <a class="code" href="itkMacro_8h.html#89294335d94b115d40e2603f2fff7950">itkGetConstMacro</a>(DisplayOrientation,<span class="keywordtype">int</span>); <a name="l00132"></a>00132 <a name="l00135"></a>00135 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(AttachedToSlice,<span class="keywordtype">int</span>); <a name="l00136"></a>00136 <a class="code" href="itkMacro_8h.html#89294335d94b115d40e2603f2fff7950">itkGetConstMacro</a>(AttachedToSlice,<span class="keywordtype">int</span>); <a name="l00138"></a>00138 <a name="l00141"></a>00141 <span class="keywordtype">bool</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#a12cd5e372ddb88822b9914400dd2072">IsEvaluableAt</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#96f7836cfca95d40af52714d1efa3f50">PointType</a> & point, <a name="l00142"></a>00142 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> depth=0, <span class="keywordtype">char</span> *name = <a class="code" href="itkVoronoiDiagram2D_8h.html#070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a> ) <span class="keyword">const</span>; <a name="l00143"></a>00143 <a name="l00148"></a>00148 <span class="keywordtype">bool</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#f46f777c2985d5baae6fc473b5e22d74">ValueAt</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#96f7836cfca95d40af52714d1efa3f50">PointType</a> & point, <span class="keywordtype">double</span> & value, <a name="l00149"></a>00149 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> depth=0, <span class="keywordtype">char</span> *name = <a class="code" href="itkVoronoiDiagram2D_8h.html#070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a> ) <span class="keyword">const</span>; <a name="l00150"></a>00150 <a name="l00152"></a>00152 <span class="keywordtype">bool</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#f74cfa5dcfdbcc277662d783f2c8bb7d">IsInside</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#96f7836cfca95d40af52714d1efa3f50">PointType</a> & point, <a name="l00153"></a>00153 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> depth, <span class="keywordtype">char</span> *name) <span class="keyword">const</span>; <a name="l00154"></a>00154 <a name="l00158"></a>00158 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#f74cfa5dcfdbcc277662d783f2c8bb7d">IsInside</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#96f7836cfca95d40af52714d1efa3f50">PointType</a> & point) <span class="keyword">const</span>; <a name="l00159"></a>00159 <a name="l00161"></a>00161 <span class="keywordtype">bool</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#0aa22934e01c2f7bf766a7ca4f00d4ba">ComputeLocalBoundingBox</a>( <span class="keywordtype">void</span> ) <span class="keyword">const</span>; <a name="l00162"></a>00162 <a name="l00163"></a>00163 <span class="keyword">protected</span>: <a name="l00164"></a>00164 <a class="code" href="classitk_1_1ContourSpatialObject.html#5e1dce0c2be30db63de4fcf4d62e18f0">ContourSpatialObject</a>(<span class="keyword">const</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#c4e1b55d537f72248f04471bbf14bc33">Self</a>&); <span class="comment">//purposely not implemented</span> <a name="l00165"></a>00165 <span class="keywordtype">void</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#4949f8f9830f320b02781229f6ee3111">operator=</a>(<span class="keyword">const</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#c4e1b55d537f72248f04471bbf14bc33">Self</a>&); <span class="comment">//purposely not implemented</span> <a name="l00166"></a>00166 <a name="l00167"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#5f295b345f0efd3114ce9439889591fe">00167</a> <a class="code" href="classitk_1_1ContourSpatialObject.html#5047b21446c5c68dd678fa8628e40084">ControlPointListType</a> <a class="code" href="classitk_1_1ContourSpatialObject.html#5f295b345f0efd3114ce9439889591fe">m_ControlPoints</a>; <a name="l00168"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#9f18a32e86d8448a9645c98860c5371c">00168</a> <a class="code" href="classitk_1_1ContourSpatialObject.html#4650d5ed72c2d85d061d913397eb1d1d">InterpolatedPointListType</a> <a class="code" href="classitk_1_1ContourSpatialObject.html#9f18a32e86d8448a9645c98860c5371c">m_InterpolatedPoints</a>; <a name="l00169"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#002c0b257048174aa5c4e2e1e30b56ba">00169</a> <a class="code" href="classitk_1_1ContourSpatialObject.html#1e30ca52f3583a1d7190d4553d9911ed">InterpolationType</a> <a class="code" href="classitk_1_1ContourSpatialObject.html#002c0b257048174aa5c4e2e1e30b56ba">m_InterpolationType</a>; <a name="l00170"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#69353fa4171f4f270a230d0241a0d057">00170</a> <span class="keywordtype">bool</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#69353fa4171f4f270a230d0241a0d057">m_Closed</a>; <a name="l00171"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#c8500ed53b5a61312a89af28d307aaa0">00171</a> <span class="keywordtype">int</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#c8500ed53b5a61312a89af28d307aaa0">m_DisplayOrientation</a>; <a name="l00172"></a><a class="code" href="classitk_1_1ContourSpatialObject.html#4341028ede0a11b7b723d9ca1d11c62b">00172</a> <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#4341028ede0a11b7b723d9ca1d11c62b">m_AttachedToSlice</a>; <a name="l00173"></a>00173 <a name="l00174"></a>00174 <a class="code" href="classitk_1_1ContourSpatialObject.html#5e1dce0c2be30db63de4fcf4d62e18f0">ContourSpatialObject</a>(); <a name="l00175"></a>00175 <span class="keyword">virtual</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#22f3dbfa61a84f3c2e29f4ce49888734">~ContourSpatialObject</a>(); <a name="l00176"></a>00176 <a name="l00178"></a>00178 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1ContourSpatialObject.html#a28d599b7d0d7c6985de740bd0d73f9b">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="l00179"></a>00179 }; <a name="l00180"></a>00180 <a name="l00181"></a>00181 } <span class="comment">// end namespace itk</span> <a name="l00182"></a>00182 <a name="l00183"></a>00183 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION </span> <a name="l00184"></a>00184 <span class="preprocessor"></span><span class="preprocessor">#include "itkContourSpatialObject.txx"</span> <a name="l00185"></a>00185 <span class="preprocessor">#endif </span> <a name="l00186"></a>00186 <span class="preprocessor"></span> <a name="l00187"></a>00187 <span class="preprocessor">#endif // __itkContourSpatialObject_h</span> <a name="l00188"></a>00188 <span class="preprocessor"></span> </pre></div></div> <hr><address><small> Generated at Thu May 7 22:29:41 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>