Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 4199

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>VTK: dox/GenericFiltering/Testing/Cxx/vtkBridgeCell.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
<h1>dox/GenericFiltering/Testing/Cxx/vtkBridgeCell.h</h1><a href="a02407.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:   Visualization Toolkit</span>
<a name="l00004"></a>00004 <span class="comment">  Module:    $RCSfile: vtkBridgeCell.h,v $</span>
<a name="l00005"></a>00005 <span class="comment"></span>
<a name="l00006"></a>00006 <span class="comment">  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen</span>
<a name="l00007"></a>00007 <span class="comment">  All rights reserved.</span>
<a name="l00008"></a>00008 <span class="comment">  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.</span>
<a name="l00009"></a>00009 <span class="comment"></span>
<a name="l00010"></a>00010 <span class="comment">     This software is distributed WITHOUT ANY WARRANTY; without even</span>
<a name="l00011"></a>00011 <span class="comment">     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR</span>
<a name="l00012"></a>00012 <span class="comment">     PURPOSE.  See the above copyright notice for more information.</span>
<a name="l00013"></a>00013 <span class="comment"></span>
<a name="l00014"></a>00014 <span class="comment">=========================================================================*/</span>
<a name="l00027"></a>00027 <span class="preprocessor">#ifndef __vtkBridgeCell_h</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define __vtkBridgeCell_h</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span>
<a name="l00030"></a>00030 <span class="preprocessor">#include "<a class="code" href="a02415.html">vtkBridgeExport.h</a>"</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include "<a class="code" href="a02250.html">vtkGenericAdaptorCell.h</a>"</span>
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="keyword">class </span><a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>;
<a name="l00034"></a>00034 <span class="keyword">class </span><a class="code" href="a00210.html" title="Implementation of vtkGenericDataSet.">vtkBridgeDataSet</a>;
<a name="l00035"></a>00035 <span class="keyword">class </span><a class="code" href="a00204.html" title="Implementation of vtkGenericCellIterator. It is just an example that show how to...">vtkBridgeCellIterator</a>;
<a name="l00036"></a>00036 
<a name="l00037"></a><a class="code" href="a00203.html">00037</a> <span class="keyword">class </span><a class="code" href="a02415.html#49035516cc76746c4301dd5407dd6c77">VTK_BRIDGE_EXPORT</a> <a class="code" href="a00203.html" title="Implementation of vtkGenericAdaptorCell.">vtkBridgeCell</a> : <span class="keyword">public</span> <a class="code" href="a00579.html" title="defines cell interface">vtkGenericAdaptorCell</a>
<a name="l00038"></a>00038 {
<a name="l00039"></a>00039 <span class="keyword">public</span>:
<a name="l00040"></a>00040   <span class="keyword">static</span> <a class="code" href="a00203.html" title="Implementation of vtkGenericAdaptorCell.">vtkBridgeCell</a> *<a class="code" href="a01084.html#4d5b227267c076d6f9e38483370b6612">New</a>();
<a name="l00041"></a><a class="code" href="a00203.html#e6fa238c65ede91f029978f771e6bdc1">00041</a>   vtkTypeRevisionMacro(<a class="code" href="a00203.html" title="Implementation of vtkGenericAdaptorCell.">vtkBridgeCell</a>,<a class="code" href="a00579.html" title="defines cell interface">vtkGenericAdaptorCell</a>);
<a name="l00042"></a>00042   <span class="keywordtype">void</span> <a class="code" href="a00579.html#2cb8b78d9e3af1695dea6b09554cfbd4">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00043"></a>00043 
<a name="l00046"></a>00046   <span class="keyword">virtual</span> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> <a class="code" href="a00579.html#fc18fd45b4ca1db5756878d7bcaf336c">GetId</a>();
<a name="l00047"></a>00047 
<a name="l00049"></a>00049   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#b07cb0272dea6ff9d53f76774b428aae">IsInDataSet</a>();
<a name="l00050"></a>00050   
<a name="l00054"></a>00054   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#c5c334aadc23f606ca511626bdbb61ec">GetType</a>();
<a name="l00055"></a>00055 
<a name="l00058"></a>00058   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#03ec8cf7ac7a320998a8cfe0dd85017e">GetDimension</a>();
<a name="l00059"></a>00059 
<a name="l00061"></a>00061   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#7e3df1da8fa50cc54f65278159312210">GetGeometryOrder</a>();
<a name="l00062"></a>00062   
<a name="l00065"></a>00065   <span class="keywordtype">int</span> <a class="code" href="a00579.html#a01570035ef724e6ab4b880992aa4c70">IsGeometryLinear</a>();
<a name="l00066"></a>00066   
<a name="l00069"></a>00069   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#c78e78d46c28a02b578604ecda32ff32">GetAttributeOrder</a>(<a class="code" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a> *a);
<a name="l00070"></a>00070   
<a name="l00074"></a>00074   <span class="keywordtype">int</span> <a class="code" href="a00579.html#ea301977dcf780444a1f5d8b456eaec6">IsAttributeLinear</a>(<a class="code" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a> *a);
<a name="l00075"></a>00075   
<a name="l00077"></a>00077   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#dce121df2793beadf8d5b2cbcaf649ec">IsPrimary</a>();
<a name="l00078"></a>00078 
<a name="l00081"></a>00081   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#da06756b992d26be9b721737b5167c40">GetNumberOfPoints</a>();
<a name="l00082"></a>00082 
<a name="l00091"></a>00091   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#65b20ae67fe5cead7db8e94f0cc24d01">GetNumberOfBoundaries</a>(<span class="keywordtype">int</span> dim=-1);
<a name="l00092"></a>00092 
<a name="l00101"></a>00101   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#e2dca748d777bc72c2dfda875c98b59d">GetNumberOfDOFNodes</a>();
<a name="l00102"></a>00102   
<a name="l00104"></a>00104   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00579.html#d9e0918f6c2ecf7886bfb8ae12608ad2">GetPointIterator</a>(<a class="code" href="a00602.html" title="iterator used to traverse points">vtkGenericPointIterator</a> *it);
<a name="l00105"></a>00105   
<a name="l00107"></a>00107   <span class="keyword">virtual</span> <a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a> *<a class="code" href="a00579.html#ab5eaef410f96cc681a5af4c172ef2e3">NewCellIterator</a>();
<a name="l00108"></a>00108  
<a name="l00110"></a>00110 
<a name="l00114"></a>00114   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00579.html#21fd16a9eb434a71a7d09900e7691b5a">GetBoundaryIterator</a>(<a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a> *boundaries,
<a name="l00115"></a>00115                                    <span class="keywordtype">int</span> dim=-1);
<a name="l00117"></a>00117   
<a name="l00119"></a>00119 
<a name="l00124"></a>00124   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#217ccdf59b1041e315952349a3fa7399">CountNeighbors</a>(<a class="code" href="a00579.html" title="defines cell interface">vtkGenericAdaptorCell</a> *boundary);
<a name="l00125"></a>00125   <span class="keywordtype">void</span> <a class="code" href="a00579.html#3f485a381035e65f04b848095aaa3d78">CountEdgeNeighbors</a>( <span class="keywordtype">int</span>* sharing );
<a name="l00127"></a>00127 
<a name="l00129"></a>00129 
<a name="l00135"></a>00135   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00579.html#a65c4d2ffb7060e88e53f593d8ecbf6f">GetNeighbors</a>(<a class="code" href="a00579.html" title="defines cell interface">vtkGenericAdaptorCell</a> *boundary,
<a name="l00136"></a>00136                             <a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a> *neighbors);
<a name="l00138"></a>00138 
<a name="l00140"></a>00140 
<a name="l00144"></a>00144   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#412f671d34b6f82f26dd95e214f8350e">FindClosestBoundary</a>(<span class="keywordtype">int</span> subId,
<a name="l00145"></a>00145                                   <span class="keywordtype">double</span> pcoords[3],
<a name="l00146"></a>00146                                   <a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a>* &amp;boundary);
<a name="l00148"></a>00148 
<a name="l00150"></a>00150 
<a name="l00158"></a>00158   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#cf831e019b9ed0650eaf52a3fe854da3">EvaluatePosition</a>(<span class="keywordtype">double</span> x[3],
<a name="l00159"></a>00159                                <span class="keywordtype">double</span> *closestPoint, 
<a name="l00160"></a>00160                                <span class="keywordtype">int</span> &amp;subId,
<a name="l00161"></a>00161                                <span class="keywordtype">double</span> pcoords[3], 
<a name="l00162"></a>00162                                <span class="keywordtype">double</span> &amp;dist2);
<a name="l00164"></a>00164   
<a name="l00166"></a>00166 
<a name="l00170"></a>00170   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00579.html#4746830b69135059e1b47d88531de936">EvaluateLocation</a>(<span class="keywordtype">int</span> subId,
<a name="l00171"></a>00171                                 <span class="keywordtype">double</span> pcoords[3],
<a name="l00172"></a>00172                                 <span class="keywordtype">double</span> x[3]);
<a name="l00174"></a>00174   
<a name="l00176"></a>00176 
<a name="l00182"></a>00182   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00579.html#911fa8b366b768d397790899bd710dfc">InterpolateTuple</a>(<a class="code" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a> *a, <span class="keywordtype">double</span> pcoords[3],
<a name="l00183"></a>00183                                 <span class="keywordtype">double</span> *val);
<a name="l00185"></a>00185 
<a name="l00187"></a>00187 
<a name="l00193"></a>00193   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00579.html#911fa8b366b768d397790899bd710dfc">InterpolateTuple</a>(<a class="code" href="a00581.html" title="a collection of attributes">vtkGenericAttributeCollection</a> *c, <span class="keywordtype">double</span> pcoords[3],
<a name="l00194"></a>00194                                 <span class="keywordtype">double</span> *val);
<a name="l00195"></a>00195 <span class="preprocessor">#if 0</span>
<a name="l00196"></a>00196 <span class="preprocessor"></span>  <span class="comment">// Description:</span>
<a name="l00197"></a>00197   <span class="comment">// Generate a contour (contouring primitives) for each `values' or with</span>
<a name="l00198"></a>00198   <span class="comment">// respect to an implicit function `f'. Contouring</span>
<a name="l00199"></a>00199   <span class="comment">// is performed on the scalar attribute (`attributes-&gt;GetActiveAttribute()',</span>
<a name="l00200"></a>00200   <span class="comment">// `attributes-&gt;GetActiveComponent()').</span>
<a name="l00201"></a>00201   <span class="comment">// Contouring interpolates the</span>
<a name="l00202"></a>00202   <span class="comment">// `attributes-&gt;GetNumberOfattributesToInterpolate()' attributes</span>
<a name="l00203"></a>00203   <span class="comment">// `attributes-&gt;GetAttributesToInterpolate()'.</span>
<a name="l00204"></a>00204   <span class="comment">// `locator', `verts', `lines', `polys', `outPd' and `outCd' are cumulative</span>
<a name="l00205"></a>00205   <span class="comment">// data arrays over cell iterations: they store the result of each call</span>
<a name="l00206"></a>00206   <span class="comment">// to Contour():</span>
<a name="l00207"></a>00207   <span class="comment">// - `locator' is points list that merges points as they are inserted (i.e.,</span>
<a name="l00208"></a>00208   <span class="comment">// prevents duplicates).</span>
<a name="l00209"></a>00209   <span class="comment">// - `verts' is an array of generated vertices</span>
<a name="l00210"></a>00210   <span class="comment">// - `lines' is an array of generated lines</span>
<a name="l00211"></a>00211   <span class="comment">// - `polys' is an array of generated polygons</span>
<a name="l00212"></a>00212   <span class="comment">// - `outPd' is an array of interpolated point data along the edge (if</span>
<a name="l00213"></a>00213   <span class="comment">// not-NULL)</span>
<a name="l00214"></a>00214   <span class="comment">// - `outCd' is an array of copied cell data of the current cell (if </span>
<a name="l00215"></a>00215   <span class="comment">// not-NULL)</span>
<a name="l00216"></a>00216   <span class="comment">// Note: the CopyAllocate() method must be invoked on both the output cell</span>
<a name="l00217"></a>00217   <span class="comment">// and point data.</span>
<a name="l00218"></a>00218   <span class="comment">//</span>
<a name="l00219"></a>00219   <span class="comment">// NOTE: `vtkGenericAttributeCollection *attributes' will be replaced by a</span>
<a name="l00220"></a>00220   <span class="comment">//       `vtkInformation'.</span>
<a name="l00221"></a>00221   <span class="comment">//</span>
<a name="l00222"></a>00222   <span class="comment">// \pre values_exist: (values!=0 &amp;&amp; f==0) || (values==0 &amp;&amp; f!=0)</span>
<a name="l00223"></a>00223   <span class="comment">// \pre attributes_exist: attributes!=0</span>
<a name="l00224"></a>00224   <span class="comment">// \pre locator_exists: locator!=0</span>
<a name="l00225"></a>00225   <span class="comment">// \pre verts_exist: verts!=0</span>
<a name="l00226"></a>00226   <span class="comment">// \pre lines_exist: lines!=0</span>
<a name="l00227"></a>00227   <span class="comment">// \pre polys_exist: polys!=0</span>
<a name="l00228"></a>00228   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00579.html#9a22168d2e46a127154fe95b6d400357">Contour</a>(<a class="code" href="a00330.html" title="helper object to manage setting and generating contour values">vtkContourValues</a> *values,
<a name="l00229"></a>00229                        <a class="code" href="a00855.html" title="abstract interface for implicit functions">vtkImplicitFunction</a> *f,
<a name="l00230"></a>00230                        <a class="code" href="a00581.html" title="a collection of attributes">vtkGenericAttributeCollection</a> *attributes,
<a name="l00231"></a>00231                        <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator,
<a name="l00232"></a>00232                        <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *verts,
<a name="l00233"></a>00233                        <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *lines,
<a name="l00234"></a>00234                        <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *polys,
<a name="l00235"></a>00235                        <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPd,
<a name="l00236"></a>00236                        <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *outCd);
<a name="l00238"></a>00238 <span class="preprocessor">#endif</span>
<a name="l00239"></a>00239 <span class="preprocessor"></span><span class="preprocessor">#if 0</span>
<a name="l00240"></a>00240 <span class="preprocessor"></span>
<a name="l00241"></a>00241 
<a name="l00267"></a>00267   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00579.html#947762b4d04dbeeae1913221daebfccd">Clip</a>(<span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2106bf5e5151797630e91167caab3f22b9a">value</a>,
<a name="l00268"></a>00268                     <a class="code" href="a00855.html" title="abstract interface for implicit functions">vtkImplicitFunction</a> *f,
<a name="l00269"></a>00269                     <a class="code" href="a00581.html" title="a collection of attributes">vtkGenericAttributeCollection</a> *attributes,
<a name="l00270"></a>00270                     <a class="code" href="a00584.html" title="helper class to perform cell tessellation">vtkGenericCellTessellator</a> *tess,
<a name="l00271"></a>00271                     <span class="keywordtype">int</span> insideOut,
<a name="l00272"></a>00272                     <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator,
<a name="l00273"></a>00273                     <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *connectivity,
<a name="l00274"></a>00274                     <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPd,
<a name="l00275"></a>00275                     <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *outCd);
<a name="l00277"></a>00277 <span class="preprocessor">#endif</span>
<a name="l00278"></a>00278 <span class="preprocessor"></span>
<a name="l00279"></a>00279 
<a name="l00285"></a>00285   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#2b0ee8726e842f2246e95b9661cad88b">IntersectWithLine</a>(<span class="keywordtype">double</span> p1[3],
<a name="l00286"></a>00286                                 <span class="keywordtype">double</span> p2[3], 
<a name="l00287"></a>00287                                 <span class="keywordtype">double</span> tol,
<a name="l00288"></a>00288                                 <span class="keywordtype">double</span> &amp;t,
<a name="l00289"></a>00289                                 <span class="keywordtype">double</span> x[3], 
<a name="l00290"></a>00290                                 <span class="keywordtype">double</span> pcoords[3],
<a name="l00291"></a>00291                                 <span class="keywordtype">int</span> &amp;subId);
<a name="l00293"></a>00293 
<a name="l00295"></a>00295 
<a name="l00304"></a>00304   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00579.html#3a5a8fac8a31772ad6b6f8ebfa8fc708">Derivatives</a>(<span class="keywordtype">int</span> subId,
<a name="l00305"></a>00305                            <span class="keywordtype">double</span> pcoords[3],
<a name="l00306"></a>00306                            <a class="code" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a> *attribute,
<a name="l00307"></a>00307                            <span class="keywordtype">double</span> *derivs);
<a name="l00309"></a>00309 
<a name="l00312"></a>00312   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00579.html#108a0d488ebf9c18578f4a1794c62ba5">GetBounds</a>(<span class="keywordtype">double</span> bounds[6]);
<a name="l00313"></a>00313 
<a name="l00317"></a>00317   <span class="keyword">virtual</span> <span class="keywordtype">double</span> *<a class="code" href="a00579.html#108a0d488ebf9c18578f4a1794c62ba5">GetBounds</a>();
<a name="l00318"></a>00318 
<a name="l00321"></a>00321   <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="a00579.html#915255c6e382db194e781479b60a56e3">GetLength2</a>();
<a name="l00322"></a>00322 
<a name="l00327"></a>00327   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#b61e7073391b7ac76b8d1a465753efc3">GetParametricCenter</a>(<span class="keywordtype">double</span> pcoords[3]);
<a name="l00328"></a>00328 
<a name="l00334"></a>00334   <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="a00579.html#50575dac21427539e7f1cf4f1566be42">GetParametricDistance</a>(<span class="keywordtype">double</span> pcoords[3]);
<a name="l00335"></a>00335 
<a name="l00337"></a>00337 
<a name="l00345"></a>00345   <span class="keyword">virtual</span> <span class="keywordtype">double</span> *<a class="code" href="a00579.html#a96ae68a2d6815a4ede9dcd82b88b240">GetParametricCoords</a>();
<a name="l00346"></a>00346 <span class="preprocessor">#if 0</span>
<a name="l00347"></a>00347 <span class="preprocessor"></span>  <span class="comment">// Description:</span>
<a name="l00348"></a>00348   <span class="comment">// Tessellate the cell if it is not linear or if at least one attribute of</span>
<a name="l00349"></a>00349   <span class="comment">// `attributes' is not linear. The output are linear cells of the same</span>
<a name="l00350"></a>00350   <span class="comment">// dimension than than cell. If the cell is linear and all attributes are</span>
<a name="l00351"></a>00351   <span class="comment">// linear, the output is just a copy of the current cell.</span>
<a name="l00352"></a>00352   <span class="comment">// `points', `cellArray', `pd' and `cd' are cumulative output data arrays</span>
<a name="l00353"></a>00353   <span class="comment">// over cell iterations: they store the result of each call to Tessellate().</span>
<a name="l00354"></a>00354   <span class="comment">// \pre attributes_exist: attributes!=0</span>
<a name="l00355"></a>00355   <span class="comment">// \pre points_exist: points!=0</span>
<a name="l00356"></a>00356   <span class="comment">// \pre cellArray_exists: cellArray!=0</span>
<a name="l00357"></a>00357   <span class="comment">// \pre pd_exist: pd!=0</span>
<a name="l00358"></a>00358   <span class="comment">// \pre cd_exists: cd!=0</span>
<a name="l00359"></a>00359   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00579.html#90d6d1e47164011e5503aecabaec9408">Tessellate</a>(<a class="code" href="a00581.html" title="a collection of attributes">vtkGenericAttributeCollection</a> *attributes, 
<a name="l00360"></a>00360                           <a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2100fd9718c29b22570d5b02fa5c8de94f7">points</a>, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a>* cellArray,  
<a name="l00361"></a>00361                           <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *pd, <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a>* cd);
<a name="l00363"></a>00363 <span class="preprocessor">#endif</span>
<a name="l00364"></a>00364 <span class="preprocessor"></span>  <span class="comment">// For the internals of the tesselation algorithm (the hash table in particular)</span>
<a name="l00365"></a>00365   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#d31aee24292dcb43f00f07d632281bcf">IsFaceOnBoundary</a>(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> faceId);
<a name="l00366"></a>00366   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00579.html#0bf07c2b7ed61c47890a853a98ab69d1">IsOnBoundary</a>();
<a name="l00367"></a>00367 
<a name="l00369"></a>00369 
<a name="l00371"></a>00371   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00579.html#4f8216d3dbb09e0174983b6568c48c8b">GetPointIds</a>(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> *<span class="keywordtype">id</span>);
<a name="l00372"></a>00372 <span class="preprocessor">#if 0</span>
<a name="l00373"></a>00373 <span class="preprocessor"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00579.html#222d714e29160ca49a4e11c53130e7e3">TriangulateFace</a>(<a class="code" href="a00581.html" title="a collection of attributes">vtkGenericAttributeCollection</a> *attributes,
<a name="l00374"></a>00374                                <a class="code" href="a00584.html" title="helper class to perform cell tessellation">vtkGenericCellTessellator</a> *tess,
<a name="l00375"></a>00375                                <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, 
<a name="l00376"></a>00376                                <a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *pts, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *cellArray, 
<a name="l00377"></a>00377                                <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *pd,
<a name="l00378"></a>00378                                <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *cd );
<a name="l00380"></a>00380 <span class="preprocessor">#endif</span>
<a name="l00381"></a>00381 <span class="preprocessor"></span>  
<a name="l00386"></a>00386   <span class="keywordtype">int</span> *<a class="code" href="a00579.html#1e5ddb1ac1f7ef493464b508980993f0">GetFaceArray</a>(<span class="keywordtype">int</span> faceId);
<a name="l00387"></a>00387   
<a name="l00392"></a>00392   <span class="keywordtype">int</span> <a class="code" href="a00579.html#86d676ba0650fc55fcbbb6cef8eb0e55">GetNumberOfVerticesOnFace</a>(<span class="keywordtype">int</span> faceId);
<a name="l00393"></a>00393   
<a name="l00398"></a>00398   <span class="keywordtype">int</span> *<a class="code" href="a00579.html#60613dbb24f6502c5527ee819a16c3b5">GetEdgeArray</a>(<span class="keywordtype">int</span> edgeId);
<a name="l00399"></a>00399 
<a name="l00401"></a>00401 
<a name="l00404"></a>00404   <span class="keywordtype">void</span> Init(<a class="code" href="a00210.html" title="Implementation of vtkGenericDataSet.">vtkBridgeDataSet</a> *ds,
<a name="l00405"></a>00405             <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellid);
<a name="l00407"></a>00407 
<a name="l00409"></a>00409 
<a name="l00411"></a>00411   <span class="keywordtype">void</span> InitWithCell(<a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a> *c,
<a name="l00412"></a>00412                     <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> <span class="keywordtype">id</span>);
<a name="l00414"></a>00414 
<a name="l00417"></a>00417   <span class="keywordtype">void</span> DeepCopy(<a class="code" href="a00203.html" title="Implementation of vtkGenericAdaptorCell.">vtkBridgeCell</a> *other);
<a name="l00418"></a>00418 
<a name="l00419"></a>00419 <span class="keyword">protected</span>:
<a name="l00420"></a>00420   <a class="code" href="a00203.html" title="Implementation of vtkGenericAdaptorCell.">vtkBridgeCell</a>();
<a name="l00421"></a>00421   <span class="keyword">virtual</span> ~<a class="code" href="a00203.html" title="Implementation of vtkGenericAdaptorCell.">vtkBridgeCell</a>();
<a name="l00422"></a>00422 
<a name="l00425"></a>00425   <span class="keywordtype">void</span> AllocateWeights();
<a name="l00426"></a>00426 
<a name="l00428"></a>00428   <span class="keywordtype">void</span> InterpolationFunctions(<span class="keywordtype">double</span> pcoords[3], <span class="keywordtype">double</span> *weights);
<a name="l00429"></a>00429 
<a name="l00430"></a><a class="code" href="a00203.html#265a848c9b0a9c1fc6fc89128efbe8c1">00430</a>   <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="a00210.html" title="Implementation of vtkGenericDataSet.">vtkBridgeDataSet</a>;
<a name="l00431"></a><a class="code" href="a00203.html#c7a8c5d32faf740ea278a76e23a7e553">00431</a>   <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="a00202.html" title="Implementation of vtkGenericAttribute.">vtkBridgeAttribute</a>;
<a name="l00432"></a><a class="code" href="a00203.html#d39f456025d3d7edf27f585ddc05e9d3">00432</a>   <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="a00204.html" title="Implementation of vtkGenericCellIterator. It is just an example that show how to...">vtkBridgeCellIterator</a>;
<a name="l00433"></a><a class="code" href="a00203.html#858a67469114baab96497cb5aea9ba6b">00433</a>   <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="a00207.html" title="Iterate over cells of a dataset.">vtkBridgeCellIteratorOnDataSet</a>;
<a name="l00434"></a><a class="code" href="a00203.html#135442e51b44ae9ca567739ad430ec5b">00434</a>   <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="a00208.html" title="Iterate over one cell only of a dataset.">vtkBridgeCellIteratorOne</a>;
<a name="l00435"></a><a class="code" href="a00203.html#f0471f564ca11c27cece70c440dae217">00435</a>   <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="a00205.html" title="Iterate over boundary cells of a cell.">vtkBridgeCellIteratorOnCellBoundaries</a>;
<a name="l00436"></a><a class="code" href="a00203.html#ee291dfdf4ba3f1f0f394d28920c4b05">00436</a>   <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="a00213.html" title="Implementation of vtkGenericPointIterator.">vtkBridgePointIteratorOnCell</a>;
<a name="l00437"></a>00437 
<a name="l00438"></a><a class="code" href="a00203.html#43b75a92a9306554c28feb441ae1c308">00438</a>   <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a> *Cell;
<a name="l00439"></a><a class="code" href="a00203.html#940b00eec67ce4dab260ad5068b7eb81">00439</a>   <a class="code" href="a00210.html" title="Implementation of vtkGenericDataSet.">vtkBridgeDataSet</a> *<a class="code" href="a00213.html#c656bedcd3fff0d44b45851ae2eaade7">DataSet</a>;
<a name="l00440"></a><a class="code" href="a00203.html#9e5fe0633787e138e4ad79162f954271">00440</a>   <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> Id; <span class="comment">// what does it mean for boundary cells?</span>
<a name="l00441"></a><a class="code" href="a00203.html#c1ecc3713d08b9b3e0f055088eb3f49f">00441</a>   <span class="keywordtype">int</span> BoolIsInDataSet;
<a name="l00442"></a><a class="code" href="a00203.html#61d72d9ca8c7ef517aa3c10cd242eaef">00442</a>   <a class="code" href="a00204.html" title="Implementation of vtkGenericCellIterator. It is just an example that show how to...">vtkBridgeCellIterator</a> *InternalIterator; <span class="comment">// used in Contour</span>
<a name="l00443"></a>00443 
<a name="l00444"></a><a class="code" href="a00203.html#1bd1999794e102ef242db87b8bad6a04">00444</a>   <span class="keywordtype">double</span> *Weights; <span class="comment">// interpolation functions</span>
<a name="l00445"></a><a class="code" href="a00203.html#02f9002d281c5e65aa32a502949488e0">00445</a>   <span class="keywordtype">int</span> WeightsCapacity;
<a name="l00446"></a>00446 
<a name="l00447"></a>00447 <span class="keyword">private</span>:
<a name="l00448"></a>00448   <a class="code" href="a00203.html" title="Implementation of vtkGenericAdaptorCell.">vtkBridgeCell</a>(<span class="keyword">const</span> <a class="code" href="a00203.html" title="Implementation of vtkGenericAdaptorCell.">vtkBridgeCell</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00449"></a>00449   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00203.html" title="Implementation of vtkGenericAdaptorCell.">vtkBridgeCell</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00450"></a>00450 };
<a name="l00451"></a>00451 
<a name="l00452"></a>00452 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:18 2009 for VTK by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>