<!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: vtkMesaLightingPainter Class Reference</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 class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>vtkMesaLightingPainter Class Reference</h1><!-- doxytag: class="vtkMesaLightingPainter" --><!-- doxytag: inherits="vtkLightingPainter" --><code>#include <<a class="el" href="a05259.html">vtkMesaLightingPainter.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkMesaLightingPainter:</div> <div class="dynsection"> <p><center><img src="a12104.png" border="0" usemap="#a12105" alt="Inheritance graph"></center> <map name="a12105"> <area shape="rect" href="a00957.html" title="abstract class defining interface for painter that can handle lightin." alt="" coords="23,304,153,331"><area shape="rect" href="a01268.html" title="Abstract class for drawing poly data." alt="" coords="19,230,157,256"><area shape="rect" href="a01149.html" title="Abstract class for drawing poly data." alt="" coords="47,155,129,182"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="48,80,128,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="33,6,143,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkMesaLightingPainter:</div> <div class="dynsection"> <p><center><img src="a12106.png" border="0" usemap="#a12107" alt="Collaboration graph"></center> <map name="a12107"> <area shape="rect" href="a00957.html" title="abstract class defining interface for painter that can handle lightin." alt="" coords="2308,193,2439,220"><area shape="rect" href="a01268.html" title="Abstract class for drawing poly data." alt="" coords="2116,193,2255,220"><area shape="rect" href="a01149.html" title="Abstract class for drawing poly data." alt="" coords="1957,193,2040,220"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="444,405,524,432"><area shape="rect" href="a00362.html" title="general representation of visualization data" alt="" coords="1740,621,1847,648"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="1064,280,1163,307"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="1476,372,1575,399"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="683,376,832,403"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="703,680,812,707"><area shape="rect" href="a00538.html" title="represent and manipulate fields of data" alt="" coords="1476,621,1575,648"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="1052,680,1175,707"><area shape="rect" href="a01870.html" title="Non-templated superclass for vtkWeakPointer." alt="" coords="683,56,832,83"><area shape="rect" href="a01715.html" title="Timer support and logging." alt="" coords="708,107,807,133"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,865,116,892"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="403,883,565,909"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="169,927,300,953"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="180,579,289,605"><area shape="rect" href="a01574.html" title="abstract class specifies interface for visualization network source" alt="" coords="2144,653,2227,680"><area shape="rect" href="a01306.html" title="abstract class specifies interface for visualization filters" alt="" coords="1935,568,2063,595"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="393,940,575,967"><area shape="rect" href="a00540.html" title="vtkFieldData::CopyFieldFlag" alt="" coords="1016,629,1211,656"><area shape="rect" href="a01869.html" title="vtkWeakPointer\< vtkWindow \>" alt="" coords="1421,45,1629,72"><area shape="rect" href="a01869.html" title="a weak reference to a vtkObject." alt="" coords="1039,56,1188,83"><area shape="rect" href="a01716.html" title="vtkTimerLogEntry" alt="" coords="419,77,549,104"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a12108.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> painter that manages lighting. <p> This painter manages lighting. Ligting is disabled when rendering points/lines and no normals are present or rendering Polygons/TStrips and representation is points and no normals are present. <p>Definition at line <a class="el" href="a05259.html#l00031">31</a> of file <a class="el" href="a05259.html">vtkMesaLightingPainter.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="a00957.html">vtkLightingPainter</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01024.html#86047a3ab7ccaa909e8c2b8e1e8ba9c7">Superclass</a></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01024.html#09dac4f5cda027cdc1daf8ad5b76328b">GetClassName</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01024.html#73ecb1c3d3ae6445679f99db2d689937">IsA</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01024.html#c0b388fe33339c94faef072b1ed9af29">PrintSelf</a> (ostream &os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01024.html">vtkMesaLightingPainter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01024.html#f9d5bd0e769c57aaba836ab0d44f0460">New</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01024.html#44d6463643bf21091573bfe2ccfbdec7">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01024.html">vtkMesaLightingPainter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01024.html#03c83f5f8234e8501e194c1b2341818d">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01024.html#d837c5cb2a571744f962639f2f4f926f">vtkMesaLightingPainter</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01024.html#320947d01740528b474bef9df0c4f39f">~vtkMesaLightingPainter</a> ()</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01024.html#4e491e35bbdef110d37762be14e376c4">RenderInternal</a> (<a class="el" href="a01480.html">vtkRenderer</a> *renderer, <a class="el" href="a00092.html">vtkActor</a> *actor, unsigned long typeflags)</td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="86047a3ab7ccaa909e8c2b8e1e8ba9c7"></a><!-- doxytag: member="vtkMesaLightingPainter::Superclass" ref="86047a3ab7ccaa909e8c2b8e1e8ba9c7" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a00957.html">vtkLightingPainter</a> <a class="el" href="a00957.html">vtkMesaLightingPainter::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00957.html#def6ce9b687e1ecda92a269001234c07">vtkLightingPainter</a>.</p> <p>Definition at line <a class="el" href="a05259.html#l00035">35</a> of file <a class="el" href="a05259.html">vtkMesaLightingPainter.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="d837c5cb2a571744f962639f2f4f926f"></a><!-- doxytag: member="vtkMesaLightingPainter::vtkMesaLightingPainter" ref="d837c5cb2a571744f962639f2f4f926f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkMesaLightingPainter::vtkMesaLightingPainter </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="320947d01740528b474bef9df0c4f39f"></a><!-- doxytag: member="vtkMesaLightingPainter::~vtkMesaLightingPainter" ref="320947d01740528b474bef9df0c4f39f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkMesaLightingPainter::~vtkMesaLightingPainter </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="f9d5bd0e769c57aaba836ab0d44f0460"></a><!-- doxytag: member="vtkMesaLightingPainter::New" ref="f9d5bd0e769c57aaba836ab0d44f0460" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01024.html">vtkMesaLightingPainter</a>* vtkMesaLightingPainter::New </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create an object with Debug turned off, modified time initialized to zero, and reference counting on. <p>Reimplemented from <a class="el" href="a00957.html#8832643a779333793792e6f228440185">vtkLightingPainter</a>.</p> </div> </div><p> <a class="anchor" name="09dac4f5cda027cdc1daf8ad5b76328b"></a><!-- doxytag: member="vtkMesaLightingPainter::GetClassName" ref="09dac4f5cda027cdc1daf8ad5b76328b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkMesaLightingPainter::GetClassName </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00957.html#21e38a90320019eb8a8df9623b46338d">vtkLightingPainter</a>.</p> </div> </div><p> <a class="anchor" name="44d6463643bf21091573bfe2ccfbdec7"></a><!-- doxytag: member="vtkMesaLightingPainter::IsTypeOf" ref="44d6463643bf21091573bfe2ccfbdec7" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkMesaLightingPainter::IsTypeOf </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. <p>Reimplemented from <a class="el" href="a00957.html#273331dda4b372d8ec78e5d26c4345ca">vtkLightingPainter</a>.</p> </div> </div><p> <a class="anchor" name="73ecb1c3d3ae6445679f99db2d689937"></a><!-- doxytag: member="vtkMesaLightingPainter::IsA" ref="73ecb1c3d3ae6445679f99db2d689937" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkMesaLightingPainter::IsA </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. <p>Reimplemented from <a class="el" href="a00957.html#4edbfc193da3d962fbe52619f315b98f">vtkLightingPainter</a>.</p> </div> </div><p> <a class="anchor" name="03c83f5f8234e8501e194c1b2341818d"></a><!-- doxytag: member="vtkMesaLightingPainter::SafeDownCast" ref="03c83f5f8234e8501e194c1b2341818d" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01024.html">vtkMesaLightingPainter</a>* vtkMesaLightingPainter::SafeDownCast </td> <td>(</td> <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> * </td> <td class="paramname"> <em>o</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00957.html#485780e86b9e1da7ba24139f15c91474">vtkLightingPainter</a>.</p> </div> </div><p> <a class="anchor" name="c0b388fe33339c94faef072b1ed9af29"></a><!-- doxytag: member="vtkMesaLightingPainter::PrintSelf" ref="c0b388fe33339c94faef072b1ed9af29" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkMesaLightingPainter::PrintSelf </td> <td>(</td> <td class="paramtype">ostream & </td> <td class="paramname"> <em>os</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00869.html">vtkIndent</a> </td> <td class="paramname"> <em>indent</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. <p>Reimplemented from <a class="el" href="a00957.html#807cc2c6bbc3ccb0ccaa2df615719bde">vtkLightingPainter</a>.</p> </div> </div><p> <a class="anchor" name="4e491e35bbdef110d37762be14e376c4"></a><!-- doxytag: member="vtkMesaLightingPainter::RenderInternal" ref="4e491e35bbdef110d37762be14e376c4" args="(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkMesaLightingPainter::RenderInternal </td> <td>(</td> <td class="paramtype"><a class="el" href="a01480.html">vtkRenderer</a> * </td> <td class="paramname"> <em>renderer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00092.html">vtkActor</a> * </td> <td class="paramname"> <em>actor</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned long </td> <td class="paramname"> <em>typeflags</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Setups lighting state before calling render on delegate painter. </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>dox/Rendering/<a class="el" href="a05259.html">vtkMesaLightingPainter.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:17:29 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>