classvtlight.html
来自「VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。」· HTML 代码 · 共 107 行
HTML
107 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>vtlib library: vtLight 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.4.5 --><div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li id="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul></div><div class="tabs"> <ul> <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><h1>vtLight Class Reference<br><small>[<a class="el" href="group__sg.html">Scene Graph</a>]</small></h1><!-- doxytag: class="vtLight" --><!-- doxytag: inherits="vtNode" -->Inheritance diagram for vtLight:<p><center><img src="classvtLight__inherit__graph.png" border="0" usemap="#vtLight__inherit__map" alt="Inheritance graph"></center><map name="vtLight__inherit__map"><area href="classvtNode.html" shape="rect" coords="22,156,86,183" alt=""><area href="classvtNodeBase.html" shape="rect" coords="7,81,100,108" alt=""><area href="classvtTarget.html" shape="rect" coords="19,7,88,33" alt=""></map><center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classvtLight-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>A Light node is placed into the scene graph to illumninate all lit geometry with vertex normals.<p>If you want a light, you should create a vtLight node and add it to your scene graph. To move or orient the light, make it a child of a <a class="el" href="classvtTransform.html">vtTransform</a> node. The light will illuminate the entire scene. <p><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classvtLight.html#c47952fcdc74de6e2d4a93c467232087">Release</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classvtLight.html#055f9a4e14feb802f24aa4f01cdddfdd">SetEnabled</a> (bool bOn)</td></tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="c47952fcdc74de6e2d4a93c467232087"></a><!-- doxytag: member="vtLight::Release" ref="c47952fcdc74de6e2d4a93c467232087" args="()" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void vtLight::Release </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Releases a node. Use this method instead of C++'s delete operator when you are done with a node. Internally, the node is reference counted so it is not deleted until all references to it are removed. <p>Reimplemented from <a class="el" href="classvtNode.html#c47952fcdc74de6e2d4a93c467232087">vtNode</a>. </td> </tr></table><a class="anchor" name="055f9a4e14feb802f24aa4f01cdddfdd"></a><!-- doxytag: member="vtLight::SetEnabled" ref="055f9a4e14feb802f24aa4f01cdddfdd" args="(bool bOn)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void vtLight::SetEnabled </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>bOn</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set the enabled state of this node. When the node is not enabled, it is not rendered. If it is a group node, all of the nodes children are also not rendered. <p>Reimplemented from <a class="el" href="classvtNode.html#055f9a4e14feb802f24aa4f01cdddfdd">vtNode</a>. </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Jan 14 14:41:01 2008 for vtlib library by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.5 </small></address></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?