<!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/vtkMesaProjectedTetrahedraMapper.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/VolumeRendering/vtkMesaProjectedTetrahedraMapper.h</h1><a href="a03613.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: vtkMesaProjectedTetrahedraMapper.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="l00016"></a>00016 <span class="comment">/*</span> <a name="l00017"></a>00017 <span class="comment"> * Copyright 2003 Sandia Corporation.</span> <a name="l00018"></a>00018 <span class="comment"> * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive</span> <a name="l00019"></a>00019 <span class="comment"> * license for use of this work by or on behalf of the</span> <a name="l00020"></a>00020 <span class="comment"> * U.S. Government. Redistribution and use in source and binary forms, with</span> <a name="l00021"></a>00021 <span class="comment"> * or without modification, are permitted provided that this Notice and any</span> <a name="l00022"></a>00022 <span class="comment"> * statement of authorship are reproduced on all copies.</span> <a name="l00023"></a>00023 <span class="comment"> */</span> <a name="l00024"></a>00024 <a name="l00035"></a>00035 <span class="preprocessor">#ifndef __vtkMesaProjectedTetrahedraMapper_h</span> <a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#define __vtkMesaProjectedTetrahedraMapper_h</span> <a name="l00037"></a>00037 <span class="preprocessor"></span> <a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="a03622.html">vtkProjectedTetrahedraMapper.h</a>"</span> <a name="l00039"></a>00039 <a name="l00040"></a>00040 <span class="keyword">class </span><a class="code" href="a01836.html" title="Abstract class that can sort cell data along a viewpoint.">vtkVisibilitySort</a>; <a name="l00041"></a>00041 <span class="keyword">class </span><a class="code" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a>; <a name="l00042"></a>00042 <span class="keyword">class </span><a class="code" href="a00556.html" title="dynamic, self-adjusting array of float">vtkFloatArray</a>; <a name="l00043"></a>00043 <a name="l00044"></a><a class="code" href="a01028.html">00044</a> <span class="keyword">class </span><a class="code" href="a02170.html#4c512a1c00e5052ca1bbef09929dba95">VTK_VOLUMERENDERING_EXPORT</a> <a class="code" href="a01028.html" title="Mesa implementation of PT.">vtkMesaProjectedTetrahedraMapper</a> : <span class="keyword">public</span> <a class="code" href="a01315.html" title="Unstructured grid volume renderer.">vtkProjectedTetrahedraMapper</a> <a name="l00045"></a>00045 { <a name="l00046"></a>00046 <span class="keyword">public</span>: <a name="l00047"></a>00047 vtkTypeRevisionMacro(<a class="code" href="a01028.html" title="Mesa implementation of PT.">vtkMesaProjectedTetrahedraMapper</a>, <a name="l00048"></a><a class="code" href="a01028.html#5551493c830387d64ee7840ecf082709">00048</a> <a class="code" href="a01315.html" title="Unstructured grid volume renderer.">vtkProjectedTetrahedraMapper</a>); <a name="l00049"></a>00049 <span class="keyword">static</span> <a class="code" href="a01028.html" title="Mesa implementation of PT.">vtkMesaProjectedTetrahedraMapper</a> *<a class="code" href="a01315.html#03ecad97a69eaf56cb0e0ae53d2cf355">New</a>(); <a name="l00050"></a>00050 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01315.html#d163e729b84de9aa9ebf4f9d7c06e307">PrintSelf</a>(ostream &os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00051"></a>00051 <a name="l00052"></a>00052 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01803.html#345fa14b20de721f55c42d6aa2e3e7a4">ReleaseGraphicsResources</a>(<a class="code" href="a01886.html" title="window superclass for vtkRenderWindow">vtkWindow</a> *window); <a name="l00053"></a>00053 <a name="l00054"></a>00054 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01803.html#9046c63e2b21cc2875ea2cd459e3e957">Render</a>(<a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a> *renderer, <a class="code" href="a01839.html" title="represents a volume (data &amp; properties) in a rendered scene">vtkVolume</a> *volume); <a name="l00055"></a>00055 <a name="l00056"></a>00056 <span class="keyword">protected</span>: <a name="l00057"></a>00057 <a class="code" href="a01028.html" title="Mesa implementation of PT.">vtkMesaProjectedTetrahedraMapper</a>(); <a name="l00058"></a>00058 ~<a class="code" href="a01028.html" title="Mesa implementation of PT.">vtkMesaProjectedTetrahedraMapper</a>(); <a name="l00059"></a>00059 <a name="l00060"></a><a class="code" href="a01028.html#07a484a6c864fae89e7d9f3f022c56eb">00060</a> <a class="code" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a> *Colors; <a name="l00061"></a><a class="code" href="a01028.html#1c0e6612a65a4eeb941b4094e821b5e5">00061</a> <span class="keywordtype">int</span> UsingCellColors; <a name="l00062"></a>00062 <a name="l00063"></a><a class="code" href="a01028.html#e10a1e2f00c64d009512a10da4f07426">00063</a> <a class="code" href="a00556.html" title="dynamic, self-adjusting array of float">vtkFloatArray</a> *TransformedPoints; <a name="l00064"></a>00064 <a name="l00065"></a><a class="code" href="a01028.html#90b7c26123493023773cca25bddec396">00065</a> <span class="keywordtype">float</span> MaxCellSize; <a name="l00066"></a><a class="code" href="a01028.html#d2baa362245d2bea59806f1c51dded3f">00066</a> <a class="code" href="a01719.html" title="record modification and/or execution time">vtkTimeStamp</a> InputAnalyzedTime; <a name="l00067"></a><a class="code" href="a01028.html#ef3453d0ed54dd9660b60f172dd192f2">00067</a> <a class="code" href="a01719.html" title="record modification and/or execution time">vtkTimeStamp</a> OpacityTextureTime; <a name="l00068"></a><a class="code" href="a01028.html#a345189f6010e4fdc900a78e14f16d5c">00068</a> <a class="code" href="a01719.html" title="record modification and/or execution time">vtkTimeStamp</a> ColorsMappedTime; <a name="l00069"></a>00069 <a name="l00070"></a><a class="code" href="a01028.html#360d979d450ea30c5c2f00347e268149">00070</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> OpacityTexture; <a name="l00071"></a>00071 <a name="l00072"></a><a class="code" href="a01028.html#c70091a0b0e2409727e565c4feffc8a1">00072</a> <span class="keywordtype">int</span> GaveError; <a name="l00073"></a>00073 <a name="l00074"></a><a class="code" href="a01028.html#f50d6bfcb72496324291f6b4f1c484ca">00074</a> <a class="code" href="a01844.html" title="represents the common properties for rendering a volume.">vtkVolumeProperty</a> *LastProperty; <a name="l00075"></a>00075 <a name="l00076"></a><a class="code" href="a01028.html#d2d42a0b294446bd80c8a900b2bc5038">00076</a> <span class="keywordtype">float</span> *SqrtTable; <a name="l00077"></a><a class="code" href="a01028.html#878096836530d7ee423900f2a28c1ad6">00077</a> <span class="keywordtype">float</span> SqrtTableBias; <a name="l00078"></a>00078 <a name="l00079"></a>00079 <span class="keyword">virtual</span> <span class="keywordtype">void</span> ProjectTetrahedra(<a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a> *renderer, <a class="code" href="a01839.html" title="represents a volume (data &amp; properties) in a rendered scene">vtkVolume</a> *volume); <a name="l00080"></a>00080 <a name="l00081"></a>00081 <span class="keywordtype">float</span> GetCorrectedDepth(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z1, <span class="keywordtype">float</span> z2, <a name="l00082"></a>00082 <span class="keyword">const</span> <span class="keywordtype">float</span> inverse_projection_mat[16], <a name="l00083"></a>00083 <span class="keywordtype">int</span> use_linear_depth_correction, <a name="l00084"></a>00084 <span class="keywordtype">float</span> linear_depth_correction); <a name="l00085"></a>00085 <a name="l00086"></a>00086 <span class="keyword">private</span>: <a name="l00087"></a>00087 <a class="code" href="a01028.html" title="Mesa implementation of PT.">vtkMesaProjectedTetrahedraMapper</a>(<span class="keyword">const</span> <a class="code" href="a01028.html" title="Mesa implementation of PT.">vtkMesaProjectedTetrahedraMapper</a> &); <span class="comment">// Not Implemented.</span> <a name="l00088"></a>00088 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01028.html" title="Mesa implementation of PT.">vtkMesaProjectedTetrahedraMapper</a> &); <span class="comment">// Not Implemented.</span> <a name="l00089"></a>00089 }; <a name="l00090"></a>00090 <a name="l00091"></a>00091 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:50 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>