Sophie

Sophie

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

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/VolumeRendering/vtkUnstructuredGridBunykRayCastFunction.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/VolumeRendering/vtkUnstructuredGridBunykRayCastFunction.h</h1><a href="a03626.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: vtkUnstructuredGridBunykRayCastFunction.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 
<a name="l00059"></a>00059 <span class="preprocessor">#ifndef __vtkUnstructuredGridBunykRayCastFunction_h</span>
<a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor">#define __vtkUnstructuredGridBunykRayCastFunction_h</span>
<a name="l00061"></a>00061 <span class="preprocessor"></span>
<a name="l00062"></a>00062 <span class="preprocessor">#include "<a class="code" href="a03632.html">vtkUnstructuredGridVolumeRayCastFunction.h</a>"</span>
<a name="l00063"></a>00063 
<a name="l00064"></a>00064 <span class="keyword">class </span><a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a>;
<a name="l00065"></a>00065 <span class="keyword">class </span><a class="code" href="a01839.html" title="represents a volume (data &amp;amp; properties) in a rendered scene">vtkVolume</a>;
<a name="l00066"></a>00066 <span class="keyword">class </span><a class="code" href="a01806.html" title="A software mapper for unstructured volumes.">vtkUnstructuredGridVolumeRayCastMapper</a>;
<a name="l00067"></a>00067 <span class="keyword">class </span><a class="code" href="a00998.html" title="represent and manipulate 4x4 transformation matrices">vtkMatrix4x4</a>;
<a name="l00068"></a>00068 <span class="keyword">class </span><a class="code" href="a01215.html" title="Defines a 1D piecewise function.">vtkPiecewiseFunction</a>;
<a name="l00069"></a>00069 <span class="keyword">class </span><a class="code" href="a00290.html" title="Defines a transfer function for mapping a property to an RGB color value.">vtkColorTransferFunction</a>;
<a name="l00070"></a>00070 <span class="keyword">class </span><a class="code" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a>;
<a name="l00071"></a>00071 <span class="keyword">class </span><a class="code" href="a00720.html" title="list of point or cell ids">vtkIdList</a>;
<a name="l00072"></a>00072 <span class="keyword">class </span><a class="code" href="a00436.html" title="dynamic, self-adjusting array of double">vtkDoubleArray</a>;
<a name="l00073"></a>00073 <span class="keyword">class </span><a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a>;
<a name="l00074"></a>00074 
<a name="l00075"></a>00075 <span class="comment">// We manage the memory for the list of intersections ourself - this is the</span>
<a name="l00076"></a>00076 <span class="comment">// storage used. We keep 10,000 elements in each array, and we can have up to </span>
<a name="l00077"></a>00077 <span class="comment">// 1,000 arrays.</span>
<a name="l00078"></a><a class="code" href="a03626.html#d6cbf36860c404fe5d03e6a7ed1aef17">00078</a> <span class="preprocessor">#define VTK_BUNYKRCF_MAX_ARRAYS 10000</span>
<a name="l00079"></a><a class="code" href="a03626.html#c7a32248498264f3cafcb0c9013cbfb0">00079</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_BUNYKRCF_ARRAY_SIZE 10000</span>
<a name="l00080"></a>00080 <span class="preprocessor"></span>
<a name="l00081"></a><a class="code" href="a01791.html">00081</a> <span class="keyword">class </span><a class="code" href="a02170.html#4c512a1c00e5052ca1bbef09929dba95">VTK_VOLUMERENDERING_EXPORT</a> <a class="code" href="a01791.html" title="a superclass for ray casting functions">vtkUnstructuredGridBunykRayCastFunction</a> : <span class="keyword">public</span> <a class="code" href="a01804.html" title="a superclass for ray casting functions">vtkUnstructuredGridVolumeRayCastFunction</a>
<a name="l00082"></a>00082 { 
<a name="l00083"></a>00083 <span class="keyword">public</span>:
<a name="l00084"></a>00084   <span class="keyword">static</span> <a class="code" href="a01791.html" title="a superclass for ray casting functions">vtkUnstructuredGridBunykRayCastFunction</a> *<a class="code" href="a01084.html#4d5b227267c076d6f9e38483370b6612">New</a>();
<a name="l00085"></a><a class="code" href="a01791.html#7ba26c4dac92b829e573e27868b38490">00085</a>   vtkTypeRevisionMacro(<a class="code" href="a01791.html" title="a superclass for ray casting functions">vtkUnstructuredGridBunykRayCastFunction</a>,<a class="code" href="a01804.html" title="a superclass for ray casting functions">vtkUnstructuredGridVolumeRayCastFunction</a>);
<a name="l00086"></a>00086   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01804.html#89eb76455e5cc5595539699871a70d76">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00087"></a>00087 
<a name="l00088"></a>00088 <span class="comment">//BTX</span>
<a name="l00090"></a>00090 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01804.html#494d3a9269a6f82d10a9b48af602021b">Initialize</a>( <a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a> *ren, <a class="code" href="a01839.html" title="represents a volume (data &amp;amp; properties) in a rendered scene">vtkVolume</a>   *vol );
<a name="l00091"></a>00091   
<a name="l00093"></a>00093   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01804.html#27794f3108107aca783ecb7ba18ba35e">Finalize</a>();
<a name="l00094"></a>00094 
<a name="l00095"></a>00095   <span class="keyword">virtual</span> <a class="code" href="a01805.html">vtkUnstructuredGridVolumeRayCastIterator</a> *<a class="code" href="a01804.html#7666f9e5acfd60da074e464117bd9a1c">NewIterator</a>();
<a name="l00096"></a>00096 
<a name="l00097"></a>00097   <span class="comment">// Used to store each triangle - made public because of the </span>
<a name="l00098"></a>00098   <span class="comment">// templated function</span>
<a name="l00099"></a><a class="code" href="a01793.html">00099</a>   <span class="keyword">class </span><a class="code" href="a01793.html">Triangle</a> {
<a name="l00100"></a>00100   <span class="keyword">public</span>:
<a name="l00101"></a><a class="code" href="a01793.html#72ff68f8c694247e4cd5e47d74d88c0a">00101</a>     <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> PointIndex[3];
<a name="l00102"></a><a class="code" href="a01793.html#f416c25418901c59c0d8cb6c03ba89e8">00102</a>     <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> ReferredByTetra[2];
<a name="l00103"></a><a class="code" href="a01793.html#b8cf8d7154faa5391384fe3f3d043ed5">00103</a>     <span class="keywordtype">double</span>    P1X, P1Y;
<a name="l00104"></a><a class="code" href="a01793.html#57ae6d9ab1108aa0574a792d22080db7">00104</a>     <span class="keywordtype">double</span>    P2X, P2Y;
<a name="l00105"></a><a class="code" href="a01793.html#3af9147112fcb4bfd5cc3730f27b5376">00105</a>     <span class="keywordtype">double</span>    Denominator;
<a name="l00106"></a><a class="code" href="a01793.html#f1826ae4e80ba983f86aec2c2b1c4dae">00106</a>     <span class="keywordtype">double</span>    A, B, C, D;
<a name="l00107"></a><a class="code" href="a01793.html#bff99c8aea5c8d882a452079e897c161">00107</a>     <a class="code" href="a01793.html">Triangle</a> *Next; 
<a name="l00108"></a>00108   };
<a name="l00109"></a>00109   
<a name="l00110"></a>00110   <span class="comment">// Used to store each intersection for the pixel rays - made</span>
<a name="l00111"></a>00111   <span class="comment">// public because of the templated function</span>
<a name="l00112"></a><a class="code" href="a01792.html">00112</a>   <span class="keyword">class </span><a class="code" href="a01792.html">Intersection</a> {
<a name="l00113"></a>00113   <span class="keyword">public</span>:
<a name="l00114"></a><a class="code" href="a01792.html#c24ffe20bb59dea65cf5b818bc518e52">00114</a>     <a class="code" href="a01793.html">Triangle</a>     *TriPtr;
<a name="l00115"></a><a class="code" href="a01792.html#8bb67909f2c7f4764786216ffa898bb2">00115</a>     <span class="keywordtype">double</span>        Z;
<a name="l00116"></a><a class="code" href="a01792.html#8547793d23e6f9b15647827954cd5379">00116</a>     <a class="code" href="a01792.html">Intersection</a> *Next;
<a name="l00117"></a>00117   };
<a name="l00118"></a>00118   
<a name="l00120"></a>00120 
<a name="l00122"></a>00122   <span class="keywordtype">int</span>  InTriangle( <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y,
<a name="l00123"></a>00123                    <a class="code" href="a01793.html">Triangle</a> *triPtr );
<a name="l00125"></a>00125   
<a name="l00126"></a>00126 
<a name="l00128"></a><a class="code" href="a01791.html#6a5ef7c1223738cc0d77c881c7d7000b">00128</a>   <span class="keywordtype">double</span> *GetPoints() {<span class="keywordflow">return</span> this-&gt;Points;}
<a name="l00129"></a>00129   
<a name="l00131"></a>00131 
<a name="l00132"></a>00132   vtkGetObjectMacro( ViewToWorldMatrix, <a class="code" href="a00998.html" title="represent and manipulate 4x4 transformation matrices">vtkMatrix4x4</a> );
<a name="l00134"></a>00134   
<a name="l00136"></a>00136 
<a name="l00137"></a>00137   vtkGetVectorMacro( ImageOrigin, <span class="keywordtype">int</span>, 2 );
<a name="l00139"></a>00139 
<a name="l00141"></a>00141 
<a name="l00142"></a>00142   vtkGetVectorMacro( ImageViewportSize, <span class="keywordtype">int</span>, 2 );
<a name="l00144"></a>00144 
<a name="l00146"></a><a class="code" href="a01791.html#428e167caa485f46bd856d71827c3e8a">00146</a>   <a class="code" href="a01793.html">Triangle</a> **GetTetraTriangles () {<span class="keywordflow">return</span> this-&gt;TetraTriangles;}
<a name="l00147"></a>00147   
<a name="l00149"></a><a class="code" href="a01791.html#d8789c286408d03ded6e02e205dad40b">00149</a>   <a class="code" href="a01792.html">Intersection</a> *GetIntersectionList( <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y ) { <span class="keywordflow">return</span> this-&gt;Image[y*this-&gt;ImageSize[0] + x]; }
<a name="l00150"></a>00150 
<a name="l00151"></a>00151 <span class="comment">//ETX</span>
<a name="l00152"></a>00152   
<a name="l00153"></a>00153 <span class="keyword">protected</span>:
<a name="l00154"></a>00154   <a class="code" href="a01791.html" title="a superclass for ray casting functions">vtkUnstructuredGridBunykRayCastFunction</a>();
<a name="l00155"></a>00155   ~<a class="code" href="a01791.html" title="a superclass for ray casting functions">vtkUnstructuredGridBunykRayCastFunction</a>();
<a name="l00156"></a>00156 
<a name="l00157"></a>00157   <span class="comment">// These are cached during the initialize method so that they do not</span>
<a name="l00158"></a>00158   <span class="comment">// need to be passed into subsequent CastRay calls.</span>
<a name="l00159"></a><a class="code" href="a01791.html#bbcba64a676d0c48d4877adac05a49bc">00159</a>   <a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a>                             *Renderer;
<a name="l00160"></a><a class="code" href="a01791.html#e3ec81a1644a63c19d2a6d1b2cbbace2">00160</a>   <a class="code" href="a01839.html" title="represents a volume (data &amp;amp; properties) in a rendered scene">vtkVolume</a>                               *Volume;
<a name="l00161"></a><a class="code" href="a01791.html#8ae1d55f1d959bd594686e91eafcf26a">00161</a>   <a class="code" href="a01806.html" title="A software mapper for unstructured volumes.">vtkUnstructuredGridVolumeRayCastMapper</a>  *Mapper;
<a name="l00162"></a>00162   
<a name="l00163"></a>00163   <span class="comment">// Computed during the initialize method - if something is</span>
<a name="l00164"></a>00164   <span class="comment">// wrong (no mapper, no volume, no input, etc.) then no rendering</span>
<a name="l00165"></a>00165   <span class="comment">// will actually be performed.</span>
<a name="l00166"></a><a class="code" href="a01791.html#743e38364465326e593c74981f6e784d">00166</a>   <span class="keywordtype">int</span>                                      Valid;
<a name="l00167"></a>00167 
<a name="l00168"></a>00168   <span class="comment">// These are the transformed points</span>
<a name="l00169"></a><a class="code" href="a01791.html#f91d41e7eb81d9e4b1af5e367df841fa">00169</a>   <span class="keywordtype">int</span>      NumberOfPoints;
<a name="l00170"></a><a class="code" href="a01791.html#1265d940c0baade3515c3f15c51a7971">00170</a>   <span class="keywordtype">double</span>  *Points;
<a name="l00171"></a>00171 
<a name="l00172"></a>00172   <span class="comment">// This is the matrix that will take a transformed point back</span>
<a name="l00173"></a>00173   <span class="comment">// to world coordinates</span>
<a name="l00174"></a><a class="code" href="a01791.html#ca406b406f1f8fbba9214747c466cc2a">00174</a>   <a class="code" href="a00998.html" title="represent and manipulate 4x4 transformation matrices">vtkMatrix4x4</a> *ViewToWorldMatrix;
<a name="l00175"></a>00175 
<a name="l00176"></a>00176 
<a name="l00177"></a>00177   <span class="comment">// This is the intersection list per pixel in the image</span>
<a name="l00178"></a><a class="code" href="a01791.html#9f687add1eeedf9483caa3e1184b2e9f">00178</a>   <a class="code" href="a01792.html">Intersection</a>    **Image;
<a name="l00179"></a>00179   
<a name="l00180"></a>00180   <span class="comment">// This is the size of the image we are computing (which does</span>
<a name="l00181"></a>00181   <span class="comment">// not need to match the screen size)</span>
<a name="l00182"></a><a class="code" href="a01791.html#5791f3c8eb51cbe154809d80ac5536d2">00182</a>   <span class="keywordtype">int</span>               ImageSize[2];
<a name="l00183"></a>00183   
<a name="l00184"></a>00184   <span class="comment">// Since we may only be computing a subregion of the "full" image,</span>
<a name="l00185"></a>00185   <span class="comment">// this is the origin of the region we are computing. We must</span>
<a name="l00186"></a>00186   <span class="comment">// subtract this origin from any pixel (x,y) locations before </span>
<a name="l00187"></a>00187   <span class="comment">// accessing the pixel in this-&gt;Image (which represents only the</span>
<a name="l00188"></a>00188   <span class="comment">// subregion)</span>
<a name="l00189"></a><a class="code" href="a01791.html#9061d0ec071ee7ad40872809ff4286da">00189</a>   <span class="keywordtype">int</span>               ImageOrigin[2];
<a name="l00190"></a>00190   
<a name="l00191"></a>00191   <span class="comment">// This is the full size of the image</span>
<a name="l00192"></a><a class="code" href="a01791.html#d80ba1f78abed16314d27b56bb7bb941">00192</a>   <span class="keywordtype">int</span>               ImageViewportSize[2];
<a name="l00193"></a>00193 
<a name="l00194"></a>00194   <span class="comment">// These are values saved for the building of the TriangleList. Basically</span>
<a name="l00195"></a>00195   <span class="comment">// we need to check if the data has changed in some way.</span>
<a name="l00196"></a><a class="code" href="a01791.html#96023df9e89d106be69d706d35704612">00196</a>   <a class="code" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a>       *SavedTriangleListInput;
<a name="l00197"></a><a class="code" href="a01791.html#829f6df40e43548363a4ae98f4954b05">00197</a>   <a class="code" href="a01719.html" title="record modification and/or execution time">vtkTimeStamp</a>               SavedTriangleListMTime;
<a name="l00198"></a>00198  
<a name="l00199"></a>00199 <span class="comment">//BTX  </span>
<a name="l00200"></a>00200   <span class="comment">// This is a memory intensive algorithm! For each tetra in the </span>
<a name="l00201"></a>00201   <span class="comment">// input data we create up to 4 triangles (we don't create duplicates)</span>
<a name="l00202"></a>00202   <span class="comment">// This is the TriangleList. Then, for each tetra we keep track of</span>
<a name="l00203"></a>00203   <span class="comment">// the pointer to each of its four triangles - this is the </span>
<a name="l00204"></a>00204   <span class="comment">// TetraTriangles. We also keep a duplicate list of points </span>
<a name="l00205"></a>00205   <span class="comment">// (transformed into view space) - these are the Points. </span>
<a name="l00206"></a><a class="code" href="a01791.html#968b03754e90693c5d6961c450ca4d67">00206</a>   <a class="code" href="a01793.html">Triangle</a> **TetraTriangles;
<a name="l00207"></a><a class="code" href="a01791.html#de38ecaf7ad83eb60aa7990ba9796570">00207</a>   <a class="code" href="a01793.html">Triangle</a>  *TriangleList;
<a name="l00208"></a>00208 
<a name="l00209"></a>00209   <span class="comment">// Compute whether a boundary triangle is front facing by</span>
<a name="l00210"></a>00210   <span class="comment">// looking at the fourth point in the tetra to see if it is</span>
<a name="l00211"></a>00211   <span class="comment">// in front (triangle is backfacing) or behind (triangle is</span>
<a name="l00212"></a>00212   <span class="comment">// front facing) the plane containing the triangle.</span>
<a name="l00213"></a>00213   <span class="keywordtype">int</span>  IsTriangleFrontFacing( <a class="code" href="a01793.html">Triangle</a> *triPtr, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> tetraIndex );
<a name="l00214"></a>00214   
<a name="l00215"></a>00215   <span class="comment">// The image contains lists of intersections per pixel - we</span>
<a name="l00216"></a>00216   <span class="comment">// need to clear this during the initialization phase for each</span>
<a name="l00217"></a>00217   <span class="comment">// render.</span>
<a name="l00218"></a>00218   <span class="keywordtype">void</span> ClearImage();
<a name="l00219"></a>00219   
<a name="l00220"></a>00220   <span class="comment">// This is the memory buffer used to build the intersection</span>
<a name="l00221"></a>00221   <span class="comment">// lists. We do our own memory management here because allocating</span>
<a name="l00222"></a>00222   <span class="comment">// a bunch of small elements during rendering is too slow.</span>
<a name="l00223"></a><a class="code" href="a01791.html#f928d6e2675af95dbccd605780562837">00223</a>   <a class="code" href="a01792.html">Intersection</a> *IntersectionBuffer[<a class="code" href="a03626.html#d6cbf36860c404fe5d03e6a7ed1aef17">VTK_BUNYKRCF_MAX_ARRAYS</a>];
<a name="l00224"></a><a class="code" href="a01791.html#dbdeafc6a2a19fbb44742e86c347adb3">00224</a>   <span class="keywordtype">int</span>           IntersectionBufferCount[<a class="code" href="a03626.html#d6cbf36860c404fe5d03e6a7ed1aef17">VTK_BUNYKRCF_MAX_ARRAYS</a>];
<a name="l00225"></a>00225   
<a name="l00226"></a>00226   <span class="comment">// This method replaces new for creating a new element - it</span>
<a name="l00227"></a>00227   <span class="comment">// returns one from the big block already allocated (it </span>
<a name="l00228"></a>00228   <span class="comment">// allocates another big block if necessary)</span>
<a name="l00229"></a>00229   <span class="keywordtype">void</span>         *NewIntersection();  
<a name="l00230"></a>00230 
<a name="l00231"></a>00231   <span class="comment">// This method is used during the initialization process to</span>
<a name="l00232"></a>00232   <span class="comment">// check the validity of the objects - missing information</span>
<a name="l00233"></a>00233   <span class="comment">// such as the volume, renderer, mapper, etc. will be flagged</span>
<a name="l00234"></a>00234   <span class="comment">// and reported.</span>
<a name="l00235"></a>00235   <span class="keywordtype">int</span>          CheckValidity(<a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a> *ren,
<a name="l00236"></a>00236                              <a class="code" href="a01839.html" title="represents a volume (data &amp;amp; properties) in a rendered scene">vtkVolume</a>   *vol);
<a name="l00237"></a>00237   
<a name="l00238"></a>00238   <span class="comment">// This method is used during the initialization process to</span>
<a name="l00239"></a>00239   <span class="comment">// transform the points to view coordinates</span>
<a name="l00240"></a>00240   <span class="keywordtype">void</span>          TransformPoints();
<a name="l00241"></a>00241 
<a name="l00242"></a>00242   <span class="comment">// This method is used during the initialization process to </span>
<a name="l00243"></a>00243   <span class="comment">// create the list of triangles if the data has changed</span>
<a name="l00244"></a>00244   <span class="keywordtype">void</span>          UpdateTriangleList();
<a name="l00245"></a>00245   
<a name="l00246"></a>00246   <span class="comment">// This method is used during the initialization process to</span>
<a name="l00247"></a>00247   <span class="comment">// update the view dependent information in the triangle list</span>
<a name="l00248"></a>00248   <span class="keywordtype">void</span>          ComputeViewDependentInfo();
<a name="l00249"></a>00249   
<a name="l00250"></a>00250   <span class="comment">// This method is used during the initialization process to</span>
<a name="l00251"></a>00251   <span class="comment">// compute the intersections for each pixel with the boundary</span>
<a name="l00252"></a>00252   <span class="comment">// triangles.</span>
<a name="l00253"></a>00253   <span class="keywordtype">void</span>          ComputePixelIntersections();
<a name="l00254"></a>00254   
<a name="l00255"></a>00255 <span class="comment">//ETX</span>
<a name="l00256"></a>00256   
<a name="l00257"></a>00257 <span class="keyword">private</span>:
<a name="l00258"></a>00258   <a class="code" href="a01791.html" title="a superclass for ray casting functions">vtkUnstructuredGridBunykRayCastFunction</a>(<span class="keyword">const</span> <a class="code" href="a01791.html" title="a superclass for ray casting functions">vtkUnstructuredGridBunykRayCastFunction</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00259"></a>00259   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01791.html" title="a superclass for ray casting functions">vtkUnstructuredGridBunykRayCastFunction</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00260"></a>00260 };
<a name="l00261"></a>00261 
<a name="l00262"></a>00262 <span class="preprocessor">#endif</span>
<a name="l00263"></a>00263 <span class="preprocessor"></span>
<a name="l00264"></a>00264 
<a name="l00265"></a>00265 
<a name="l00266"></a>00266 
<a name="l00267"></a>00267 
<a name="l00268"></a>00268 
<a name="l00269"></a>00269 
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:51 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>