Sophie

Sophie

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

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/vtkExtractTensorComponents.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/vtkExtractTensorComponents.h</h1><a href="a02542.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: vtkExtractTensorComponents.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 __vtkExtractTensorComponents_h</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#define __vtkExtractTensorComponents_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><a class="code" href="a02542.html#b092a242b1c886ce32211b193267363d">00050</a> <span class="preprocessor">#define VTK_EXTRACT_COMPONENT 0</span>
<a name="l00051"></a><a class="code" href="a02542.html#25b953d54e857192a7d261fb3ea89bcd">00051</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_EXTRACT_EFFECTIVE_STRESS 1</span>
<a name="l00052"></a><a class="code" href="a02542.html#590e190f0b8001e17554e7ca0f4c72fb">00052</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_EXTRACT_DETERMINANT 2</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span>
<a name="l00054"></a><a class="code" href="a00522.html">00054</a> <span class="keyword">class </span><a class="code" href="a02170.html#c3c1ffe2fe47b9b70ba90182b7860cce">VTK_GRAPHICS_EXPORT</a> <a class="code" href="a00522.html" title="extract parts of tensor and create a scalar, vector, normal, or texture coordinates...">vtkExtractTensorComponents</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="l00055"></a>00055 {
<a name="l00056"></a>00056 <span class="keyword">public</span>:
<a name="l00057"></a><a class="code" href="a00522.html#69782e0ba3d6369d76280923fb5d8c24">00057</a>   vtkTypeRevisionMacro(<a class="code" href="a00522.html" title="extract parts of tensor and create a scalar, vector, normal, or texture coordinates...">vtkExtractTensorComponents</a>,<a class="code" href="a00375.html" title="Superclass for algorithms that produce output of the same type as input.">vtkDataSetAlgorithm</a>);
<a name="l00058"></a>00058   <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="l00059"></a>00059 
<a name="l00062"></a>00062   <span class="keyword">static</span> <a class="code" href="a00522.html" title="extract parts of tensor and create a scalar, vector, normal, or texture coordinates...">vtkExtractTensorComponents</a> *<a class="code" href="a00375.html#366c8a9b4e61249c93fd2f7a492de9cb">New</a>();
<a name="l00063"></a>00063 
<a name="l00065"></a>00065 
<a name="l00066"></a>00066   vtkSetMacro(PassTensorsToOutput,<span class="keywordtype">int</span>);
<a name="l00067"></a>00067   vtkGetMacro(PassTensorsToOutput,<span class="keywordtype">int</span>);
<a name="l00068"></a>00068   vtkBooleanMacro(PassTensorsToOutput,<span class="keywordtype">int</span>);
<a name="l00070"></a>00070 
<a name="l00072"></a>00072 
<a name="l00073"></a>00073   vtkSetMacro(ExtractScalars,<span class="keywordtype">int</span>);
<a name="l00074"></a>00074   vtkGetMacro(ExtractScalars,<span class="keywordtype">int</span>);
<a name="l00075"></a>00075   vtkBooleanMacro(ExtractScalars,<span class="keywordtype">int</span>);
<a name="l00077"></a>00077 
<a name="l00079"></a>00079 
<a name="l00080"></a>00080   vtkSetVector2Macro(ScalarComponents,<span class="keywordtype">int</span>);
<a name="l00081"></a>00081   vtkGetVectorMacro(ScalarComponents,<span class="keywordtype">int</span>,2);
<a name="l00083"></a>00083 
<a name="l00085"></a>00085 
<a name="l00089"></a>00089   vtkSetMacro(ScalarMode,<span class="keywordtype">int</span>);
<a name="l00090"></a>00090   vtkGetMacro(ScalarMode,<span class="keywordtype">int</span>);
<a name="l00091"></a><a class="code" href="a00522.html#f1f07c77d6685a6ff1a986b13e9773dd">00091</a>   <span class="keywordtype">void</span> SetScalarModeToComponent()
<a name="l00092"></a>00092     {this-&gt;SetScalarMode(<a class="code" href="a02542.html#b092a242b1c886ce32211b193267363d">VTK_EXTRACT_COMPONENT</a>);};
<a name="l00093"></a><a class="code" href="a00522.html#096b295f62e2e77046017340a094204e">00093</a>   <span class="keywordtype">void</span> SetScalarModeToEffectiveStress()
<a name="l00094"></a>00094     {this-&gt;SetScalarMode(<a class="code" href="a02542.html#25b953d54e857192a7d261fb3ea89bcd">VTK_EXTRACT_EFFECTIVE_STRESS</a>);};
<a name="l00095"></a><a class="code" href="a00522.html#0ac1582e498e9d30c6402e1048fc844c">00095</a>   <span class="keywordtype">void</span> SetScalarModeToDeterminant()
<a name="l00096"></a>00096     {this-&gt;SetScalarMode(<a class="code" href="a02542.html#590e190f0b8001e17554e7ca0f4c72fb">VTK_EXTRACT_DETERMINANT</a>);};
<a name="l00097"></a><a class="code" href="a00522.html#5b1af8f7abb43e7c600e1becdc6c7ebd">00097</a>   <span class="keywordtype">void</span> ScalarIsComponent()
<a name="l00098"></a>00098     {this-&gt;SetScalarMode(<a class="code" href="a02542.html#b092a242b1c886ce32211b193267363d">VTK_EXTRACT_COMPONENT</a>);};
<a name="l00099"></a><a class="code" href="a00522.html#9f04b74169b27d8dd57bf900b3bf9d5c">00099</a>   <span class="keywordtype">void</span> ScalarIsEffectiveStress()
<a name="l00100"></a>00100     {this-&gt;SetScalarMode(<a class="code" href="a02542.html#25b953d54e857192a7d261fb3ea89bcd">VTK_EXTRACT_EFFECTIVE_STRESS</a>);};
<a name="l00101"></a><a class="code" href="a00522.html#9bf8157f946ab5e34712494a8b953e01">00101</a>   <span class="keywordtype">void</span> ScalarIsDeterminant()
<a name="l00102"></a>00102     {this-&gt;SetScalarMode(<a class="code" href="a02542.html#590e190f0b8001e17554e7ca0f4c72fb">VTK_EXTRACT_DETERMINANT</a>);};
<a name="l00104"></a>00104 
<a name="l00106"></a>00106 
<a name="l00107"></a>00107   vtkSetMacro(ExtractVectors,<span class="keywordtype">int</span>);
<a name="l00108"></a>00108   vtkGetMacro(ExtractVectors,<span class="keywordtype">int</span>);
<a name="l00109"></a>00109   vtkBooleanMacro(ExtractVectors,<span class="keywordtype">int</span>);
<a name="l00111"></a>00111 
<a name="l00113"></a>00113 
<a name="l00115"></a>00115   vtkSetVector6Macro(VectorComponents,<span class="keywordtype">int</span>);
<a name="l00116"></a>00116   vtkGetVectorMacro(VectorComponents,<span class="keywordtype">int</span>,6);
<a name="l00118"></a>00118 
<a name="l00119"></a>00119 
<a name="l00121"></a>00121 
<a name="l00122"></a>00122   vtkSetMacro(ExtractNormals,<span class="keywordtype">int</span>);
<a name="l00123"></a>00123   vtkGetMacro(ExtractNormals,<span class="keywordtype">int</span>);
<a name="l00124"></a>00124   vtkBooleanMacro(ExtractNormals,<span class="keywordtype">int</span>);
<a name="l00126"></a>00126 
<a name="l00128"></a>00128 
<a name="l00130"></a>00130   vtkSetMacro(NormalizeNormals,<span class="keywordtype">int</span>);
<a name="l00131"></a>00131   vtkGetMacro(NormalizeNormals,<span class="keywordtype">int</span>);
<a name="l00132"></a>00132   vtkBooleanMacro(NormalizeNormals,<span class="keywordtype">int</span>);
<a name="l00134"></a>00134 
<a name="l00136"></a>00136 
<a name="l00138"></a>00138   vtkSetVector6Macro(NormalComponents,<span class="keywordtype">int</span>);
<a name="l00139"></a>00139   vtkGetVectorMacro(NormalComponents,<span class="keywordtype">int</span>,6);
<a name="l00141"></a>00141 
<a name="l00143"></a>00143 
<a name="l00145"></a>00145   vtkSetMacro(ExtractTCoords,<span class="keywordtype">int</span>);
<a name="l00146"></a>00146   vtkGetMacro(ExtractTCoords,<span class="keywordtype">int</span>);
<a name="l00147"></a>00147   vtkBooleanMacro(ExtractTCoords,<span class="keywordtype">int</span>);
<a name="l00149"></a>00149 
<a name="l00151"></a>00151 
<a name="l00152"></a>00152   vtkSetClampMacro(NumberOfTCoords,<span class="keywordtype">int</span>,1,3);
<a name="l00153"></a>00153   vtkGetMacro(NumberOfTCoords,<span class="keywordtype">int</span>);
<a name="l00155"></a>00155 
<a name="l00157"></a>00157 
<a name="l00160"></a>00160   vtkSetVector6Macro(TCoordComponents,<span class="keywordtype">int</span>);
<a name="l00161"></a>00161   vtkGetVectorMacro(TCoordComponents,<span class="keywordtype">int</span>,6);
<a name="l00163"></a>00163 
<a name="l00164"></a>00164 <span class="keyword">protected</span>:
<a name="l00165"></a>00165   <a class="code" href="a00522.html" title="extract parts of tensor and create a scalar, vector, normal, or texture coordinates...">vtkExtractTensorComponents</a>();
<a name="l00166"></a><a class="code" href="a00522.html#5baa7a51d0c2c5fd1c3bdf91f0f28b00">00166</a>   ~<a class="code" href="a00522.html" title="extract parts of tensor and create a scalar, vector, normal, or texture coordinates...">vtkExtractTensorComponents</a>() {};
<a name="l00167"></a>00167 
<a name="l00168"></a>00168   <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="l00169"></a>00169 
<a name="l00170"></a><a class="code" href="a00522.html#b7b207313e5bc459d56969f3539376e7">00170</a>   <span class="keywordtype">int</span> PassTensorsToOutput;
<a name="l00171"></a>00171 
<a name="l00172"></a><a class="code" href="a00522.html#ecc1916fc4af01cdf533e1becffd6572">00172</a>   <span class="keywordtype">int</span> ExtractScalars;
<a name="l00173"></a><a class="code" href="a00522.html#35c78ed961d840e9bbedc453b86821af">00173</a>   <span class="keywordtype">int</span> ExtractVectors;
<a name="l00174"></a><a class="code" href="a00522.html#b768ab497b46eff717a829157047bfd3">00174</a>   <span class="keywordtype">int</span> ExtractNormals;
<a name="l00175"></a><a class="code" href="a00522.html#645e3987807faba53cbceefe95783f35">00175</a>   <span class="keywordtype">int</span> ExtractTCoords;
<a name="l00176"></a>00176 
<a name="l00177"></a><a class="code" href="a00522.html#b816a7d3c5ca46975253e8ebb90c11a5">00177</a>   <span class="keywordtype">int</span> ScalarMode;
<a name="l00178"></a><a class="code" href="a00522.html#33b8924fdac285156a29a9095ccc17e0">00178</a>   <span class="keywordtype">int</span> ScalarComponents[2];
<a name="l00179"></a>00179 
<a name="l00180"></a><a class="code" href="a00522.html#15d1665a6e35f12e600e0e167995d12b">00180</a>   <span class="keywordtype">int</span> VectorComponents[6];
<a name="l00181"></a>00181 
<a name="l00182"></a><a class="code" href="a00522.html#d2399d3da4b254ccb705af243c25eb72">00182</a>   <span class="keywordtype">int</span> NormalizeNormals;
<a name="l00183"></a><a class="code" href="a00522.html#9fd501e9ca92419f69e3919122d32b8e">00183</a>   <span class="keywordtype">int</span> NormalComponents[6];
<a name="l00184"></a>00184 
<a name="l00185"></a><a class="code" href="a00522.html#31dcf718584ab0dde522e8c8f1a307c7">00185</a>   <span class="keywordtype">int</span> NumberOfTCoords;
<a name="l00186"></a><a class="code" href="a00522.html#fef9185b34578a1bde757f5bf67e12f8">00186</a>   <span class="keywordtype">int</span> TCoordComponents[6];
<a name="l00187"></a>00187 
<a name="l00188"></a>00188 <span class="keyword">private</span>:
<a name="l00189"></a>00189   <a class="code" href="a00522.html" title="extract parts of tensor and create a scalar, vector, normal, or texture coordinates...">vtkExtractTensorComponents</a>(<span class="keyword">const</span> <a class="code" href="a00522.html" title="extract parts of tensor and create a scalar, vector, normal, or texture coordinates...">vtkExtractTensorComponents</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00190"></a>00190   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00522.html" title="extract parts of tensor and create a scalar, vector, normal, or texture coordinates...">vtkExtractTensorComponents</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00191"></a>00191 };
<a name="l00192"></a>00192 
<a name="l00193"></a>00193 <span class="preprocessor">#endif</span>
<a name="l00194"></a>00194 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:26 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>