<!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/vtkBoxClipDataSet.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/Graphics/vtkBoxClipDataSet.h</h1><a href="a02476.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: vtkBoxClipDataSet.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="l00015"></a>00015 <span class="comment">/*----------------------------------------------------------------------------</span> <a name="l00016"></a>00016 <span class="comment"> Copyright (c) Sandia Corporation</span> <a name="l00017"></a>00017 <span class="comment"> See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.</span> <a name="l00018"></a>00018 <span class="comment">----------------------------------------------------------------------------*/</span> <a name="l00019"></a>00019 <a name="l00050"></a>00050 <span class="preprocessor">#ifndef __vtkBoxClipDataSet_h</span> <a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#define __vtkBoxClipDataSet_h</span> <a name="l00052"></a>00052 <span class="preprocessor"></span> <a name="l00053"></a>00053 <span class="preprocessor">#include "<a class="code" href="a02396.html">vtkUnstructuredGridAlgorithm.h</a>"</span> <a name="l00054"></a>00054 <a name="l00055"></a>00055 <span class="keyword">class </span><a class="code" href="a00241.html" title="abstract class to specify 3D cell interface">vtkCell3D</a>; <a name="l00056"></a>00056 <span class="keyword">class </span><a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a>; <a name="l00057"></a>00057 <span class="keyword">class </span><a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a>; <a name="l00058"></a>00058 <span class="keyword">class </span><a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a>; <a name="l00059"></a>00059 <span class="keyword">class </span><a class="code" href="a00376.html" title="represent and manipulate attribute data in a dataset">vtkDataSetAttributes</a>; <a name="l00060"></a>00060 <span class="keyword">class </span><a class="code" href="a00720.html" title="list of point or cell ids">vtkIdList</a>; <a name="l00061"></a>00061 <span class="keyword">class </span><a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a>; <a name="l00062"></a>00062 <span class="keyword">class </span><a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a>; <a name="l00063"></a>00063 <span class="keyword">class </span><a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a>; <a name="l00064"></a>00064 <span class="keyword">class </span><a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a>; <a name="l00065"></a>00065 <a name="l00066"></a><a class="code" href="a00196.html">00066</a> <span class="keyword">class </span><a class="code" href="a02170.html#c3c1ffe2fe47b9b70ba90182b7860cce">VTK_GRAPHICS_EXPORT</a> <a class="code" href="a00196.html" title="clip an unstructured grid">vtkBoxClipDataSet</a> : <span class="keyword">public</span> <a class="code" href="a01790.html" title="Superclass for algorithms that produce only unstructured grid as output.">vtkUnstructuredGridAlgorithm</a> <a name="l00067"></a>00067 { <a name="l00068"></a>00068 <span class="keyword">public</span>: <a name="l00069"></a><a class="code" href="a00196.html#0681f672ac5ac39d9733fa5b234a8eef">00069</a> vtkTypeRevisionMacro(<a class="code" href="a00196.html" title="clip an unstructured grid">vtkBoxClipDataSet</a>,<a class="code" href="a01790.html" title="Superclass for algorithms that produce only unstructured grid as output.">vtkUnstructuredGridAlgorithm</a>); <a name="l00070"></a>00070 <span class="keywordtype">void</span> <a class="code" href="a01790.html#13d193ef6fd94356f3306d3e799bc9cc">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00071"></a>00071 <a name="l00075"></a>00075 <span class="keyword">static</span> <a class="code" href="a00196.html" title="clip an unstructured grid">vtkBoxClipDataSet</a> *<a class="code" href="a01790.html#2646137e0d32c31ea2f5d6c36a839c5e">New</a>(); <a name="l00076"></a>00076 <a name="l00078"></a>00078 <a name="l00081"></a>00081 <span class="keywordtype">void</span> SetBoxClip(<span class="keywordtype">double</span> xmin, <span class="keywordtype">double</span> xmax, <a name="l00082"></a>00082 <span class="keywordtype">double</span> ymin, <span class="keywordtype">double</span> ymax, <a name="l00083"></a>00083 <span class="keywordtype">double</span> zmin, <span class="keywordtype">double</span> zmax); <a name="l00084"></a>00084 <span class="keywordtype">void</span> SetBoxClip(<span class="keyword">const</span> <span class="keywordtype">double</span> *n0, <span class="keyword">const</span> <span class="keywordtype">double</span> *o0, <a name="l00085"></a>00085 <span class="keyword">const</span> <span class="keywordtype">double</span> *n1, <span class="keyword">const</span> <span class="keywordtype">double</span> *o1, <a name="l00086"></a>00086 <span class="keyword">const</span> <span class="keywordtype">double</span> *n2, <span class="keyword">const</span> <span class="keywordtype">double</span> *o2, <a name="l00087"></a>00087 <span class="keyword">const</span> <span class="keywordtype">double</span> *n3, <span class="keyword">const</span> <span class="keywordtype">double</span> *o3, <a name="l00088"></a>00088 <span class="keyword">const</span> <span class="keywordtype">double</span> *n4, <span class="keyword">const</span> <span class="keywordtype">double</span> *o4, <a name="l00089"></a>00089 <span class="keyword">const</span> <span class="keywordtype">double</span> *n5, <span class="keyword">const</span> <span class="keywordtype">double</span> *o5); <a name="l00091"></a>00091 <a name="l00092"></a>00092 <a name="l00094"></a>00094 <a name="l00096"></a>00096 vtkSetMacro(GenerateClipScalars,<span class="keywordtype">int</span>); <a name="l00097"></a>00097 vtkGetMacro(GenerateClipScalars,<span class="keywordtype">int</span>); <a name="l00098"></a>00098 vtkBooleanMacro(GenerateClipScalars,<span class="keywordtype">int</span>); <a name="l00100"></a>00100 <a name="l00102"></a>00102 <a name="l00104"></a>00104 vtkSetMacro(GenerateClippedOutput,<span class="keywordtype">int</span>); <a name="l00105"></a>00105 vtkGetMacro(GenerateClippedOutput,<span class="keywordtype">int</span>); <a name="l00106"></a>00106 vtkBooleanMacro(GenerateClippedOutput,<span class="keywordtype">int</span>); <a name="l00108"></a>00108 <a name="l00118"></a>00118 <a class="code" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a> *GetClippedOutput(); <a name="l00119"></a>00119 <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetNumberOfOutputs(); <a name="l00121"></a>00121 <a name="l00123"></a>00123 <a name="l00125"></a>00125 <span class="keywordtype">void</span> SetLocator(<a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator); <a name="l00126"></a>00126 vtkGetObjectMacro(Locator,<a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a>); <a name="l00128"></a>00128 <a name="l00131"></a>00131 <span class="keywordtype">void</span> CreateDefaultLocator(); <a name="l00132"></a>00132 <a name="l00134"></a>00134 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a01084.html#8137c0551b29bb996f0dd2f886bcd2da">GetMTime</a>(); <a name="l00135"></a>00135 <a name="l00137"></a>00137 <a name="l00139"></a>00139 vtkGetMacro(Orientation,<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>); <a name="l00140"></a>00140 vtkSetMacro(Orientation,<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>); <a name="l00142"></a>00142 <a name="l00143"></a>00143 <a name="l00144"></a>00144 <span class="keyword">static</span> <span class="keywordtype">void</span> InterpolateEdge(<a class="code" href="a00376.html" title="represent and manipulate attribute data in a dataset">vtkDataSetAttributes</a> *attributes, <a name="l00145"></a>00145 <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> toId, <a name="l00146"></a>00146 <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> fromId1, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> fromId2, <a name="l00147"></a>00147 <span class="keywordtype">double</span> t); <a name="l00148"></a>00148 <a name="l00149"></a>00149 <span class="keywordtype">void</span> MinEdgeF(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *id_v, <span class="keyword">const</span> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> *cellIds, <a name="l00150"></a>00150 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *edgF ); <a name="l00151"></a>00151 <span class="keywordtype">void</span> PyramidToTetra(<span class="keyword">const</span> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> *pyramId, <span class="keyword">const</span> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> *cellIds, <a name="l00152"></a>00152 <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *newCellArray); <a name="l00153"></a>00153 <span class="keywordtype">void</span> WedgeToTetra(<span class="keyword">const</span> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> *wedgeId, <span class="keyword">const</span> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> *cellIds, <a name="l00154"></a>00154 <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *newCellArray); <a name="l00155"></a>00155 <span class="keywordtype">void</span> CellGrid(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> typeobj, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> npts, <span class="keyword">const</span> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> *cellIds, <a name="l00156"></a>00156 <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *newCellArray); <a name="l00157"></a>00157 <span class="keywordtype">void</span> CreateTetra(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> npts, <span class="keyword">const</span> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> *cellIds, <a name="l00158"></a>00158 <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *newCellArray); <a name="l00159"></a>00159 <span class="keywordtype">void</span> ClipBox(<a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *newPoints,<a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00160"></a>00160 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *tets,<a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a name="l00161"></a>00161 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD,<a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD,<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a name="l00162"></a>00162 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *outCD); <a name="l00163"></a>00163 <span class="keywordtype">void</span> ClipHexahedron(<a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *newPoints, <a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00164"></a>00164 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *tets, <a name="l00165"></a>00165 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD, <a name="l00166"></a>00166 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *outCD); <a name="l00167"></a>00167 <span class="keywordtype">void</span> ClipBoxInOut(<a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *newPoints, <a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00168"></a>00168 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> **tets, <a name="l00169"></a>00169 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD, <a name="l00170"></a>00170 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> **outCD); <a name="l00171"></a>00171 <span class="keywordtype">void</span> ClipHexahedronInOut(<a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *newPoints,<a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00172"></a>00172 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> **tets, <a name="l00173"></a>00173 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD, <a name="l00174"></a>00174 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a name="l00175"></a>00175 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> **outCD); <a name="l00176"></a>00176 <a name="l00177"></a>00177 <span class="keywordtype">void</span> ClipBox2D(<a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *newPoints, <a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00178"></a>00178 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *tets, <a name="l00179"></a>00179 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD, <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD, <a name="l00180"></a>00180 <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *outCD); <a name="l00181"></a>00181 <span class="keywordtype">void</span> ClipBoxInOut2D(<a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *newPoints,<a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00182"></a>00182 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> **tets, <a name="l00183"></a>00183 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD, <a name="l00184"></a>00184 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> **outCD); <a name="l00185"></a>00185 <span class="keywordtype">void</span> ClipHexahedron2D(<a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *newPoints,<a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00186"></a>00186 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *tets, <a name="l00187"></a>00187 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD, <a name="l00188"></a>00188 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a name="l00189"></a>00189 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *outCD); <a name="l00190"></a>00190 <span class="keywordtype">void</span> ClipHexahedronInOut2D(<a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *newPoints, <a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00191"></a>00191 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> **tets, <a name="l00192"></a>00192 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD, <a name="l00193"></a>00193 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD,<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a name="l00194"></a>00194 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> **outCD); <a name="l00195"></a>00195 <a name="l00196"></a>00196 <span class="keywordtype">void</span> ClipBox1D(<a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *newPoints, <a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00197"></a>00197 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *lines, <a name="l00198"></a>00198 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD, <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD, <a name="l00199"></a>00199 <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *outCD); <a name="l00200"></a>00200 <span class="keywordtype">void</span> ClipBoxInOut1D(<a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *newPoints, <a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00201"></a>00201 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> **lines, <a name="l00202"></a>00202 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD, <a name="l00203"></a>00203 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> **outCD); <a name="l00204"></a>00204 <span class="keywordtype">void</span> ClipHexahedron1D(<a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *newPoints, <a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00205"></a>00205 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *lines, <a name="l00206"></a>00206 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD, <a name="l00207"></a>00207 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a name="l00208"></a>00208 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *outCD); <a name="l00209"></a>00209 <span class="keywordtype">void</span> ClipHexahedronInOut1D(<a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *newPoints, <a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00210"></a>00210 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> **lines, <a name="l00211"></a>00211 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD, <a name="l00212"></a>00212 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a name="l00213"></a>00213 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> **outCD); <a name="l00214"></a>00214 <a name="l00215"></a>00215 <span class="keywordtype">void</span> ClipBox0D(<a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00216"></a>00216 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *verts, <a name="l00217"></a>00217 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD, <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD, <a name="l00218"></a>00218 <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *outCD); <a name="l00219"></a>00219 <span class="keywordtype">void</span> ClipBoxInOut0D(<a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00220"></a>00220 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> **verts, <a name="l00221"></a>00221 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD, <a name="l00222"></a>00222 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD, <a name="l00223"></a>00223 <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> **outCD); <a name="l00224"></a>00224 <span class="keywordtype">void</span> ClipHexahedron0D(<a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00225"></a>00225 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *verts, <a name="l00226"></a>00226 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD, <a name="l00227"></a>00227 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD, <a name="l00228"></a>00228 <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *outCD); <a name="l00229"></a>00229 <span class="keywordtype">void</span> ClipHexahedronInOut0D(<a class="code" href="a00582.html" title="provides thread-safe access to cells">vtkGenericCell</a> *cell, <a name="l00230"></a>00230 <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator, <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> **verts, <a name="l00231"></a>00231 <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *inPD, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *outPD, <a name="l00232"></a>00232 <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *inCD, <a name="l00233"></a>00233 <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> cellId, <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> **outCD); <a name="l00234"></a>00234 <span class="keyword">protected</span>: <a name="l00235"></a>00235 <a class="code" href="a00196.html" title="clip an unstructured grid">vtkBoxClipDataSet</a>(); <a name="l00236"></a>00236 ~<a class="code" href="a00196.html" title="clip an unstructured grid">vtkBoxClipDataSet</a>(); <a name="l00237"></a>00237 <a name="l00238"></a>00238 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01790.html#c245179e9e4f4d4f83bf29fd4933b985">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="l00239"></a>00239 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01790.html#1eb860b284f61b78bd00d5776545bd87">FillInputPortInformation</a>(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21023da246d4a744e861548382bb79fad81">info</a>); <a name="l00240"></a>00240 <a name="l00241"></a><a class="code" href="a00196.html#64dcc6e7fb75e2f5ed2f0099ecdd4625">00241</a> <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *Locator; <a name="l00242"></a><a class="code" href="a00196.html#c085881574e52c60e8a56fe4a417d371">00242</a> <span class="keywordtype">int</span> GenerateClipScalars; <a name="l00243"></a>00243 <a name="l00244"></a><a class="code" href="a00196.html#470280478c54186c721cb7634257481a">00244</a> <span class="keywordtype">int</span> GenerateClippedOutput; <a name="l00245"></a>00245 <a name="l00246"></a>00246 <span class="comment">//double MergeTolerance;</span> <a name="l00247"></a>00247 <a name="l00248"></a><a class="code" href="a00196.html#05b18cf4da63708e9f8142831f71f7ce">00248</a> <span class="keywordtype">double</span> BoundBoxClip[3][2]; <a name="l00249"></a><a class="code" href="a00196.html#deee18ca0e424c194e21f6c7bce7a418">00249</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> Orientation; <a name="l00250"></a><a class="code" href="a00196.html#977e063e6429dbaedc67b9362c767e9f">00250</a> <span class="keywordtype">double</span> PlaneNormal[6][3]; <span class="comment">//normal of each plane</span> <a name="l00251"></a><a class="code" href="a00196.html#5a2646d1a8194416b9e1cc3dcac69504">00251</a> <span class="keywordtype">double</span> PlanePoint[6][3]; <span class="comment">//point on the plane </span> <a name="l00252"></a>00252 <a name="l00253"></a>00253 <span class="keyword">private</span>: <a name="l00254"></a>00254 <a class="code" href="a00196.html" title="clip an unstructured grid">vtkBoxClipDataSet</a>(<span class="keyword">const</span> <a class="code" href="a00196.html" title="clip an unstructured grid">vtkBoxClipDataSet</a>&); <span class="comment">// Not implemented.</span> <a name="l00255"></a>00255 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00196.html" title="clip an unstructured grid">vtkBoxClipDataSet</a>&); <span class="comment">// Not implemented.</span> <a name="l00256"></a>00256 }; <a name="l00257"></a>00257 <a name="l00258"></a>00258 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:25 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>