Sophie

Sophie

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

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/Graphics/vtkSelectEnclosedPoints.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/Graphics/vtkSelectEnclosedPoints.h</h1><a href="a02651.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: vtkSelectEnclosedPoints.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="l00045"></a>00045 <span class="preprocessor">#ifndef __vtkSelectEnclosedPoints_h</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#define __vtkSelectEnclosedPoints_h</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span>
<a name="l00048"></a>00048 <span class="preprocessor">#include "<a class="code" href="a02227.html">vtkDataSetAlgorithm.h</a>"</span>
<a name="l00049"></a>00049 
<a name="l00050"></a>00050 <span class="keyword">class </span><a class="code" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a>;
<a name="l00051"></a>00051 <span class="keyword">class </span><a class="code" href="a00250.html" title="octree-based spatial search object to quickly locate cells">vtkCellLocator</a>;
<a name="l00052"></a>00052 <span class="keyword">class </span><a class="code" href="a00720.html" title="list of point or cell ids">vtkIdList</a>;
<a name="l00053"></a>00053 <span class="keyword">class </span><a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a>;
<a name="l00054"></a>00054 
<a name="l00055"></a>00055 
<a name="l00056"></a><a class="code" href="a01521.html">00056</a> <span class="keyword">class </span><a class="code" href="a02170.html#c3c1ffe2fe47b9b70ba90182b7860cce">VTK_GRAPHICS_EXPORT</a> <a class="code" href="a01521.html" title="mark points as to whether they are inside a closed surface">vtkSelectEnclosedPoints</a> : <span class="keyword">public</span> <a class="code" href="a00375.html" title="Superclass for algorithms that produce output of the same type as input.">vtkDataSetAlgorithm</a>
<a name="l00057"></a>00057 {
<a name="l00058"></a>00058 <span class="keyword">public</span>:
<a name="l00060"></a>00060 
<a name="l00061"></a><a class="code" href="a01521.html#51059e675178f05fb800fc7218b3555f">00061</a>   vtkTypeRevisionMacro(<a class="code" href="a01521.html" title="mark points as to whether they are inside a closed surface">vtkSelectEnclosedPoints</a>,<a class="code" href="a00375.html" title="Superclass for algorithms that produce output of the same type as input.">vtkDataSetAlgorithm</a>);
<a name="l00062"></a>00062   <span class="keywordtype">void</span> <a class="code" href="a00375.html#399bf1def01568753e290f9cc45d7985">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00064"></a>00064 
<a name="l00066"></a>00066   <span class="keyword">static</span> <a class="code" href="a01521.html" title="mark points as to whether they are inside a closed surface">vtkSelectEnclosedPoints</a> *<a class="code" href="a00375.html#366c8a9b4e61249c93fd2f7a492de9cb">New</a>();
<a name="l00067"></a>00067 
<a name="l00069"></a>00069 
<a name="l00072"></a>00072   <span class="keywordtype">void</span> SetSurface(<a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *pd);
<a name="l00073"></a>00073   <span class="keywordtype">void</span> SetSurfaceConnection(<a class="code" href="a00102.html" title="Proxy object to connect input/output ports.">vtkAlgorithmOutput</a>* algOutput);
<a name="l00075"></a>00075 
<a name="l00077"></a>00077 
<a name="l00078"></a>00078   <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *GetSurface();
<a name="l00079"></a>00079   <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *GetSurface(<a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> *sourceInfo);
<a name="l00081"></a>00081 
<a name="l00083"></a>00083 
<a name="l00086"></a>00086   vtkSetMacro(InsideOut,<span class="keywordtype">int</span>);
<a name="l00087"></a>00087   vtkBooleanMacro(InsideOut,<span class="keywordtype">int</span>);
<a name="l00088"></a>00088   vtkGetMacro(InsideOut,<span class="keywordtype">int</span>);
<a name="l00090"></a>00090 
<a name="l00092"></a>00092 
<a name="l00094"></a>00094   vtkSetMacro(CheckSurface,<span class="keywordtype">int</span>);
<a name="l00095"></a>00095   vtkBooleanMacro(CheckSurface,<span class="keywordtype">int</span>);
<a name="l00096"></a>00096   vtkGetMacro(CheckSurface,<span class="keywordtype">int</span>);
<a name="l00098"></a>00098 
<a name="l00101"></a>00101   <span class="keywordtype">int</span> IsInside(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> inputPtId);
<a name="l00102"></a>00102 
<a name="l00104"></a>00104 
<a name="l00106"></a>00106   vtkSetClampMacro(Tolerance,<span class="keywordtype">double</span>,0.0,<a class="code" href="a02149.html#622b18613de7a4fdb37cb4df3d720942">VTK_LARGE_FLOAT</a>);
<a name="l00107"></a>00107   vtkGetMacro(Tolerance,<span class="keywordtype">double</span>);
<a name="l00109"></a>00109 
<a name="l00111"></a>00111 
<a name="l00115"></a>00115   <span class="keywordtype">void</span> Initialize(<a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *surface);
<a name="l00116"></a>00116   <span class="keywordtype">int</span> IsInsideSurface(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z);
<a name="l00117"></a>00117   <span class="keywordtype">int</span> IsInsideSurface(<span class="keywordtype">double</span> x[3]);
<a name="l00118"></a>00118   <span class="keywordtype">void</span> Complete();
<a name="l00120"></a>00120 
<a name="l00121"></a>00121 <span class="keyword">protected</span>:
<a name="l00122"></a>00122   <a class="code" href="a01521.html" title="mark points as to whether they are inside a closed surface">vtkSelectEnclosedPoints</a>();
<a name="l00123"></a>00123   ~<a class="code" href="a01521.html" title="mark points as to whether they are inside a closed surface">vtkSelectEnclosedPoints</a>();
<a name="l00124"></a>00124 
<a name="l00125"></a><a class="code" href="a01521.html#e6843a7541e169c9ca36f5c47172677c">00125</a>   <span class="keywordtype">int</span>    CheckSurface;
<a name="l00126"></a><a class="code" href="a01521.html#04a2c7f7e15775149e2a01cdffa5c3ce">00126</a>   <span class="keywordtype">int</span>    InsideOut;
<a name="l00127"></a><a class="code" href="a01521.html#713348c27f5c3fdad6325e1862e3a37e">00127</a>   <span class="keywordtype">double</span> Tolerance;
<a name="l00128"></a>00128 
<a name="l00129"></a>00129   <span class="keywordtype">int</span> IsSurfaceClosed(<a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *surface);
<a name="l00130"></a><a class="code" href="a01521.html#8d922856f998176cab338d2163911b70">00130</a>   <a class="code" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a> *InsideOutsideArray;
<a name="l00131"></a>00131 
<a name="l00132"></a>00132   <span class="comment">// Internal structures for accelerating the intersection test</span>
<a name="l00133"></a><a class="code" href="a01521.html#f32a1ee4396745ffad3cbf75f0538e7e">00133</a>   <a class="code" href="a00250.html" title="octree-based spatial search object to quickly locate cells">vtkCellLocator</a> *CellLocator;
<a name="l00134"></a><a class="code" href="a01521.html#c666b7b36656f52086c2e3ac45103c55">00134</a>   <a class="code" href="a00720.html" title="list of point or cell ids">vtkIdList</a>      *CellIds;
<a name="l00135"></a><a class="code" href="a01521.html#8cdb016925acc16a787ce7c44f9b940a">00135</a>   <a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *Cell;
<a name="l00136"></a><a class="code" href="a01521.html#0b2f7921745660f13b72ad720529bde7">00136</a>   <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a>    *Surface;
<a name="l00137"></a><a class="code" href="a01521.html#ba4682a567ec5dfe94ae13e6d2b6f3cf">00137</a>   <span class="keywordtype">double</span>          Bounds[6];
<a name="l00138"></a><a class="code" href="a01521.html#0a458764a5af4a3b7a813fa840e02b2d">00138</a>   <span class="keywordtype">double</span>          Length;
<a name="l00139"></a>00139   
<a name="l00140"></a>00140   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00375.html#49f7d102eea1f3c58aae7281a1b708cc">RequestData</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> **, <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> *);
<a name="l00141"></a>00141   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00375.html#499856361b9daa5e46d75d6c69b83545">FillInputPortInformation</a>(<span class="keywordtype">int</span>, <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *);
<a name="l00142"></a>00142 
<a name="l00143"></a>00143   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00101.html#2640547007328b99cfb851143f0f706d">ReportReferences</a>(<a class="code" href="a00572.html" title="Detect and break reference loops.">vtkGarbageCollector</a>*);
<a name="l00144"></a>00144 
<a name="l00145"></a>00145 <span class="keyword">private</span>:
<a name="l00146"></a>00146   <a class="code" href="a01521.html" title="mark points as to whether they are inside a closed surface">vtkSelectEnclosedPoints</a>(<span class="keyword">const</span> <a class="code" href="a01521.html" title="mark points as to whether they are inside a closed surface">vtkSelectEnclosedPoints</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00147"></a>00147   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01521.html" title="mark points as to whether they are inside a closed surface">vtkSelectEnclosedPoints</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00148"></a>00148 };
<a name="l00149"></a>00149 
<a name="l00150"></a>00150 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:29 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>