Sophie

Sophie

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

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: vtkOpenGLLightingPainter 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&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 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&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>vtkOpenGLLightingPainter Class Reference</h1><!-- doxytag: class="vtkOpenGLLightingPainter" --><!-- doxytag: inherits="vtkLightingPainter" --><code>#include &lt;<a class="el" href="a05284.html">vtkOpenGLLightingPainter.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkOpenGLLightingPainter:</div>
<div class="dynsection">
<p><center><img src="a12505.png" border="0" usemap="#a12506" alt="Inheritance graph"></center>
<map name="a12506">
<area shape="rect" href="a00957.html" title="abstract class defining interface for painter that can handle lightin." alt="" coords="31,304,161,331"><area shape="rect" href="a01268.html" title="Abstract class for drawing poly data." alt="" coords="27,230,165,256"><area shape="rect" href="a01149.html" title="Abstract class for drawing poly data." alt="" coords="55,155,137,182"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="56,80,136,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="41,6,151,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkOpenGLLightingPainter:</div>
<div class="dynsection">
<p><center><img src="a12507.png" border="0" usemap="#a12508" alt="Collaboration graph"></center>
<map name="a12508">
<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&#45;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\&lt; vtkWindow \&gt;" 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="a12509.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="a05284.html#l00031">31</a> of file <a class="el" href="a05284.html">vtkOpenGLLightingPainter.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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01112.html#d5fe5285394c0590b1b5f7fcee50090c">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 *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01112.html#4ec11ca288280013b847ce5235b208b9">GetClassName</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01112.html#344ebc261bef16096c5d73af48bcf040">IsA</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01112.html#650dd79a6575e88a597c01aea37bfe64">PrintSelf</a> (ostream &amp;os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01112.html#08263cbcb41622d4a4a58e5fce8e1651">GetTimeToDraw</a> ()</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="a01112.html">vtkOpenGLLightingPainter</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01112.html#6f1b66d87f23507342a846e69c96db72">New</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01112.html#578de67d4db57b935c8b36dc4de20f9d">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01112.html">vtkOpenGLLightingPainter</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01112.html#ed074ae9b15fcf72b41730be4d462deb">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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01112.html#0d1fc3464d1978cade2401ef152e08fe">vtkOpenGLLightingPainter</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01112.html#8dc4c28e05b2313ef48507a771318fed">~vtkOpenGLLightingPainter</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01112.html#10ac49d413502321c3ca8f183d40e668">RenderInternal</a> (<a class="el" href="a01480.html">vtkRenderer</a> *renderer, <a class="el" href="a00092.html">vtkActor</a> *actor, unsigned long typeflags, bool forceCompileOnly)</td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="d5fe5285394c0590b1b5f7fcee50090c"></a><!-- doxytag: member="vtkOpenGLLightingPainter::Superclass" ref="d5fe5285394c0590b1b5f7fcee50090c" 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">vtkOpenGLLightingPainter::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="a05284.html#l00035">35</a> of file <a class="el" href="a05284.html">vtkOpenGLLightingPainter.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="0d1fc3464d1978cade2401ef152e08fe"></a><!-- doxytag: member="vtkOpenGLLightingPainter::vtkOpenGLLightingPainter" ref="0d1fc3464d1978cade2401ef152e08fe" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkOpenGLLightingPainter::vtkOpenGLLightingPainter           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="8dc4c28e05b2313ef48507a771318fed"></a><!-- doxytag: member="vtkOpenGLLightingPainter::~vtkOpenGLLightingPainter" ref="8dc4c28e05b2313ef48507a771318fed" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkOpenGLLightingPainter::~vtkOpenGLLightingPainter           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</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="6f1b66d87f23507342a846e69c96db72"></a><!-- doxytag: member="vtkOpenGLLightingPainter::New" ref="6f1b66d87f23507342a846e69c96db72" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01112.html">vtkOpenGLLightingPainter</a>* vtkOpenGLLightingPainter::New           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</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="4ec11ca288280013b847ce5235b208b9"></a><!-- doxytag: member="vtkOpenGLLightingPainter::GetClassName" ref="4ec11ca288280013b847ce5235b208b9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkOpenGLLightingPainter::GetClassName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</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="578de67d4db57b935c8b36dc4de20f9d"></a><!-- doxytag: member="vtkOpenGLLightingPainter::IsTypeOf" ref="578de67d4db57b935c8b36dc4de20f9d" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkOpenGLLightingPainter::IsTypeOf           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</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="344ebc261bef16096c5d73af48bcf040"></a><!-- doxytag: member="vtkOpenGLLightingPainter::IsA" ref="344ebc261bef16096c5d73af48bcf040" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkOpenGLLightingPainter::IsA           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</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="ed074ae9b15fcf72b41730be4d462deb"></a><!-- doxytag: member="vtkOpenGLLightingPainter::SafeDownCast" ref="ed074ae9b15fcf72b41730be4d462deb" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01112.html">vtkOpenGLLightingPainter</a>* vtkOpenGLLightingPainter::SafeDownCast           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> *&nbsp;</td>
          <td class="paramname"> <em>o</em>          </td>
          <td>&nbsp;)&nbsp;</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="650dd79a6575e88a597c01aea37bfe64"></a><!-- doxytag: member="vtkOpenGLLightingPainter::PrintSelf" ref="650dd79a6575e88a597c01aea37bfe64" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkOpenGLLightingPainter::PrintSelf           </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</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>&nbsp;</td>
          <td class="paramname"> <em>indent</em></td><td>&nbsp;</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="08263cbcb41622d4a4a58e5fce8e1651"></a><!-- doxytag: member="vtkOpenGLLightingPainter::GetTimeToDraw" ref="08263cbcb41622d4a4a58e5fce8e1651" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double vtkOpenGLLightingPainter::GetTimeToDraw           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This painter overrides <a class="el" href="a01112.html#08263cbcb41622d4a4a58e5fce8e1651">GetTimeToDraw()</a> to never pass the request to the delegate. This is done since this class may propagate a single render request multiple times to the delegate. In that case the time accumulation responsibility is borne by the painter causing the multiple rendering requests i.e. this painter itself. 
<p>Reimplemented from <a class="el" href="a01149.html#617c5e92edebd334c4cc7afdc4276dad">vtkPainter</a>.</p>

<p>Definition at line <a class="el" href="a05284.html#l00044">44</a> of file <a class="el" href="a05284.html">vtkOpenGLLightingPainter.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="10ac49d413502321c3ca8f183d40e668"></a><!-- doxytag: member="vtkOpenGLLightingPainter::RenderInternal" ref="10ac49d413502321c3ca8f183d40e668" args="(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkOpenGLLightingPainter::RenderInternal           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01480.html">vtkRenderer</a> *&nbsp;</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> *&nbsp;</td>
          <td class="paramname"> <em>actor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&nbsp;</td>
          <td class="paramname"> <em>typeflags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>forceCompileOnly</em></td><td>&nbsp;</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. 
<p>Reimplemented from <a class="el" href="a01149.html#558d2bdd6d9cdd06b597d0f910558729">vtkPainter</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/Rendering/<a class="el" href="a05284.html">vtkOpenGLLightingPainter.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:20:32 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>