<!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/Filtering/vtkAbstractMapper.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/Filtering/vtkAbstractMapper.h</h1><a href="a02184.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: vtkAbstractMapper.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 __vtkAbstractMapper_h</span> <a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define __vtkAbstractMapper_h</span> <a name="l00029"></a>00029 <span class="preprocessor"></span> <a name="l00030"></a>00030 <span class="preprocessor">#include "<a class="code" href="a02189.html">vtkAlgorithm.h</a>"</span> <a name="l00031"></a>00031 <a name="l00032"></a><a class="code" href="a02184.html#0851d407b2b6bb9d53a8c6636357b4fd">00032</a> <span class="preprocessor">#define VTK_SCALAR_MODE_DEFAULT 0</span> <a name="l00033"></a><a class="code" href="a02184.html#2b3f284d7c2b0de782f3e94b48230609">00033</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_SCALAR_MODE_USE_POINT_DATA 1</span> <a name="l00034"></a><a class="code" href="a02184.html#a2b8f1f183c1b1ef0a5f81eeb75b9264">00034</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_SCALAR_MODE_USE_CELL_DATA 2</span> <a name="l00035"></a><a class="code" href="a02184.html#bf0b8d1863120d23ccc533ed3d642e71">00035</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_SCALAR_MODE_USE_POINT_FIELD_DATA 3</span> <a name="l00036"></a><a class="code" href="a02184.html#bb8df8ec0609a726b738d4ad0ca78e46">00036</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_SCALAR_MODE_USE_CELL_FIELD_DATA 4</span> <a name="l00037"></a><a class="code" href="a02184.html#69952535d9cb686a5b4e5754c0750812">00037</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_SCALAR_MODE_USE_FIELD_DATA 5</span> <a name="l00038"></a>00038 <span class="preprocessor"></span> <a name="l00039"></a><a class="code" href="a02184.html#84e1ee9219dbb7ba8843f003a4ebc66e">00039</a> <span class="preprocessor">#define VTK_GET_ARRAY_BY_ID 0</span> <a name="l00040"></a><a class="code" href="a02184.html#3171a76996a2bc93c6d698ccff2f7a6a">00040</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_GET_ARRAY_BY_NAME 1</span> <a name="l00041"></a>00041 <span class="preprocessor"></span> <a name="l00042"></a>00042 <span class="keyword">class </span><a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a>; <a name="l00043"></a>00043 <span class="keyword">class </span><a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a>; <a name="l00044"></a>00044 <span class="keyword">class </span><a class="code" href="a01224.html" title="perform various plane computations">vtkPlane</a>; <a name="l00045"></a>00045 <span class="keyword">class </span><a class="code" href="a01225.html" title="maintain a list of planes">vtkPlaneCollection</a>; <a name="l00046"></a>00046 <span class="keyword">class </span><a class="code" href="a01226.html" title="implicit function for convex set of planes">vtkPlanes</a>; <a name="l00047"></a>00047 <span class="keyword">class </span><a class="code" href="a01715.html" title="Timer support and logging.">vtkTimerLog</a>; <a name="l00048"></a>00048 <span class="keyword">class </span><a class="code" href="a01886.html" title="window superclass for vtkRenderWindow">vtkWindow</a>; <a name="l00049"></a>00049 <a name="l00050"></a><a class="code" href="a00083.html">00050</a> <span class="keyword">class </span><a class="code" href="a02170.html#95ced7977a6b6b1bf9f38bf04e3835b6">VTK_FILTERING_EXPORT</a> <a class="code" href="a00083.html" title="abstract class specifies interface to map data">vtkAbstractMapper</a> : <span class="keyword">public</span> <a class="code" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK.">vtkAlgorithm</a> <a name="l00051"></a>00051 { <a name="l00052"></a>00052 <span class="keyword">public</span>: <a name="l00053"></a><a class="code" href="a00083.html#b142624aad0d37178f6938073d3aa8a0">00053</a> vtkTypeRevisionMacro(<a class="code" href="a00083.html" title="abstract class specifies interface to map data">vtkAbstractMapper</a>,<a class="code" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK.">vtkAlgorithm</a>); <a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="a00101.html#0d96908767dcf284576ebdee795ee23a">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00055"></a>00055 <a name="l00057"></a>00057 <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a01084.html#8137c0551b29bb996f0dd2f886bcd2da">GetMTime</a>(); <a name="l00058"></a>00058 <a name="l00062"></a><a class="code" href="a00083.html#00b42db0a078a8e2bf28b3ee7703c514">00062</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> ReleaseGraphicsResources(<a class="code" href="a01886.html" title="window superclass for vtkRenderWindow">vtkWindow</a> *) {}; <a name="l00063"></a>00063 <a name="l00065"></a>00065 <a name="l00066"></a>00066 vtkGetMacro( TimeToDraw, <span class="keywordtype">double</span> ); <a name="l00068"></a>00068 <a name="l00070"></a>00070 <a name="l00072"></a>00072 <span class="keywordtype">void</span> AddClippingPlane(<a class="code" href="a01224.html" title="perform various plane computations">vtkPlane</a> *plane); <a name="l00073"></a>00073 <span class="keywordtype">void</span> RemoveClippingPlane(<a class="code" href="a01224.html" title="perform various plane computations">vtkPlane</a> *plane); <a name="l00074"></a>00074 <span class="keywordtype">void</span> RemoveAllClippingPlanes(); <a name="l00076"></a>00076 <a name="l00078"></a>00078 <a name="l00079"></a>00079 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetClippingPlanes(<a class="code" href="a01225.html" title="maintain a list of planes">vtkPlaneCollection</a>*); <a name="l00080"></a>00080 vtkGetObjectMacro(ClippingPlanes,<a class="code" href="a01225.html" title="maintain a list of planes">vtkPlaneCollection</a>); <a name="l00082"></a>00082 <a name="l00085"></a>00085 <span class="keywordtype">void</span> SetClippingPlanes(<a class="code" href="a01226.html" title="implicit function for convex set of planes">vtkPlanes</a> *planes); <a name="l00086"></a>00086 <a name="l00088"></a>00088 <span class="keywordtype">void</span> ShallowCopy(<a class="code" href="a00083.html" title="abstract class specifies interface to map data">vtkAbstractMapper</a> *m); <a name="l00089"></a>00089 <a name="l00091"></a>00091 <a name="l00097"></a>00097 <span class="keyword">static</span> <a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a> *GetScalars(<a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a> *input, <span class="keywordtype">int</span> scalarMode, <a name="l00098"></a>00098 <span class="keywordtype">int</span> arrayAccessMode, <span class="keywordtype">int</span> arrayId, <a name="l00099"></a>00099 <span class="keyword">const</span> <span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span>& cellFlag); <a name="l00101"></a>00101 <a name="l00102"></a>00102 <span class="keyword">protected</span>: <a name="l00103"></a>00103 <a class="code" href="a00083.html" title="abstract class specifies interface to map data">vtkAbstractMapper</a>(); <a name="l00104"></a>00104 ~<a class="code" href="a00083.html" title="abstract class specifies interface to map data">vtkAbstractMapper</a>(); <a name="l00105"></a>00105 <a name="l00106"></a><a class="code" href="a00083.html#d94b8c49a7bdcb773125c6c8073b2b09">00106</a> <a class="code" href="a01715.html" title="Timer support and logging.">vtkTimerLog</a> *Timer; <a name="l00107"></a><a class="code" href="a00083.html#e57d070aaea1f43fc3037ad2dade2dc8">00107</a> <span class="keywordtype">double</span> TimeToDraw; <a name="l00108"></a><a class="code" href="a00083.html#07c75fcebe298e3f8ad0a022a8bad0b9">00108</a> <a class="code" href="a01886.html" title="window superclass for vtkRenderWindow">vtkWindow</a> *LastWindow; <span class="comment">// Window used for the previous render</span> <a name="l00109"></a><a class="code" href="a00083.html#badc39f3e0820036122d5d8ee097f6f7">00109</a> <a class="code" href="a01225.html" title="maintain a list of planes">vtkPlaneCollection</a> *ClippingPlanes; <a name="l00110"></a>00110 <a name="l00111"></a>00111 <span class="keyword">private</span>: <a name="l00112"></a>00112 <a class="code" href="a00083.html" title="abstract class specifies interface to map data">vtkAbstractMapper</a>(<span class="keyword">const</span> <a class="code" href="a00083.html" title="abstract class specifies interface to map data">vtkAbstractMapper</a>&); <span class="comment">// Not implemented.</span> <a name="l00113"></a>00113 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00083.html" title="abstract class specifies interface to map data">vtkAbstractMapper</a>&); <span class="comment">// Not implemented.</span> <a name="l00114"></a>00114 }; <a name="l00115"></a>00115 <a name="l00116"></a>00116 <span class="preprocessor">#endif</span> <a name="l00117"></a>00117 <span class="preprocessor"></span> <a name="l00118"></a>00118 </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:13 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>