<!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/Filtering/vtkGenericAdaptorCell.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 Page</span></a></li> <li><a href="pages.html"><span>Related 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/Filtering/vtkGenericAdaptorCell.h</h1><a href="a02250.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: vtkGenericAdaptorCell.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="l00061"></a>00061 <span class="preprocessor">#ifndef __vtkGenericAdaptorCell_h</span> <a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor">#define __vtkGenericAdaptorCell_h</span> <a name="l00063"></a>00063 <span class="preprocessor"></span> <a name="l00064"></a>00064 <a name="l00065"></a>00065 <span class="preprocessor">#include "<a class="code" href="a02079.html">vtkObject.h</a>"</span> <a name="l00066"></a>00066 <a name="l00067"></a>00067 <span class="keyword">class </span><a class="code" href="a00960.html" title="cell represents a 1D line">vtkLine</a>; <a name="l00068"></a>00068 <span class="keyword">class </span><a class="code" href="a01688.html" title="a 3D cell that represents a tetrahedron">vtkTetra</a>; <a name="l00069"></a>00069 <span class="keyword">class </span><a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a>; <a name="l00070"></a>00070 <span class="keyword">class </span><a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a>; <a name="l00071"></a>00071 <span class="keyword">class </span><a class="code" href="a01821.html" title="a cell that represents a 3D point">vtkVertex</a>; <a name="l00072"></a>00072 <span class="keyword">class </span><a class="code" href="a01760.html" title="a cell that represents a triangle">vtkTriangle</a>; <a name="l00073"></a>00073 <span class="keyword">class </span><a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a>; <a name="l00074"></a>00074 <span class="keyword">class </span><a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a>; <a name="l00075"></a>00075 <span class="keyword">class </span><a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a>; <a name="l00076"></a>00076 <span class="keyword">class </span><a class="code" href="a00436.html" title="dynamic, self-adjusting array of double">vtkDoubleArray</a>; <a name="l00077"></a>00077 <span class="keyword">class </span><a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a>; <a name="l00078"></a>00078 <span class="keyword">class </span><a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a>; <a name="l00079"></a>00079 <span class="keyword">class </span><a class="code" href="a00330.html" title="helper object to manage setting and generating contour values">vtkContourValues</a>; <a name="l00080"></a>00080 <span class="keyword">class </span><a class="code" href="a00855.html" title="abstract interface for implicit functions">vtkImplicitFunction</a>; <a name="l00081"></a>00081 <span class="keyword">class </span><a class="code" href="a00584.html" title="helper class to perform cell tessellation">vtkGenericCellTessellator</a>; <a name="l00082"></a>00082 <span class="keyword">class </span><a class="code" href="a00581.html" title="a collection of attributes">vtkGenericAttributeCollection</a>; <a name="l00083"></a>00083 <span class="keyword">class </span><a class="code" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a>; <a name="l00084"></a>00084 <span class="keyword">class </span><a class="code" href="a00602.html" title="iterator used to traverse points">vtkGenericPointIterator</a>; <a name="l00085"></a>00085 <span class="keyword">class </span><a class="code" href="a00720.html" title="list of point or cell ids">vtkIdList</a>; <a name="l00086"></a>00086 <span class="keyword">class </span><a class="code" href="a01128.html" title="helper class to generate triangulations">vtkOrderedTriangulator</a>; <a name="l00087"></a>00087 <span class="keyword">class </span><a class="code" href="a01278.html" title="a cell that represents an n-sided polygon">vtkPolygon</a>; <a name="l00088"></a>00088 <span class="keyword">class </span><a class="code" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a>; <a name="l00089"></a>00089 <span class="keyword">class </span><a class="code" href="a01428.html" title="a cell that represents a 2D quadrilateral">vtkQuad</a>; <a name="l00090"></a>00090 <span class="keyword">class </span><a class="code" href="a00686.html" title="a cell that represents a linear 3D hexahedron">vtkHexahedron</a>; <a name="l00091"></a>00091 <span class="keyword">class </span><a class="code" href="a01872.html" title="a 3D cell that represents a linear wedge">vtkWedge</a>; <a name="l00092"></a>00092 <span class="keyword">class </span><a class="code" href="a01329.html" title="a 3D cell that represents a linear pyramid">vtkPyramid</a>; <a name="l00093"></a>00093 <a name="l00094"></a><a class="code" href="a00579.html">00094</a> <span class="keyword">class </span><a class="code" href="a02170.html#95ced7977a6b6b1bf9f38bf04e3835b6">VTK_FILTERING_EXPORT</a> <a class="code" href="a00579.html" title="defines cell interface">vtkGenericAdaptorCell</a> : <span class="keyword">public</span> <a class="code" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a> <a name="l00095"></a>00095 { <a name="l00096"></a>00096 <span class="keyword">public</span>: <a name="l00097"></a><a class="code" href="a00579.html#de82b84650ed6a661975ba3d64817000">00097</a> vtkTypeRevisionMacro(<a class="code" href="a00579.html" title="defines cell interface">vtkGenericAdaptorCell</a>,<a class="code" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a>); <a name="l00098"></a>00098 <span class="keywordtype">void</span> <a class="code" href="a01084.html#bf3dbb4154289b56a12483eee3866263">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00099"></a>00099 <a name="l00102"></a>00102 <span class="keyword">virtual</span> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> GetId() = 0; <a name="l00103"></a>00103 <a name="l00105"></a>00105 <span class="keyword">virtual</span> <span class="keywordtype">int</span> IsInDataSet()=0; <a name="l00106"></a>00106 <a name="l00111"></a>00111 <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetType()=0; <a name="l00112"></a>00112 <a name="l00115"></a>00115 <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetDimension() = 0; <a name="l00116"></a>00116 <a name="l00119"></a>00119 <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetGeometryOrder()=0; <a name="l00120"></a>00120 <a name="l00123"></a>00123 <span class="keywordtype">int</span> IsGeometryLinear(); <a name="l00124"></a>00124 <a name="l00127"></a>00127 <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetAttributeOrder(<a class="code" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a> *a)=0; <a name="l00128"></a>00128 <a name="l00132"></a>00132 <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetHighestOrderAttribute(<a class="code" href="a00581.html" title="a collection of attributes">vtkGenericAttributeCollection</a> *ac); <a name="l00133"></a>00133 <a name="l00136"></a>00136 <span class="keywordtype">int</span> IsAttributeLinear(<a class="code" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a> *a); <a name="l00137"></a>00137 <a name="l00139"></a>00139 <span class="keyword">virtual</span> <span class="keywordtype">int</span> IsPrimary()=0; <a name="l00140"></a>00140 <a name="l00143"></a>00143 <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetNumberOfPoints()=0; <a name="l00144"></a>00144 <a name="l00153"></a>00153 <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetNumberOfBoundaries(<span class="keywordtype">int</span> dim=-1)=0; <a name="l00154"></a>00154 <a name="l00163"></a>00163 <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetNumberOfDOFNodes()=0; <a name="l00164"></a>00164 <a name="l00166"></a>00166 <span class="keyword">virtual</span> <span class="keywordtype">void</span> GetPointIterator(<a class="code" href="a00602.html" title="iterator used to traverse points">vtkGenericPointIterator</a> *it)=0; <a name="l00167"></a>00167 <a name="l00170"></a>00170 <span class="keyword">virtual</span> <a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a> *NewCellIterator()=0; <a name="l00171"></a>00171 <a name="l00173"></a>00173 <a name="l00177"></a>00177 <span class="keyword">virtual</span> <span class="keywordtype">void</span> GetBoundaryIterator(<a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a> *boundaries, <a name="l00178"></a>00178 <span class="keywordtype">int</span> dim=-1)=0; <a name="l00180"></a>00180 <a name="l00182"></a>00182 <a name="l00187"></a>00187 <span class="keyword">virtual</span> <span class="keywordtype">int</span> CountNeighbors(<a class="code" href="a00579.html" title="defines cell interface">vtkGenericAdaptorCell</a> *boundary)=0; <a name="l00188"></a>00188 <span class="keyword">virtual</span> <span class="keywordtype">void</span> CountEdgeNeighbors( <span class="keywordtype">int</span>* sharing ) = 0; <a name="l00190"></a>00190 <a name="l00192"></a>00192 <a name="l00198"></a>00198 <span class="keyword">virtual</span> <span class="keywordtype">void</span> GetNeighbors(<a class="code" href="a00579.html" title="defines cell interface">vtkGenericAdaptorCell</a> *boundary, <a name="l00199"></a>00199 <a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a> *neighbors)=0; <a name="l00201"></a>00201 <a name="l00203"></a>00203 <a name="l00207"></a>00207 <span class="keyword">virtual</span> <span class="keywordtype">int</span> FindClosestBoundary(<span class="keywordtype">int</span> subId, <a name="l00208"></a>00208 <span class="keywordtype">double</span> pcoords[3], <a name="l00209"></a>00209 <a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a>* &boundary)=0; <a name="l00211"></a>00211 <a name="l00213"></a>00213 <a name="l00221"></a>00221 <span class="keyword">virtual</span> <span class="keywordtype">int</span> EvaluatePosition(<span class="keywordtype">double</span> x[3], <a name="l00222"></a>00222 <span class="keywordtype">double</span> *closestPoint, <a name="l00223"></a>00223 <span class="keywordtype">int</span> &subId, <a name="l00224"></a>00224 <span class="keywordtype">double</span> pcoords[3], <a name="l00225"></a>00225 <span class="keywordtype">double</span> &dist2)=0; <a name="l00227"></a>00227 <a name="l00229"></a>00229 <a name="l00234"></a>00234 <span class="keyword">virtual</span> <span class="keywordtype">void</span> EvaluateLocation(<span class="keywordtype">int</span> subId, <a name="l00235"></a>00235 <span class="keywordtype">double</span> pcoords[3], <a name="l00236"></a>00236 <span class="keywordtype">double</span> x[3])=0; <a name="l00238"></a>00238 <a name="l00240"></a>00240 <a name="l00246"></a>00246 <span class="keyword">virtual</span> <span class="keywordtype">void</span> InterpolateTuple(<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="l00247"></a>00247 <span class="keywordtype">double</span> *val) = 0; <a name="l00249"></a>00249 <a name="l00251"></a>00251 <a name="l00257"></a>00257 <span class="keyword">virtual</span> <span class="keywordtype">void</span> InterpolateTuple(<a class="code" href="a00581.html" title="a collection of attributes">vtkGenericAttributeCollection</a> *c, <a name="l00258"></a>00258 <span class="keywordtype">double</span> pcoords[3], <a name="l00259"></a>00259 <span class="keywordtype">double</span> *val) = 0; <a name="l00261"></a>00261 <a name="l00263"></a>00263 <a name="l00292"></a>00292 <span class="keyword">virtual</span> <span class="keywordtype">void</span> Contour(<a class="code" href="a00330.html" title="helper object to manage setting and generating contour values">vtkContourValues</a> *values, <a name="l00293"></a>00293 <a class="code" href="a00855.html" title="abstract interface for implicit functions">vtkImplicitFunction</a> *f, <a name="l00294"></a>00294 <a class="code" href="a00581.html" title="a collection of attributes">vtkGenericAttributeCollection</a> *attributes, <a name="l00295"></a>00295 <a class="code" href="a00584.html" title="helper class to perform cell tessellation">vtkGenericCellTessellator</a> *tess, <a name="l00296"></a>00296 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a name="l00297"></a>00297 <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *verts, <a name="l00298"></a>00298 <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *lines, <a name="l00299"></a>00299 <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *polys, <a name="l00300"></a>00300 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPd, <a name="l00301"></a>00301 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *outCd, <a name="l00302"></a>00302 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *internalPd, <a name="l00303"></a>00303 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *secondaryPd, <a name="l00304"></a>00304 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *secondaryCd); <a name="l00306"></a>00306 <a name="l00308"></a>00308 <a name="l00338"></a>00338 <span class="keyword">virtual</span> <span class="keywordtype">void</span> Clip(<span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2106bf5e5151797630e91167caab3f22b9a">value</a>, <a name="l00339"></a>00339 <a class="code" href="a00855.html" title="abstract interface for implicit functions">vtkImplicitFunction</a> *f, <a name="l00340"></a>00340 <a class="code" href="a00581.html" title="a collection of attributes">vtkGenericAttributeCollection</a> *attributes, <a name="l00341"></a>00341 <a class="code" href="a00584.html" title="helper class to perform cell tessellation">vtkGenericCellTessellator</a> *tess, <a name="l00342"></a>00342 <span class="keywordtype">int</span> insideOut, <a name="l00343"></a>00343 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a name="l00344"></a>00344 <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *connectivity, <a name="l00345"></a>00345 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPd, <a name="l00346"></a>00346 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *outCd, <a name="l00347"></a>00347 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *internalPd, <a name="l00348"></a>00348 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *secondaryPd, <a name="l00349"></a>00349 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *secondaryCd); <a name="l00351"></a>00351 <a name="l00353"></a>00353 <a name="l00359"></a>00359 <span class="keyword">virtual</span> <span class="keywordtype">int</span> IntersectWithLine(<span class="keywordtype">double</span> p1[3], <a name="l00360"></a>00360 <span class="keywordtype">double</span> p2[3], <a name="l00361"></a>00361 <span class="keywordtype">double</span> tol, <a name="l00362"></a>00362 <span class="keywordtype">double</span> &t, <a name="l00363"></a>00363 <span class="keywordtype">double</span> x[3], <a name="l00364"></a>00364 <span class="keywordtype">double</span> pcoords[3], <a name="l00365"></a>00365 <span class="keywordtype">int</span> &subId)=0; <a name="l00367"></a>00367 <a name="l00369"></a>00369 <a name="l00378"></a>00378 <span class="keyword">virtual</span> <span class="keywordtype">void</span> Derivatives(<span class="keywordtype">int</span> subId, <a name="l00379"></a>00379 <span class="keywordtype">double</span> pcoords[3], <a name="l00380"></a>00380 <a class="code" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a> *attribute, <a name="l00381"></a>00381 <span class="keywordtype">double</span> *derivs)=0; <a name="l00383"></a>00383 <a name="l00386"></a>00386 <span class="keyword">virtual</span> <span class="keywordtype">void</span> GetBounds(<span class="keywordtype">double</span> bounds[6])=0; <a name="l00387"></a>00387 <a name="l00391"></a>00391 <span class="keyword">virtual</span> <span class="keywordtype">double</span> *GetBounds(); <a name="l00392"></a>00392 <a name="l00395"></a>00395 <span class="keyword">virtual</span> <span class="keywordtype">double</span> GetLength2(); <a name="l00396"></a>00396 <a name="l00401"></a>00401 <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetParametricCenter(<span class="keywordtype">double</span> pcoords[3])=0; <a name="l00402"></a>00402 <a name="l00409"></a>00409 <span class="keyword">virtual</span> <span class="keywordtype">double</span> GetParametricDistance(<span class="keywordtype">double</span> pcoords[3])=0; <a name="l00410"></a>00410 <a name="l00419"></a>00419 <span class="keyword">virtual</span> <span class="keywordtype">double</span> *GetParametricCoords()=0; <a name="l00420"></a>00420 <a name="l00422"></a>00422 <a name="l00436"></a>00436 <span class="keyword">virtual</span> <span class="keywordtype">void</span> Tessellate(<a class="code" href="a00581.html" title="a collection of attributes">vtkGenericAttributeCollection</a> *attributes, <a name="l00437"></a>00437 <a class="code" href="a00584.html" title="helper class to perform cell tessellation">vtkGenericCellTessellator</a> *tess, <a name="l00438"></a>00438 <a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2100fd9718c29b22570d5b02fa5c8de94f7">points</a>, <a name="l00439"></a>00439 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a name="l00440"></a>00440 <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a>* cellArray, <a name="l00441"></a>00441 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *internalPd, <a name="l00442"></a>00442 <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="l00443"></a>00443 <a class="code" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a> *types); <a name="l00445"></a>00445 <a name="l00446"></a>00446 <span class="comment">// The following methods are for the internals of the tesselation algorithm</span> <a name="l00447"></a>00447 <span class="comment">// (the hash table in particular)</span> <a name="l00448"></a>00448 <a name="l00451"></a>00451 <span class="keyword">virtual</span> <span class="keywordtype">int</span> IsFaceOnBoundary(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> faceId) = 0; <a name="l00452"></a>00452 <a name="l00455"></a>00455 <span class="keyword">virtual</span> <span class="keywordtype">int</span> IsOnBoundary() = 0; <a name="l00456"></a>00456 <a name="l00460"></a>00460 <span class="keyword">virtual</span> <span class="keywordtype">void</span> GetPointIds(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> *<span class="keywordtype">id</span>) = 0; <a name="l00461"></a>00461 <a name="l00463"></a>00463 <a name="l00469"></a>00469 <span class="keyword">virtual</span> <span class="keywordtype">void</span> TriangulateFace(<a class="code" href="a00581.html" title="a collection of attributes">vtkGenericAttributeCollection</a> *attributes, <a name="l00470"></a>00470 <a class="code" href="a00584.html" title="helper class to perform cell tessellation">vtkGenericCellTessellator</a> *tess, <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <a name="l00471"></a>00471 <a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2100fd9718c29b22570d5b02fa5c8de94f7">points</a>, <a name="l00472"></a>00472 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a name="l00473"></a>00473 <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *cellArray, <a name="l00474"></a>00474 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *internalPd, <a name="l00475"></a>00475 <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="l00477"></a>00477 <a name="l00483"></a>00483 <span class="keyword">virtual</span> <span class="keywordtype">int</span> *GetFaceArray(<span class="keywordtype">int</span> faceId)=0; <a name="l00484"></a>00484 <a name="l00489"></a>00489 <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetNumberOfVerticesOnFace(<span class="keywordtype">int</span> faceId)=0; <a name="l00490"></a>00490 <a name="l00496"></a>00496 <span class="keyword">virtual</span> <span class="keywordtype">int</span> *GetEdgeArray(<span class="keywordtype">int</span> edgeId)=0; <a name="l00497"></a>00497 <a name="l00498"></a>00498 <span class="keyword">protected</span>: <a name="l00499"></a>00499 <a class="code" href="a00579.html" title="defines cell interface">vtkGenericAdaptorCell</a>(); <a name="l00500"></a>00500 <span class="keyword">virtual</span> ~<a class="code" href="a00579.html" title="defines cell interface">vtkGenericAdaptorCell</a>(); <a name="l00501"></a>00501 <a name="l00503"></a>00503 <span class="keywordtype">void</span> Reset(); <a name="l00504"></a>00504 <a name="l00507"></a>00507 <span class="keywordtype">void</span> AllocateTuples(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e3d5e7c015dff08d8daf72a0102e1444">size</a>); <a name="l00508"></a>00508 <a name="l00509"></a>00509 <span class="comment">//Internal tetra used for the contouring/clipping algorithm</span> <a name="l00510"></a><a class="code" href="a00579.html#efa6a000e5dbc95ee9cafd7f0f10e9cc">00510</a> <a class="code" href="a01688.html" title="a 3D cell that represents a tetrahedron">vtkTetra</a> *Tetra; <a name="l00511"></a><a class="code" href="a00579.html#7b5c69a244d7cdfcec74156b747f01c3">00511</a> <a class="code" href="a01760.html" title="a cell that represents a triangle">vtkTriangle</a> *Triangle; <a name="l00512"></a><a class="code" href="a00579.html#5ab0b4765f22525b2d721f57d0e1d246">00512</a> <a class="code" href="a00960.html" title="cell represents a 1D line">vtkLine</a> *Line; <a name="l00513"></a><a class="code" href="a00579.html#955d1ff4e316b9d570e91e9e38bfaed4">00513</a> <a class="code" href="a01821.html" title="a cell that represents a 3D point">vtkVertex</a> *Vertex; <span class="comment">//is it used ?</span> <a name="l00514"></a><a class="code" href="a00579.html#2cc8b6ff004fc7df7cfcde49ec8f72dc">00514</a> <a class="code" href="a01428.html" title="a cell that represents a 2D quadrilateral">vtkQuad</a> *Quad; <a name="l00515"></a><a class="code" href="a00579.html#f90e5069f4d36e930a254182d38a2b4b">00515</a> <a class="code" href="a00686.html" title="a cell that represents a linear 3D hexahedron">vtkHexahedron</a> *Hexa; <a name="l00516"></a><a class="code" href="a00579.html#d04e0a8091006e7441e0245b04a42b0c">00516</a> <a class="code" href="a01872.html" title="a 3D cell that represents a linear wedge">vtkWedge</a> *Wedge; <a name="l00517"></a><a class="code" href="a00579.html#d0d3f5a51d96d53f6d26a176346afa43">00517</a> <a class="code" href="a01329.html" title="a 3D cell that represents a linear pyramid">vtkPyramid</a> *Pyramid; <a name="l00518"></a>00518 <a name="l00519"></a>00519 <span class="comment">// Internal locator when tessellating on a cell basis, this is different</span> <a name="l00520"></a>00520 <span class="comment">// from the main locator used in contour/clip filter, this locator is used for</span> <a name="l00521"></a>00521 <span class="comment">// points for</span> <a name="l00522"></a>00522 <span class="comment">// Be carefull the use of a vtkLocator in conjuction with the table fast</span> <a name="l00523"></a>00523 <span class="comment">// tessellator is very sensitive, we need to keep all the points we used</span> <a name="l00524"></a><a class="code" href="a00579.html#93b8b9a44dc381020b4cf2b542af9ad2">00524</a> <a class="code" href="a00436.html" title="dynamic, self-adjusting array of double">vtkDoubleArray</a> *InternalPoints; <a name="l00525"></a><a class="code" href="a00579.html#b471e33f055622691476978eb8e16eca">00525</a> <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *InternalCellArray; <a name="l00526"></a><a class="code" href="a00579.html#1d05d2441665662fac0d33fd485ed004">00526</a> <a class="code" href="a00436.html" title="dynamic, self-adjusting array of double">vtkDoubleArray</a> *InternalScalars; <a name="l00527"></a><a class="code" href="a00579.html#aa0b00c5b389e9c00e7ca10d61ec5f1b">00527</a> <a class="code" href="a00436.html" title="dynamic, self-adjusting array of double">vtkDoubleArray</a> *PointDataScalars; <a name="l00528"></a>00528 <a name="l00529"></a><a class="code" href="a00579.html#fd2f9ded9ff228d6323d7d79b3460dc6">00529</a> <a class="code" href="a00720.html" title="list of point or cell ids">vtkIdList</a> *InternalIds; <span class="comment">// used by Tessellate() and TriangulateFace()</span> <a name="l00530"></a>00530 <a name="l00531"></a>00531 <span class="comment">//Attributes to mimic the vtk cell look and feel, internal use only</span> <a name="l00532"></a><a class="code" href="a00579.html#69981c6680f33e4710f6ab69996dcfcb">00532</a> <a class="code" href="a00436.html" title="dynamic, self-adjusting array of double">vtkDoubleArray</a> *Scalars; <a name="l00533"></a><a class="code" href="a00579.html#97913a9af9cf3cc55279d16a9cf08d0a">00533</a> <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *PointData; <a name="l00534"></a><a class="code" href="a00579.html#4ca64e4a60246e0d4eb447a841ff66e8">00534</a> <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *CellData; <a name="l00535"></a>00535 <a name="l00536"></a>00536 <span class="comment">// Scalar buffer to store the attributes values at some location</span> <a name="l00537"></a>00537 <span class="comment">// There are variable members to reduce memory allocations.</span> <a name="l00538"></a><a class="code" href="a00579.html#c5ffb8b62f4ef4537faaa79df905d9e0">00538</a> <span class="keywordtype">double</span> *Tuples; <a name="l00539"></a><a class="code" href="a00579.html#1fa523bfd63b2678ebeb5eb3c5feb590">00539</a> <span class="keywordtype">int</span> TuplesCapacity; <a name="l00540"></a>00540 <a name="l00541"></a>00541 <span class="comment">// Cached Bounds.</span> <a name="l00542"></a><a class="code" href="a00579.html#98beabb8eafc6054df9223627adfb7e6">00542</a> <span class="keywordtype">double</span> Bounds[6]; <a name="l00543"></a>00543 <a name="l00544"></a>00544 <span class="keyword">private</span>: <a name="l00545"></a>00545 <a class="code" href="a00579.html" title="defines cell interface">vtkGenericAdaptorCell</a>(<span class="keyword">const</span> <a class="code" href="a00579.html" title="defines cell interface">vtkGenericAdaptorCell</a>&); <span class="comment">// Not implemented.</span> <a name="l00546"></a>00546 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00579.html" title="defines cell interface">vtkGenericAdaptorCell</a>&); <span class="comment">// Not implemented.</span> <a name="l00547"></a>00547 }; <a name="l00548"></a>00548 <a name="l00549"></a>00549 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:15 2009 for VTK by <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>