Sophie

Sophie

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

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/Rendering/vtkPrimitivePainter.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/Rendering/vtkPrimitivePainter.h</h1><a href="a03521.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: vtkPrimitivePainter.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="l00028"></a>00028 <span class="preprocessor">#ifndef __vtkPrimitivePainter_h</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define __vtkPrimitivePainter_h</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span>
<a name="l00031"></a>00031 <span class="preprocessor">#include "<a class="code" href="a03518.html">vtkPolyDataPainter.h</a>"</span>
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="keyword">class </span><a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a>;
<a name="l00034"></a>00034 <span class="keyword">class </span><a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a>;
<a name="l00035"></a>00035 <span class="keyword">class </span><a class="code" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a>;
<a name="l00036"></a>00036 
<a name="l00037"></a><a class="code" href="a01299.html">00037</a> <span class="keyword">class </span><a class="code" href="a02170.html#4019f67b2e7d601f2cf984e448308dbb">VTK_RENDERING_EXPORT</a> <a class="code" href="a01299.html" title="superclass for class that handle single privmitives.">vtkPrimitivePainter</a> : <span class="keyword">public</span> <a class="code" href="a01268.html" title="Abstract class for drawing poly data.">vtkPolyDataPainter</a>
<a name="l00038"></a>00038 {
<a name="l00039"></a>00039 <span class="keyword">public</span>:
<a name="l00040"></a><a class="code" href="a01299.html#73712468963de0e94ea50597fb8f4d09">00040</a>   vtkTypeRevisionMacro(<a class="code" href="a01299.html" title="superclass for class that handle single privmitives.">vtkPrimitivePainter</a>, <a class="code" href="a01268.html" title="Abstract class for drawing poly data.">vtkPolyDataPainter</a>);
<a name="l00041"></a>00041   <span class="keywordtype">void</span> <a class="code" href="a01268.html#665e2bd921fbaeecc16f96ac882fce4c">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00042"></a>00042   
<a name="l00044"></a>00044 
<a name="l00046"></a>00046   vtkGetMacro(SupportedPrimitive, <span class="keywordtype">int</span>);
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 <span class="keyword">protected</span>:
<a name="l00050"></a>00050   <a class="code" href="a01299.html" title="superclass for class that handle single privmitives.">vtkPrimitivePainter</a>();
<a name="l00051"></a>00051   ~<a class="code" href="a01299.html" title="superclass for class that handle single privmitives.">vtkPrimitivePainter</a>();
<a name="l00052"></a>00052 
<a name="l00053"></a>00053   <span class="comment">//BTX</span>
<a name="l00054"></a>00054   <span class="keyword">enum</span> {
<a name="l00055"></a><a class="code" href="a01299.html#0e2fe26d527d98d41c3eac31d3734f15d34920e7e51d416c131888939872dc7f">00055</a>     VTK_PDM_NORMALS = 0x01,
<a name="l00056"></a><a class="code" href="a01299.html#0e2fe26d527d98d41c3eac31d3734f157146638d61dcd7da26e8870931e8baab">00056</a>     VTK_PDM_COLORS = 0x02,
<a name="l00057"></a><a class="code" href="a01299.html#0e2fe26d527d98d41c3eac31d3734f15861f2ca6102897575f8cacda7adc4453">00057</a>     VTK_PDM_TCOORDS = 0x04,
<a name="l00058"></a><a class="code" href="a01299.html#0e2fe26d527d98d41c3eac31d3734f1528f06e8701d7646916ac2233efd796e3">00058</a>     VTK_PDM_CELL_COLORS = 0x08,
<a name="l00059"></a><a class="code" href="a01299.html#0e2fe26d527d98d41c3eac31d3734f154cb82040c82fb065d39a51dd108b2c16">00059</a>     VTK_PDM_CELL_NORMALS = 0x10,
<a name="l00060"></a><a class="code" href="a01299.html#0e2fe26d527d98d41c3eac31d3734f15ea8efaa5ba03182bd8f4fd7b27ba2fc7">00060</a>     VTK_PDM_OPAQUE_COLORS = 0x20,
<a name="l00061"></a><a class="code" href="a01299.html#0e2fe26d527d98d41c3eac31d3734f159908eb972dde6efbbf8b5bd9a0b7681a">00061</a>     VTK_PDM_FIELD_COLORS = 0x40,
<a name="l00062"></a><a class="code" href="a01299.html#0e2fe26d527d98d41c3eac31d3734f157aad4e39e48346fc47c5973f3d929a01">00062</a>     VTK_PDM_GENERIC_VERTEX_ATTRIBUTES =0x80
<a name="l00063"></a>00063   };
<a name="l00064"></a>00064   <span class="comment">//ETX</span>
<a name="l00065"></a>00065 
<a name="l00071"></a>00071   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01149.html#e3b984be5fedeecd2504e9532e8a8fa8">PrepareForRendering</a>(<a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a>*, <a class="code" href="a00092.html" title="represents an object (geometry &amp;amp; properties) in a rendered scene">vtkActor</a>*);
<a name="l00072"></a>00072 
<a name="l00075"></a>00075   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01268.html#91afad07a7a9984f0bda01f9d83371b1">ProcessInformation</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>*);
<a name="l00076"></a>00076 
<a name="l00079"></a>00079   <span class="keyword">virtual</span> <a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>* <a class="code" href="a01149.html#60a56a0704a73e2d98ba82cf3828e7c7">GetOutput</a>();
<a name="l00080"></a>00080 
<a name="l00082"></a>00082 
<a name="l00091"></a>00091   <span class="keyword">virtual</span> <span class="keywordtype">int</span> RenderPrimitive(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags, <a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a>* n,
<a name="l00092"></a>00092     <a class="code" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a>* c, <a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a>* t, <a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a>* ren) =0;
<a name="l00094"></a>00094 
<a name="l00096"></a>00096 
<a name="l00102"></a>00102   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01149.html#558d2bdd6d9cdd06b597d0f910558729">RenderInternal</a>(<a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a>* renderer, <a class="code" href="a00092.html" title="represents an object (geometry &amp;amp; properties) in a rendered scene">vtkActor</a>* actor, 
<a name="l00103"></a>00103                               <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> typeflags,
<a name="l00104"></a>00104                               <span class="keywordtype">bool</span> forceCompileOnly);
<a name="l00106"></a>00106 
<a name="l00108"></a>00108   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01149.html#db2b2caee87b47d1d66f7918d9dcc8fd">ReportReferences</a>(<a class="code" href="a00572.html" title="Detect and break reference loops.">vtkGarbageCollector</a> *collector);
<a name="l00109"></a>00109 
<a name="l00110"></a><a class="code" href="a01299.html#d72791115d7d677d28940f02b83b5186">00110</a>   <span class="keywordtype">int</span> SupportedPrimitive; <span class="comment">// must be set by subclasses.</span>
<a name="l00111"></a><a class="code" href="a01299.html#ca1646c9d279b14de8a9e028b64b2d50">00111</a>   vtkSetMacro(SupportedPrimitive, <span class="keywordtype">int</span>);
<a name="l00112"></a>00112 
<a name="l00113"></a>00113   <span class="keywordtype">int</span> DisableScalarColor;
<a name="l00114"></a>00114 
<a name="l00115"></a><a class="code" href="a01299.html#70d2a6853373792de3c1622a182b7563">00115</a>   <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a>* OutputData;
<a name="l00116"></a><a class="code" href="a01299.html#bca229ebf6fbb4c283b74f0a87b795e9">00116</a>   <a class="code" href="a01719.html" title="record modification and/or execution time">vtkTimeStamp</a> OutputUpdateTime;
<a name="l00117"></a><a class="code" href="a01299.html#de75c50466950e545966dfd8567c2771">00117</a>   <span class="keywordtype">bool</span> GenericVertexAttributes;
<a name="l00118"></a><a class="code" href="a01299.html#e7c6e798fbf1c290514b0c70ac33d6b9">00118</a>   <span class="keywordtype">bool</span> MultiTextureAttributes;
<a name="l00119"></a>00119 
<a name="l00120"></a>00120 <span class="keyword">private</span>:
<a name="l00121"></a>00121   <a class="code" href="a01299.html" title="superclass for class that handle single privmitives.">vtkPrimitivePainter</a>(<span class="keyword">const</span> <a class="code" href="a01299.html" title="superclass for class that handle single privmitives.">vtkPrimitivePainter</a>&amp;); <span class="comment">// Not implemented.</span>
<a name="l00122"></a>00122   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01299.html" title="superclass for class that handle single privmitives.">vtkPrimitivePainter</a>&amp;); <span class="comment">// Not implemented.</span>
<a name="l00123"></a>00123 };
<a name="l00124"></a>00124 
<a name="l00125"></a>00125 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:48 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>