Sophie

Sophie

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

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: itkSimplexMeshToTriangleMeshFilter.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>itkSimplexMeshToTriangleMeshFilter.h</h1><a href="itkSimplexMeshToTriangleMeshFilter_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: itkSimplexMeshToTriangleMeshFilter.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-17 20:49:56 $</span>
<a name="l00007"></a>00007 <span class="comment">Version:   $Revision: 1.7 $</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 __itkSimplexMeshToTriangleMeshFilter_h</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkSimplexMeshToTriangleMeshFilter_h</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;<a class="code" href="itkMesh_8h.html">itkMesh.h</a>&gt;</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;<a class="code" href="itkLineCell_8h.html">itkLineCell.h</a>&gt;</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;<a class="code" href="itkPolygonCell_8h.html">itkPolygonCell.h</a>&gt;</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;<a class="code" href="itkVertexCell_8h.html">itkVertexCell.h</a>&gt;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;<a class="code" href="itkMapContainer_8h.html">itkMapContainer.h</a>&gt;</span>
<a name="l00025"></a>00025 
<a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="itkSimplexMesh_8h.html">itkSimplexMesh.h</a>"</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="itkMeshToMeshFilter_8h.html">itkMeshToMeshFilter.h</a>"</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="itkVectorContainer_8h.html">itkVectorContainer.h</a>"</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include "<a class="code" href="itkMapContainer_8h.html">itkMapContainer.h</a>"</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include "<a class="code" href="itkAutomaticTopologyMeshSource_8h.html">itkAutomaticTopologyMeshSource.h</a>"</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="keyword">namespace </span>itk
<a name="l00033"></a>00033 {
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 
<a name="l00047"></a>00047 <span class="keyword">template</span> &lt;<span class="keyword">class</span> TInputMesh, <span class="keyword">class</span> TOutputMesh&gt;
<a name="l00048"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html">00048</a> <span class="keyword">class </span><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html" title="This filter converts a 2-simplex mesh into a triangle mesh.">SimplexMeshToTriangleMeshFilter</a> : <span class="keyword">public</span> <a class="code" href="classitk_1_1MeshToMeshFilter.html" title="MeshToMeshFilter is the base class for all process objects that output mesh data...">MeshToMeshFilter</a>&lt;TInputMesh, TOutputMesh&gt;
<a name="l00049"></a>00049 {
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 <span class="keyword">public</span>:
<a name="l00053"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#99a972d015507b5f6e256873e1fd0c74">00053</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html" title="This filter converts a 2-simplex mesh into a triangle mesh.">SimplexMeshToTriangleMeshFilter</a>  <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html" title="This filter converts a 2-simplex mesh into a triangle mesh.">Self</a>;
<a name="l00054"></a>00054 
<a name="l00056"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#43ce3167a6da2559351cb6d117a4b7de">00056</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1MeshToMeshFilter.html">MeshToMeshFilter&lt;TInputMesh, TOutputMesh&gt;</a> <a class="code" href="classitk_1_1MeshToMeshFilter.html">Superclass</a>;
<a name="l00057"></a>00057 
<a name="l00059"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#1cc321a88579fb093dc26077d971c7a4">00059</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="l00060"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#47d21a6ddec7ffd6771c8c4e84eb89bc">00060</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="l00061"></a>00061 
<a name="l00063"></a>00063   <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html" title="This filter converts a 2-simplex mesh into a triangle mesh.">Self</a>);
<a name="l00064"></a>00064 
<a name="l00066"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#03363f54c37a9f7d5ac36c9182875cab">00066</a>   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html" title="This filter converts a 2-simplex mesh into a triangle mesh.">SimplexMeshToTriangleMeshFilter</a>,<a class="code" href="classitk_1_1MeshToMeshFilter.html" title="MeshToMeshFilter is the base class for all process objects that output mesh data...">MeshToMeshFilter</a>);
<a name="l00067"></a>00067 
<a name="l00068"></a>00068 
<a name="l00069"></a>00069   <span class="keyword">typedef</span> TInputMesh                                     <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#03363f54c37a9f7d5ac36c9182875cab">InputMeshType</a>;
<a name="l00070"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#9ce15a5da348f42ae3a7fa7f77e56677">00070</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">InputMeshType::Pointer</a>                <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#9ce15a5da348f42ae3a7fa7f77e56677">InputMeshPointer</a>;
<a name="l00071"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#f18692fb96c310f8b136281b4a565808">00071</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::PointType              <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#f18692fb96c310f8b136281b4a565808">InputPointType</a>;
<a name="l00072"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#ee7a97224a9622eb212885c71748dfd9">00072</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::PixelType              <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#ee7a97224a9622eb212885c71748dfd9">InputPixelType</a>;
<a name="l00073"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#19f4c0b93bb6c65b52f106ac7a3a371c">00073</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::MeshTraits::CellTraits <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#19f4c0b93bb6c65b52f106ac7a3a371c">InputCellTraitsType</a>;
<a name="l00074"></a>00074 
<a name="l00075"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#0cdd28484ee60ad72312f9e28495f911">00075</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::PointsContainer        <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#0cdd28484ee60ad72312f9e28495f911">InputPointsContainer</a>;
<a name="l00076"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#1c493402918d73aa3741fdda88abef49">00076</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">InputPointsContainer::Pointer</a>         <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#1c493402918d73aa3741fdda88abef49">InputPointsContainerPointer</a>;
<a name="l00077"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#8c74f70cd3032eb206594273944c3c64">00077</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputPointsContainer::Iterator        <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#8c74f70cd3032eb206594273944c3c64">InputPointsContainerIterator</a>;
<a name="l00078"></a>00078 
<a name="l00079"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#486bdf9ff584e1d535b90746d76aa4ae">00079</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::NeighborListType           <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#486bdf9ff584e1d535b90746d76aa4ae">InputNeighbors</a>;
<a name="l00080"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#f157c569d522d30848afb80a743c6454">00080</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::NeighborListType::iterator <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#f157c569d522d30848afb80a743c6454">InputNeighborsIterator</a>;
<a name="l00081"></a>00081 
<a name="l00082"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#bb9566f14dce32b94a9cd7b019446706">00082</a>   <span class="keyword">typedef</span>          <a class="code" href="classitk_1_1AutomaticTopologyMeshSource.html" title="Convenience class for generating meshes.">itk::AutomaticTopologyMeshSource&lt;TOutputMesh&gt;</a>  <a class="code" href="classitk_1_1AutomaticTopologyMeshSource.html" title="Convenience class for generating meshes.">AutoMeshSourceType</a>;
<a name="l00083"></a>00083 
<a name="l00084"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#a0345d29adcebc7e2bcfa68269c8ee40">00084</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::CellType                        <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#a0345d29adcebc7e2bcfa68269c8ee40">SimplexCellType</a>;
<a name="l00085"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#7b3d1bbacfc69b5479c4865435a89ef2">00085</a>   <span class="keyword">typedef</span>          <a class="code" href="classitk_1_1PolygonCell.html">itk::PolygonCell&lt;SimplexCellType&gt;</a>              <a class="code" href="classitk_1_1PolygonCell.html">SimplexPolygonType</a>;
<a name="l00086"></a>00086 
<a name="l00087"></a>00087   <span class="comment">// stores the center for each simplex mesh cell, key is the point id</span>
<a name="l00088"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#fa8e432e9677165373e665e4929a81a4">00088</a>   <span class="keyword">typedef</span>          <a class="code" href="classitk_1_1MapContainer.html">itk::MapContainer&lt;unsigned long, InputPointType&gt;</a> <a class="code" href="classitk_1_1MapContainer.html">PointMapType</a>;
<a name="l00089"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#36b5513fa90002b23aca248f21e6f01e">00089</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">PointMapType::Pointer</a>                            <a class="code" href="classitk_1_1SmartPointer.html">PointMapPointer</a>;
<a name="l00090"></a>00090 
<a name="l00091"></a>00091   
<a name="l00097"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html">00097</a>   <span class="keyword">class </span><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html">SimplexCellVisitor</a>
<a name="l00098"></a>00098     {
<a name="l00099"></a>00099 
<a name="l00100"></a>00100     <span class="keyword">public</span>:
<a name="l00101"></a>00101 
<a name="l00105"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#88b9d9bd73a880c86134dd8430897fd9">00105</a>     <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#88b9d9bd73a880c86134dd8430897fd9">SimplexCellVisitor</a>()
<a name="l00106"></a>00106       {
<a name="l00107"></a>00107       <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#987b8ef9b227074ff91cbc42d5e93eef" title="visits all polygon cells and compute the cell centers">m_CenterMap</a> = <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#570532083492e34cba9a56148c01d53b">PointMapType::New</a>();
<a name="l00108"></a>00108       }
<a name="l00109"></a>00109 
<a name="l00113"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#13abef7a550ac6f0423c90cbad3da8c7">00113</a>     <span class="keywordtype">void</span> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#13abef7a550ac6f0423c90cbad3da8c7" title="visits all polygon cells and compute the cell centers">Visit</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> cellId, <a class="code" href="classitk_1_1PolygonCell.html">SimplexPolygonType</a> * poly)
<a name="l00114"></a>00114       {
<a name="l00115"></a>00115       <span class="keyword">typedef</span> <span class="keyword">typename</span> SimplexPolygonType::PointIdIterator   PointIdIterator;
<a name="l00116"></a>00116       PointIdIterator  it =  poly-&gt;<a class="code" href="classitk_1_1PolygonCell.html#b5b8fa8bd6661e1da4e7e1d6f8e94425">PointIdsBegin</a>();
<a name="l00117"></a>00117       <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#f18692fb96c310f8b136281b4a565808">InputPointType</a> center,p;
<a name="l00118"></a>00118       center.Fill(0);
<a name="l00120"></a>00120 
<a name="l00121"></a>00121       <span class="keywordflow">while</span> ( it != poly-&gt;<a class="code" href="classitk_1_1PolygonCell.html#6d7b6f2bf0a1db7212f0d0fa91a31bd4">PointIdsEnd</a>() )
<a name="l00122"></a>00122         {
<a name="l00123"></a>00123         this-&gt;<a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#10ac6de15be10ffe9b3b5dac85ab3985" title="visits all polygon cells and compute the cell centers">m_Mesh</a>-&gt;GetPoint(*it, &amp;p);
<a name="l00124"></a>00124         center += p.GetVectorFromOrigin();
<a name="l00125"></a>00125         it++;
<a name="l00126"></a>00126         }
<a name="l00127"></a>00127 
<a name="l00128"></a>00128       center[0] /= poly-&gt;<a class="code" href="classitk_1_1PolygonCell.html#f316ebeb222b07b0f098842652526b81">GetNumberOfPoints</a>();
<a name="l00129"></a>00129       center[1] /= poly-&gt;<a class="code" href="classitk_1_1PolygonCell.html#f316ebeb222b07b0f098842652526b81">GetNumberOfPoints</a>();
<a name="l00130"></a>00130       center[2] /= poly-&gt;<a class="code" href="classitk_1_1PolygonCell.html#f316ebeb222b07b0f098842652526b81">GetNumberOfPoints</a>();
<a name="l00131"></a>00131 
<a name="l00132"></a>00132       <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#987b8ef9b227074ff91cbc42d5e93eef" title="visits all polygon cells and compute the cell centers">m_CenterMap</a>-&gt;InsertElement(cellId, center);
<a name="l00133"></a>00133       }
<a name="l00134"></a>00134 
<a name="l00135"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#a5052c6d5c01a8da4871a12497f9c423">00135</a>     <a class="code" href="classitk_1_1SmartPointer.html">PointMapPointer</a> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#a5052c6d5c01a8da4871a12497f9c423" title="visits all polygon cells and compute the cell centers">GetCenterMap</a>()
<a name="l00136"></a>00136       {
<a name="l00137"></a>00137       <span class="keywordflow">return</span> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#987b8ef9b227074ff91cbc42d5e93eef" title="visits all polygon cells and compute the cell centers">m_CenterMap</a>;
<a name="l00138"></a>00138       }
<a name="l00139"></a>00139 
<a name="l00140"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#99881b496bc806defe6bb989b2a03f36">00140</a>     <span class="keywordtype">void</span> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#99881b496bc806defe6bb989b2a03f36" title="visits all polygon cells and compute the cell centers">SetMesh</a>(<a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#9ce15a5da348f42ae3a7fa7f77e56677">InputMeshPointer</a> mesh)
<a name="l00141"></a>00141       {
<a name="l00142"></a>00142       this-&gt;<a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#10ac6de15be10ffe9b3b5dac85ab3985" title="visits all polygon cells and compute the cell centers">m_Mesh</a> = mesh;
<a name="l00143"></a>00143       }
<a name="l00144"></a>00144 
<a name="l00145"></a>00145     <span class="keyword">protected</span>:
<a name="l00146"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#10ac6de15be10ffe9b3b5dac85ab3985">00146</a>       <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#9ce15a5da348f42ae3a7fa7f77e56677">InputMeshPointer</a> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#10ac6de15be10ffe9b3b5dac85ab3985" title="visits all polygon cells and compute the cell centers">m_Mesh</a>;
<a name="l00147"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#987b8ef9b227074ff91cbc42d5e93eef">00147</a>       <a class="code" href="classitk_1_1SmartPointer.html">PointMapPointer</a> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html#987b8ef9b227074ff91cbc42d5e93eef" title="visits all polygon cells and compute the cell centers">m_CenterMap</a>; 
<a name="l00148"></a>00148   };
<a name="l00149"></a>00149 
<a name="l00150"></a>00150     <span class="keyword">typedef</span> <a class="code" href="classitk_1_1CellInterfaceVisitorImplementation.html">itk::CellInterfaceVisitorImplementation</a>&lt;<a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#ee7a97224a9622eb212885c71748dfd9">InputPixelType</a>,
<a name="l00151"></a>00151       <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#19f4c0b93bb6c65b52f106ac7a3a371c">InputCellTraitsType</a>,
<a name="l00152"></a>00152       <a class="code" href="classitk_1_1PolygonCell.html">SimplexPolygonType</a>,
<a name="l00153"></a>00153       <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter_1_1SimplexCellVisitor.html">SimplexCellVisitor</a>&gt;
<a name="l00154"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#c7d27b5b827aa802fb847bd7769a9a35">00154</a>       <a class="code" href="classitk_1_1CellInterfaceVisitorImplementation.html">SimplexVisitorInterfaceType</a>;
<a name="l00155"></a>00155 
<a name="l00156"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#df3cf3ac275a6ae9940ca99c49b8a922">00156</a>     <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">SimplexVisitorInterfaceType::Pointer</a>  <a class="code" href="classitk_1_1SmartPointer.html">SimplexVisitorInterfacePointer</a>;
<a name="l00157"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#b6f543018e63f3af2d5a6fc214edd4f0">00157</a>     <span class="keyword">typedef</span> <span class="keyword">typename</span> SimplexCellType::MultiVisitor         <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#b6f543018e63f3af2d5a6fc214edd4f0">CellMultiVisitorType</a>;
<a name="l00158"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#948c90853821a30bd513cd15be178a21">00158</a>     <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">CellMultiVisitorType::Pointer</a>         <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#948c90853821a30bd513cd15be178a21">CellMultiVisitorPointer</a>;
<a name="l00159"></a>00159 
<a name="l00160"></a>00160 
<a name="l00161"></a>00161 <span class="keyword">protected</span>:
<a name="l00162"></a>00162 
<a name="l00163"></a>00163   <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#802c6c94f343a361c5a2cf6a4963e851">SimplexMeshToTriangleMeshFilter</a>();
<a name="l00164"></a>00164   <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#cf7562e69af6bdaa55d78b164257bc47">~SimplexMeshToTriangleMeshFilter</a>();
<a name="l00165"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#b22b6125514a467868a7bb101445a255">00165</a>   <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#b22b6125514a467868a7bb101445a255">SimplexMeshToTriangleMeshFilter</a>(<span class="keyword">const</span> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html" title="This filter converts a 2-simplex mesh into a triangle mesh.">Self</a>&amp;) {}
<a name="l00166"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#fb4e36ed7f95b9ddbcef22ed27b030ce">00166</a>   <span class="keywordtype">void</span> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#fb4e36ed7f95b9ddbcef22ed27b030ce">operator=</a>(<span class="keyword">const</span> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html" title="This filter converts a 2-simplex mesh into a triangle mesh.">Self</a>&amp;) {}
<a name="l00167"></a>00167 
<a name="l00168"></a>00168   <span class="keywordtype">void</span> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#c4659fbb445a145b53630cc91255f077">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="l00169"></a>00169 
<a name="l00170"></a>00170   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#d18fef4063eadd52a878e8f30a9eed2a">GenerateData</a>();
<a name="l00171"></a>00171 
<a name="l00172"></a>00172   <span class="keywordtype">void</span> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#8832d45ce25dcb6257f7b1f3685dee25">Initialize</a>();
<a name="l00173"></a>00173 
<a name="l00175"></a>00175   <span class="keywordtype">void</span> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#60bbd621aa8d6506c3722f4760fc8880">CreateTriangles</a>();
<a name="l00176"></a>00176 
<a name="l00178"></a>00178   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#c000d62fbda245922cd00d6da5b75973">FindCellId</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> id1, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> id2, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> id3);
<a name="l00179"></a>00179 
<a name="l00181"></a><a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#5102fce55b04ac5842a1b205f12a03aa">00181</a>   <a class="code" href="classitk_1_1SmartPointer.html">PointMapPointer</a> <a class="code" href="classitk_1_1SimplexMeshToTriangleMeshFilter.html#5102fce55b04ac5842a1b205f12a03aa">m_Centers</a>;
<a name="l00182"></a>00182 
<a name="l00183"></a>00183 };
<a name="l00184"></a>00184 
<a name="l00185"></a>00185 } <span class="comment">//end of namespace</span>
<a name="l00186"></a>00186 
<a name="l00187"></a>00187 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span>
<a name="l00188"></a>00188 <span class="preprocessor"></span><span class="preprocessor">#include "itkSimplexMeshToTriangleMeshFilter.txx"</span>
<a name="l00189"></a>00189 <span class="preprocessor">#endif</span>
<a name="l00190"></a>00190 <span class="preprocessor"></span>
<a name="l00191"></a>00191 <span class="preprocessor">#endif //__SimplexMeshToTriangleMeshFilter_h</span>
<a name="l00192"></a>00192 <span class="preprocessor"></span>
</pre></div></div>
<hr><address><small>
Generated at Fri May 8 00:15:15 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>