<!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/vtkPainterPolyDataMapper.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/Rendering/vtkPainterPolyDataMapper.h</h1><a href="a03509.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: vtkPainterPolyDataMapper.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="l00027"></a>00027 <span class="preprocessor">#ifndef __vtkPainterPolyDataMapper_h</span> <a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define __vtkPainterPolyDataMapper_h</span> <a name="l00029"></a>00029 <span class="preprocessor"></span> <a name="l00030"></a>00030 <span class="preprocessor">#include "<a class="code" href="a03516.html">vtkPolyDataMapper.h</a>"</span> <a name="l00031"></a>00031 <a name="l00032"></a>00032 <span class="keyword">class </span>vtkPainterPolyDataMapperObserver; <a name="l00033"></a>00033 <span class="keyword">class </span><a class="code" href="a01149.html" title="Abstract class for drawing poly data.">vtkPainter</a>; <a name="l00034"></a>00034 <a name="l00035"></a><a class="code" href="a01151.html">00035</a> <span class="keyword">class </span><a class="code" href="a02170.html#4019f67b2e7d601f2cf984e448308dbb">VTK_RENDERING_EXPORT</a> <a class="code" href="a01151.html" title="PolyDataMapper using painters.">vtkPainterPolyDataMapper</a> : <span class="keyword">public</span> <a class="code" href="a01265.html" title="map vtkPolyData to graphics primitives">vtkPolyDataMapper</a> <a name="l00036"></a>00036 { <a name="l00037"></a>00037 <span class="keyword">public</span>: <a name="l00038"></a>00038 <span class="keyword">static</span> <a class="code" href="a01151.html" title="PolyDataMapper using painters.">vtkPainterPolyDataMapper</a>* <a class="code" href="a01265.html#dc14aef6971190e9e56a9d705fce4cb8">New</a>(); <a name="l00039"></a><a class="code" href="a01151.html#2fbe2d3374a83c6199748720f5c96adf">00039</a> vtkTypeRevisionMacro(<a class="code" href="a01151.html" title="PolyDataMapper using painters.">vtkPainterPolyDataMapper</a>, <a class="code" href="a01265.html" title="map vtkPolyData to graphics primitives">vtkPolyDataMapper</a>); <a name="l00040"></a>00040 <span class="keywordtype">void</span> <a class="code" href="a01265.html#8305167edda39992ab1acfad94c53032">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00041"></a>00041 <a name="l00043"></a>00043 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01265.html#202ef63d48cbdd28c31068e0c5970913">RenderPiece</a>(<a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a> *ren, <a class="code" href="a00092.html" title="represents an object (geometry &amp; properties) in a rendered scene">vtkActor</a> *act); <a name="l00044"></a>00044 <a name="l00046"></a>00046 <a name="l00050"></a>00050 vtkGetObjectMacro(Painter, <a class="code" href="a01149.html" title="Abstract class for drawing poly data.">vtkPainter</a>); <a name="l00051"></a>00051 <span class="keywordtype">void</span> SetPainter(<a class="code" href="a01149.html" title="Abstract class for drawing poly data.">vtkPainter</a>*); <a name="l00053"></a>00053 <a name="l00057"></a>00057 <span class="keywordtype">void</span> <a class="code" href="a00984.html#d68b7ec1c5b7ce2e2f8ca97aeb2b4047">ReleaseGraphicsResources</a>(<a class="code" href="a01886.html" title="window superclass for vtkRenderWindow">vtkWindow</a> *); <a name="l00058"></a>00058 <a name="l00060"></a>00060 <a name="l00061"></a><a class="code" href="a01151.html#d4f11c8860077d32fba86078de3ba977">00061</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01265.html#972b3dae12d5611a813846bbc7f0195f">GetBounds</a>(<span class="keywordtype">double</span> bounds[6]) <a name="l00062"></a>00062 { this->Superclass::GetBounds(bounds); } <a name="l00063"></a>00063 <span class="keyword">virtual</span> <span class="keywordtype">double</span> *<a class="code" href="a01265.html#972b3dae12d5611a813846bbc7f0195f">GetBounds</a>(); <a name="l00065"></a>00065 <a name="l00067"></a>00067 <a name="l00075"></a>00075 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01265.html#0003bf5ac9431d8fca73cc2a68c8bd6c">MapDataArrayToVertexAttribute</a>( <a name="l00076"></a>00076 <span class="keyword">const</span> <span class="keywordtype">char</span>* vertexAttributeName, <a name="l00077"></a>00077 <span class="keyword">const</span> <span class="keywordtype">char</span>* dataArrayName, <span class="keywordtype">int</span> fieldAssociation, <span class="keywordtype">int</span> componentno=-1); <a name="l00079"></a>00079 <a name="l00080"></a>00080 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01265.html#954f7a90ccc59da19c28195e5581c2e9">MapDataArrayToMultiTextureAttribute</a>( <a name="l00081"></a>00081 <span class="keywordtype">int</span> unit, <a name="l00082"></a>00082 <span class="keyword">const</span> <span class="keywordtype">char</span>* dataArrayName, <span class="keywordtype">int</span> fieldAssociation, <span class="keywordtype">int</span> componentno=-1); <a name="l00083"></a>00083 <a name="l00085"></a>00085 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01265.html#5c26be5821736f85636e1235878f3a2f">RemoveVertexAttributeMapping</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* vertexAttributeName); <a name="l00086"></a>00086 <a name="l00088"></a>00088 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01265.html#12e697ca4ff8ce32ea271686a63c6af1">RemoveAllVertexAttributeMappings</a>(); <a name="l00089"></a>00089 <a name="l00091"></a>00091 <a name="l00092"></a>00092 vtkGetObjectMacro(SelectionPainter, <a class="code" href="a01149.html" title="Abstract class for drawing poly data.">vtkPainter</a>); <a name="l00093"></a>00093 <span class="keywordtype">void</span> SetSelectionPainter(<a class="code" href="a01149.html" title="Abstract class for drawing poly data.">vtkPainter</a>*); <a name="l00095"></a>00095 <a name="l00097"></a>00097 <a name="l00101"></a><a class="code" href="a01151.html#986e8beb4a7b000fd6b5e77344b73bf4">00101</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="a00984.html#3c5c6d8a4ff368a9051ba5c35c8f1781">GetSupportsSelection</a>() <a name="l00102"></a>00102 { <span class="keywordflow">return</span> (this->SelectionPainter != 0); } <a name="l00104"></a>00104 <a name="l00105"></a>00105 <span class="keyword">protected</span>: <a name="l00106"></a>00106 <a class="code" href="a01151.html" title="PolyDataMapper using painters.">vtkPainterPolyDataMapper</a>(); <a name="l00107"></a>00107 ~<a class="code" href="a01151.html" title="PolyDataMapper using painters.">vtkPainterPolyDataMapper</a>(); <a name="l00108"></a>00108 <a name="l00111"></a>00111 <span class="keyword">virtual</span> <span class="keywordtype">void</span> UpdatePainterInformation(); <a name="l00112"></a>00112 <a name="l00114"></a>00114 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00101.html#2640547007328b99cfb851143f0f706d">ReportReferences</a>(<a class="code" href="a00572.html" title="Detect and break reference loops.">vtkGarbageCollector</a> *collector); <a name="l00115"></a>00115 <a name="l00116"></a><a class="code" href="a01151.html#93d106fa42ddf4818ed81750fb0da26f">00116</a> <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* PainterInformation; <a name="l00117"></a><a class="code" href="a01151.html#a2d23e30afd4d283a1727b40ab202660">00117</a> <a class="code" href="a01719.html" title="record modification and/or execution time">vtkTimeStamp</a> PainterUpdateTime; <a name="l00118"></a><a class="code" href="a01151.html#7d36edc5b9c4ad89f094632277e6c61a">00118</a> <a class="code" href="a01149.html" title="Abstract class for drawing poly data.">vtkPainter</a>* Painter; <a name="l00119"></a>00119 <span class="comment">// Painter used when rendering for hardware selection </span> <a name="l00120"></a>00120 <span class="comment">// (look at vtkHardwareSelector).</span> <a name="l00121"></a><a class="code" href="a01151.html#4954c8f1e6b1110a430890b4388d96d9">00121</a> <a class="code" href="a01149.html" title="Abstract class for drawing poly data.">vtkPainter</a>* SelectionPainter; <a name="l00122"></a><a class="code" href="a01151.html#2a2f19d9b4b30ecf36cc4e524e79b9d5">00122</a> vtkPainterPolyDataMapperObserver* Observer; <a name="l00123"></a>00123 <span class="keyword">private</span>: <a name="l00124"></a>00124 <a class="code" href="a01151.html" title="PolyDataMapper using painters.">vtkPainterPolyDataMapper</a>(<span class="keyword">const</span> <a class="code" href="a01151.html" title="PolyDataMapper using painters.">vtkPainterPolyDataMapper</a>&); <span class="comment">// Not implemented.</span> <a name="l00125"></a>00125 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01151.html" title="PolyDataMapper using painters.">vtkPainterPolyDataMapper</a>&); <span class="comment">// Not implemented.</span> <a name="l00126"></a>00126 }; <a name="l00127"></a>00127 <a name="l00128"></a>00128 <span class="preprocessor">#endif</span> <a name="l00129"></a>00129 <span class="preprocessor"></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 <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>