Sophie

Sophie

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

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: itkTriangleMeshToBinaryImageFilter.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_00ffda33c24cbbf617b202f4f3bcb7e8.html">BasicFilters</a>
  </div>
<div class="contents">
<h1>itkTriangleMeshToBinaryImageFilter.h</h1><a href="itkTriangleMeshToBinaryImageFilter_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: itkTriangleMeshToBinaryImageFilter.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-10-18 16:11:15 $</span>
<a name="l00007"></a>00007 <span class="comment">  Version:   $Revision: 1.10 $</span>
<a name="l00008"></a>00008 <span class="comment"></span>
<a name="l00009"></a>00009 <span class="comment">  Copyright (c) Insight Software Consortium. All rights reserved.</span>
<a name="l00010"></a>00010 <span class="comment">  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.</span>
<a name="l00011"></a>00011 <span class="comment"></span>
<a name="l00012"></a>00012 <span class="comment">     This software is distributed WITHOUT ANY WARRANTY; without even </span>
<a name="l00013"></a>00013 <span class="comment">     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR </span>
<a name="l00014"></a>00014 <span class="comment">     PURPOSE.  See the above copyright notices for more information.</span>
<a name="l00015"></a>00015 <span class="comment"></span>
<a name="l00016"></a>00016 <span class="comment">=========================================================================*/</span>
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef __itkTriangleMeshToBinaryImageFilter_h</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkTriangleMeshToBinaryImageFilter_h</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="itkImageSource_8h.html">itkImageSource.h</a>"</span>
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;<a class="code" href="itkMesh_8h.html">itkMesh.h</a>&gt;</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;<a class="code" href="itkLineCell_8h.html">itkLineCell.h</a>&gt;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;<a class="code" href="itkPolygonCell_8h.html">itkPolygonCell.h</a>&gt;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;<a class="code" href="itkVertexCell_8h.html">itkVertexCell.h</a>&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;<a class="code" href="itkMapContainer_8h.html">itkMapContainer.h</a>&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;<a class="code" href="itkVectorContainer_8h.html">itkVectorContainer.h</a>&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;<a class="code" href="itkVector_8h.html">itkVector.h</a>&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;<a class="code" href="itkPoint_8h.html">itkPoint.h</a>&gt;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;<a class="code" href="itkArray_8h.html">itkArray.h</a>&gt;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include "<a class="code" href="itkAutomaticTopologyMeshSource_8h.html">itkAutomaticTopologyMeshSource.h</a>"</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include "<a class="code" href="itkPointSet_8h.html">itkPointSet.h</a>"</span>
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 <span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 <span class="keyword">namespace </span>itk
<a name="l00037"></a>00037 {
<a name="l00038"></a><a class="code" href="classitk_1_1Point1D.html">00038</a> <span class="keyword">class </span><a class="code" href="classitk_1_1Point1D.html">Point1D</a>  
<a name="l00039"></a>00039 {
<a name="l00040"></a>00040 <span class="keyword">public</span>:
<a name="l00041"></a><a class="code" href="classitk_1_1Point1D.html#53659fea4298edff3acf38323cacdbfa">00041</a>   <span class="keywordtype">double</span> <a class="code" href="classitk_1_1Point1D.html#53659fea4298edff3acf38323cacdbfa">m_X</a>;
<a name="l00042"></a><a class="code" href="classitk_1_1Point1D.html#b52a21171106628e60d4df15544892b3">00042</a>   <span class="keywordtype">int</span>    <a class="code" href="classitk_1_1Point1D.html#b52a21171106628e60d4df15544892b3">m_Sign</a>;
<a name="l00043"></a>00043      
<a name="l00044"></a><a class="code" href="classitk_1_1Point1D.html#91dcf1d412bd40623c2feda46a0a6acb">00044</a>   <a class="code" href="classitk_1_1Point1D.html#91dcf1d412bd40623c2feda46a0a6acb">Point1D</a>(){};
<a name="l00045"></a><a class="code" href="classitk_1_1Point1D.html#4bd698908195b781bf8511075db5619a">00045</a>   <a class="code" href="classitk_1_1Point1D.html#91dcf1d412bd40623c2feda46a0a6acb">Point1D</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> p, <span class="keyword">const</span> <span class="keywordtype">int</span> s)
<a name="l00046"></a>00046     {
<a name="l00047"></a>00047     <a class="code" href="classitk_1_1Point1D.html#53659fea4298edff3acf38323cacdbfa">m_X</a> = p;
<a name="l00048"></a>00048     <a class="code" href="classitk_1_1Point1D.html#b52a21171106628e60d4df15544892b3">m_Sign</a> = s;
<a name="l00049"></a>00049     }
<a name="l00050"></a><a class="code" href="classitk_1_1Point1D.html#6580d5729cce6f6933df10e91e03bab4">00050</a>   <a class="code" href="classitk_1_1Point1D.html#91dcf1d412bd40623c2feda46a0a6acb">Point1D</a>(<span class="keyword">const</span> <a class="code" href="classitk_1_1Point1D.html">Point1D</a> &amp;point)
<a name="l00051"></a>00051     {
<a name="l00052"></a>00052     <a class="code" href="classitk_1_1Point1D.html#53659fea4298edff3acf38323cacdbfa">m_X</a> = point.<a class="code" href="classitk_1_1Point1D.html#53659fea4298edff3acf38323cacdbfa">m_X</a>;
<a name="l00053"></a>00053     <a class="code" href="classitk_1_1Point1D.html#b52a21171106628e60d4df15544892b3">m_Sign</a> = point.<a class="code" href="classitk_1_1Point1D.html#b52a21171106628e60d4df15544892b3">m_Sign</a>;
<a name="l00054"></a>00054     }
<a name="l00055"></a><a class="code" href="classitk_1_1Point1D.html#6000281aaaceeb9fb66ad368e0153d2a">00055</a>   <span class="keywordtype">double</span> <a class="code" href="classitk_1_1Point1D.html#6000281aaaceeb9fb66ad368e0153d2a">getX</a>()<span class="keyword"> const</span>
<a name="l00056"></a>00056 <span class="keyword">    </span>{
<a name="l00057"></a>00057     <span class="keywordflow">return</span> <a class="code" href="classitk_1_1Point1D.html#53659fea4298edff3acf38323cacdbfa">m_X</a>;
<a name="l00058"></a>00058     }
<a name="l00059"></a><a class="code" href="classitk_1_1Point1D.html#5be724eea041c4ca0b1e003cba63c2c7">00059</a>   <span class="keywordtype">int</span>  <a class="code" href="classitk_1_1Point1D.html#5be724eea041c4ca0b1e003cba63c2c7">getSign</a>()<span class="keyword"> const</span>
<a name="l00060"></a>00060 <span class="keyword">    </span>{
<a name="l00061"></a>00061     <span class="keywordflow">return</span> <a class="code" href="classitk_1_1Point1D.html#b52a21171106628e60d4df15544892b3">m_Sign</a>;
<a name="l00062"></a>00062     }
<a name="l00063"></a>00063   
<a name="l00064"></a>00064 };
<a name="l00065"></a>00065 
<a name="l00072"></a>00072 <span class="keyword">template</span> &lt;<span class="keyword">class</span> TInputMesh, <span class="keyword">class</span> TOutputImage&gt;
<a name="l00073"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html">00073</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html" title="3D Rasterization algorithm Courtesy of Dr David Gobbi of Atamai Inc.">TriangleMeshToBinaryImageFilter</a> : <span class="keyword">public</span> <a class="code" href="classitk_1_1ImageSource.html" title="Base class for all process objects that output image data.">ImageSource</a>&lt;TOutputImage&gt;
<a name="l00074"></a>00074 {
<a name="l00075"></a>00075 <span class="keyword">public</span>:
<a name="l00077"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#ac2e115475302986e547e82f1f3ba558">00077</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html" title="3D Rasterization algorithm Courtesy of Dr David Gobbi of Atamai Inc.">TriangleMeshToBinaryImageFilter</a>  <a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html" title="3D Rasterization algorithm Courtesy of Dr David Gobbi of Atamai Inc.">Self</a>;
<a name="l00078"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#9698ba4ac900b5cd62aa1c79fd81abf4">00078</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageSource.html">ImageSource&lt;TOutputImage&gt;</a>        <a class="code" href="classitk_1_1ImageSource.html">Superclass</a>;
<a name="l00079"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#1fe972783e6359e3c1dc80563aeab07d">00079</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="l00080"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#05379a1933d142e43f58d9cf630faace">00080</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="l00081"></a>00081 
<a name="l00082"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#fa463fe1d931c862f5748a1f63f29511">00082</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">TOutputImage::IndexType</a>      <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>;
<a name="l00083"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#28b905b1e336f2660b0195ead46c0393">00083</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">TOutputImage::SizeType</a>       <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">SizeType</a>;
<a name="l00084"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#c23536cdfeac1169f8f3d90e5e404a87">00084</a>   <span class="keyword">typedef</span> TOutputImage                          <a class="code" href="namespaceHardConnectedComponentImageFilter.html#386ea018cab3835dcdff2603f4d2280e">OutputImageType</a>;
<a name="l00085"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#b45732f170b2351970d204d092e3e242">00085</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">OutputImageType::Pointer</a>     OutputImagePointer;
<a name="l00086"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#efb27d58a03153dadd5b136fd01d91c3">00086</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> OutputImageType::ValueType   ValueType;
<a name="l00087"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#8f82c7f0443600f0b34cfdd6b519670b">00087</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> OutputImageType::SpacingType SpacingType;
<a name="l00088"></a>00088   
<a name="l00090"></a>00090   <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html" title="3D Rasterization algorithm Courtesy of Dr David Gobbi of Atamai Inc.">Self</a>);
<a name="l00091"></a>00091 
<a name="l00093"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#e844cf403e6981eb4294d83d4bb3c48e">00093</a>   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html" title="3D Rasterization algorithm Courtesy of Dr David Gobbi of Atamai Inc.">TriangleMeshToBinaryImageFilter</a>,<a class="code" href="classitk_1_1ImageSource.html" title="Base class for all process objects that output image data.">ImageSource</a>);
<a name="l00094"></a>00094 
<a name="l00096"></a>00096   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::OutputImageRegionType OutputImageRegionType;
<a name="l00097"></a>00097 
<a name="l00099"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#8e8e9219e939fb6e1dd997422d77603c">00099</a>   <span class="keyword">typedef</span> TInputMesh                                     InputMeshType;
<a name="l00100"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#d328fb1196cac2ab7db7b737182e98fb">00100</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">InputMeshType::Pointer</a>                InputMeshPointer;
<a name="l00101"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#c79460a3e3bf5328a60c6dc9392e81f6">00101</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::PointType              InputPointType;
<a name="l00102"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#13c1b1a13245e1f95581abc4392c966b">00102</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::PixelType              <a class="code" href="namespaceHardConnectedComponentImageFilter.html#6e44b89d73d576fe68c175566a634ab8">InputPixelType</a>;
<a name="l00103"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#f9849e842263336d7f786a6ad94771e7">00103</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::MeshTraits::CellTraits InputCellTraitsType;
<a name="l00104"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#41ef9e86c0b1981e1dfdcb0df29131a5">00104</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::CellType               CellType;
<a name="l00105"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#0b5194944ae6f67f8663bdbbb7a05c07">00105</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::CellsContainerPointer  CellsContainerPointer;
<a name="l00106"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#17e194154f869f622dd99408a42e34c4">00106</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::CellsContainerIterator CellsContainerIterator;
<a name="l00107"></a>00107 
<a name="l00108"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#8883bec7ae7911b0ca54679af5806e8e">00108</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::PointsContainer InputPointsContainer;
<a name="l00109"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#4a4fd0f82069fe6f9d1f09247212cfdf">00109</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">InputPointsContainer::Pointer</a>  InputPointsContainerPointer;
<a name="l00110"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#d3c45cce887b54813507c15681808100">00110</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputPointsContainer::Iterator InputPointsContainerIterator;
<a name="l00111"></a>00111   
<a name="l00112"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#4b954cfd52e297dab880558d92def6bf">00112</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...">itk::PointSet &lt; double , 3 &gt;</a>           <a class="code" href="classitk_1_1PointSet.html" title="A superclass of the N-dimensional mesh structure; supports point (geometric coordinate...">PointSetType</a>;
<a name="l00113"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#55fcb44acef8362fb20bdafef3765db1">00113</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> PointSetType::PointsContainer PointsContainer;
<a name="l00114"></a>00114   
<a name="l00115"></a>00115 
<a name="l00116"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#fb86cbf09abcecec2a5cea8be7b20f09">00116</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Point.html">itk::Point &lt; double, 3&gt;</a> <a class="code" href="classitk_1_1Point.html">PointType</a>;
<a name="l00117"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#6d9d760fd23af2229c42f93f16e5d10e">00117</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Point.html">itk::Point &lt; double, 2&gt;</a> <a class="code" href="classitk_1_1Point.html">Point2DType</a>;
<a name="l00118"></a>00118   
<a name="l00119"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#52bda5ae257a1b49be9816d3f5d38e76">00119</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Array.html">itk::Array&lt;double&gt;</a> <a class="code" href="classitk_1_1Array.html">DoubleArrayType</a>;
<a name="l00120"></a>00120 
<a name="l00121"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#0671bf5d51656fd9c70d298b701f602b">00121</a>   <span class="keyword">typedef</span> std::vector&lt; Point1D &gt;               Point1DVector;
<a name="l00122"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#2102371044456c9ca87803fa918f492e">00122</a>   <span class="keyword">typedef</span> std::vector&lt; std::vector&lt; Point1D&gt; &gt; Point1DArray;
<a name="l00123"></a>00123 
<a name="l00124"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#d19d570ed4e047de21773ad545d41e3c">00124</a>   <span class="keyword">typedef</span> std::vector&lt; Point2DType &gt;                Point2DVector;
<a name="l00125"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#082ee3371d617da65190aeaa9269b76f">00125</a>   <span class="keyword">typedef</span> std::vector&lt; std::vector&lt; Point2DType &gt; &gt; Point2DArray;
<a name="l00126"></a>00126 
<a name="l00127"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#f05c072f5afab079f4a52f36f64101e0">00127</a>   <span class="keyword">typedef</span> std::vector&lt; PointType &gt;                PointVector;
<a name="l00128"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#96f6b4dc97c21e02cdaddfc73694e000">00128</a>   <span class="keyword">typedef</span> std::vector&lt; std::vector&lt; PointType &gt; &gt; PointArray;
<a name="l00129"></a>00129 
<a name="l00130"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#7a8361bbafa00175213685a5ea7275b8">00130</a>   <span class="keyword">typedef</span> std::vector&lt; int &gt; StencilIndexVector;
<a name="l00135"></a>00135   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(Spacing, SpacingType);
<a name="l00136"></a>00136   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetSpacing( <span class="keyword">const</span> <span class="keywordtype">double</span> spacing[3] );
<a name="l00137"></a>00137   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetSpacing( <span class="keyword">const</span> <span class="keywordtype">float</span> spacing[3] );
<a name="l00138"></a>00138   <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>(Spacing, SpacingType);
<a name="l00140"></a>00140 
<a name="l00146"></a>00146   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(InsideValue, ValueType);
<a name="l00147"></a>00147   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(InsideValue, ValueType);
<a name="l00149"></a>00149 
<a name="l00155"></a>00155   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(OutsideValue, ValueType);
<a name="l00156"></a>00156   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(OutsideValue, ValueType);
<a name="l00158"></a>00158 
<a name="l00163"></a>00163   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(Origin, <a class="code" href="classitk_1_1Point.html">PointType</a>);
<a name="l00164"></a>00164   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetOrigin( <span class="keyword">const</span> <span class="keywordtype">double</span> origin[3] );
<a name="l00165"></a>00165   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetOrigin( <span class="keyword">const</span> <span class="keywordtype">float</span> origin[3] );
<a name="l00166"></a>00166   <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>(Origin, <a class="code" href="classitk_1_1Point.html">PointType</a>);
<a name="l00168"></a>00168 
<a name="l00170"></a>00170   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(<a class="code" href="classitk_1_1Index.html" title="Represent a n-dimensional index in a n-dimensional image.">Index</a>,<a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>);
<a name="l00171"></a>00171   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(<a class="code" href="classitk_1_1Index.html" title="Represent a n-dimensional index in a n-dimensional image.">Index</a>,<a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>);
<a name="l00173"></a>00173 
<a name="l00175"></a>00175   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(<a class="code" href="classitk_1_1Size.html" title="Represent the size (bounds) of a n-dimensional image.">Size</a>,<a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">SizeType</a>);
<a name="l00176"></a>00176   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(<a class="code" href="classitk_1_1Size.html" title="Represent the size (bounds) of a n-dimensional image.">Size</a>,<a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">SizeType</a>);
<a name="l00178"></a>00178 
<a name="l00180"></a>00180   <span class="keywordtype">void</span> SetInput(InputMeshType *input);
<a name="l00181"></a>00181 
<a name="l00182"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#7bbac25dcb2a697a7f380fc38beff7ca">00182</a>   <span class="keywordtype">void</span> SetInfoImage(<a class="code" href="namespaceHardConnectedComponentImageFilter.html#386ea018cab3835dcdff2603f4d2280e">OutputImageType</a> *InfoImage)
<a name="l00183"></a>00183     {
<a name="l00184"></a>00184     <span class="keywordflow">if</span> (InfoImage != m_InfoImage)
<a name="l00185"></a>00185       {
<a name="l00186"></a>00186       this-&gt;Modified();
<a name="l00187"></a>00187       m_InfoImage = InfoImage;
<a name="l00188"></a>00188       }
<a name="l00189"></a>00189     }
<a name="l00190"></a>00190 
<a name="l00192"></a>00192   InputMeshType * GetInput(<span class="keywordtype">void</span>);
<a name="l00193"></a>00193   InputMeshType * GetInput(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx);
<a name="l00195"></a>00195 
<a name="l00196"></a>00196   <span class="comment">/* Set the tolerance for doing spatial searches of the polydata. */</span>
<a name="l00197"></a>00197   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(Tolerance, <span class="keywordtype">double</span>);
<a name="l00198"></a>00198   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(Tolerance, <span class="keywordtype">double</span>);
<a name="l00199"></a>00199     
<a name="l00200"></a>00200 <span class="keyword">protected</span>:
<a name="l00201"></a>00201   <a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html" title="3D Rasterization algorithm Courtesy of Dr David Gobbi of Atamai Inc.">TriangleMeshToBinaryImageFilter</a>();
<a name="l00202"></a>00202   ~<a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html" title="3D Rasterization algorithm Courtesy of Dr David Gobbi of Atamai Inc.">TriangleMeshToBinaryImageFilter</a>();
<a name="l00203"></a>00203 
<a name="l00204"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#7dd9f83eecdfacbfa484e20cfeb177e2">00204</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#7dd9f83eecdfacbfa484e20cfeb177e2">GenerateOutputInformation</a>(){}; <span class="comment">// do nothing</span>
<a name="l00205"></a>00205   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#f75a5945cdd8315676941024a0b8c1e9">GenerateData</a>();
<a name="l00206"></a>00206 
<a name="l00207"></a>00207   <span class="keyword">virtual</span> <span class="keywordtype">void</span> RasterizeTriangles();
<a name="l00208"></a>00208   <span class="keyword">static</span> <span class="keywordtype">int</span> PolygonToImageRaster( PointVector coords, Point1DArray &amp; zymatrix, <span class="keywordtype">int</span> extent[6]);
<a name="l00209"></a>00209   
<a name="l00210"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#e38e25613de68e3ea8786339b749e39b">00210</a>   <a class="code" href="namespaceHardConnectedComponentImageFilter.html#386ea018cab3835dcdff2603f4d2280e">OutputImageType</a> *m_InfoImage;
<a name="l00211"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#7039f90c7bd1f7973686d399a61a58c9">00211</a>   <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>        m_Index;
<a name="l00212"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#5d1a611809ebb0581073a5114d791ee5">00212</a>   <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">SizeType</a>         m_Size;
<a name="l00213"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#bf2444c59ef123234feacc1182e62533">00213</a>   SpacingType      m_Spacing;
<a name="l00214"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#bcc21e841b413e5b22bcc76bc25ff998">00214</a>   <a class="code" href="classitk_1_1Point.html">PointType</a>        m_Origin; <span class="comment">//start value</span>
<a name="l00215"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#1ffe5172da83a960784f8ca87e951eea">00215</a>   <span class="keywordtype">double</span>           m_Tolerance;
<a name="l00216"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#3d332e0cad045c8fdf91d6131c9cbb32">00216</a>   ValueType        m_InsideValue;
<a name="l00217"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#dc69233a17eed5eacba5de01752f4d4f">00217</a>   ValueType        m_OutsideValue;
<a name="l00218"></a>00218 
<a name="l00219"></a><a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html#13d8c1d619967d5b733da437694e985a">00219</a>   StencilIndexVector m_StencilIndex;
<a name="l00220"></a>00220 
<a name="l00221"></a>00221   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#920ae03048a5ad715d803ca2e92b52de">PrintSelf</a>(std::ostream&amp; os, <a class="code" href="classitk_1_1Indent.html" title="Control indentation during Print() invocation.">Indent</a> indent) <span class="keyword">const</span>;
<a name="l00222"></a>00222 
<a name="l00223"></a>00223 <span class="keyword">private</span>:
<a name="l00224"></a>00224   <a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html" title="3D Rasterization algorithm Courtesy of Dr David Gobbi of Atamai Inc.">TriangleMeshToBinaryImageFilter</a>(<span class="keyword">const</span> <a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html" title="3D Rasterization algorithm Courtesy of Dr David Gobbi of Atamai Inc.">Self</a>&amp;); <span class="comment">//purposely not implemented</span>
<a name="l00225"></a>00225   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="classitk_1_1TriangleMeshToBinaryImageFilter.html" title="3D Rasterization algorithm Courtesy of Dr David Gobbi of Atamai Inc.">Self</a>&amp;); <span class="comment">//purposely not implemented</span>
<a name="l00226"></a>00226 
<a name="l00227"></a>00227   <span class="keyword">static</span> <span class="keywordtype">bool</span> ComparePoints2D(<a class="code" href="classitk_1_1Point.html">Point2DType</a> a, <a class="code" href="classitk_1_1Point.html">Point2DType</a> b);
<a name="l00228"></a>00228   <span class="keyword">static</span> <span class="keywordtype">bool</span> ComparePoints1D(<a class="code" href="classitk_1_1Point1D.html">Point1D</a> a, <a class="code" href="classitk_1_1Point1D.html">Point1D</a> b);
<a name="l00229"></a>00229 
<a name="l00230"></a>00230 };
<a name="l00231"></a>00231 
<a name="l00232"></a>00232 } <span class="comment">// end namespace itk</span>
<a name="l00233"></a>00233 
<a name="l00234"></a>00234 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span>
<a name="l00235"></a>00235 <span class="preprocessor"></span><span class="preprocessor">#include "itkTriangleMeshToBinaryImageFilter.txx"</span>
<a name="l00236"></a>00236 <span class="preprocessor">#endif</span>
<a name="l00237"></a>00237 <span class="preprocessor"></span>
<a name="l00238"></a>00238 <span class="preprocessor">#endif</span>
<a name="l00239"></a>00239 <span class="preprocessor"></span>
</pre></div></div>
<hr><address><small>
Generated at Fri May 8 00:24:02 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>