classvtgroup.html

来自「VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。」· HTML 代码 · 共 280 行

HTML
280
字号
<!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: vtGroup 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&nbsp;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&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><h1>vtGroup Class Reference<br><small>[<a class="el" href="group__sg.html">Scene Graph</a>]</small></h1><!-- doxytag: class="vtGroup" --><!-- doxytag: inherits="vtNode,vtGroupBase" -->Inheritance diagram for vtGroup:<p><center><img src="classvtGroup__inherit__graph.png" border="0" usemap="#vtGroup__inherit__map" alt="Inheritance graph"></center><map name="vtGroup__inherit__map"><area href="classvtHUD.html" shape="rect" coords="7,305,68,332" alt=""><area href="classvtLOD.html" shape="rect" coords="92,305,154,332" alt=""><area href="classvtLodGrid.html" shape="rect" coords="178,305,258,332" alt=""><area href="classvtPagedStructureLOD.html" shape="rect" coords="282,305,434,332" alt=""><area href="classvtStarDome.html" shape="rect" coords="458,305,551,332" alt=""><area href="classvtTransform.html" shape="rect" coords="575,305,668,332" alt=""><area href="classvtNode.html" shape="rect" coords="203,156,267,183" alt=""><area href="classvtNodeBase.html" shape="rect" coords="188,81,282,108" alt=""><area href="classvtTarget.html" shape="rect" coords="200,7,270,33" alt=""><area href="classvtGroupBase.html" shape="rect" coords="291,156,390,183" alt=""><area href="classvtPagedStructureLodGrid.html" shape="rect" coords="43,380,216,407" alt=""><area href="classvtSimpleLodGrid.html" shape="rect" coords="240,380,363,407" alt=""><area href="classvtCamera.html" shape="rect" coords="410,380,490,407" alt=""><area href="classvtDimension.html" shape="rect" coords="514,380,610,407" alt=""><area href="classvtMovGeom.html" shape="rect" coords="634,380,730,407" alt=""><area href="classvtSkyDome.html" shape="rect" coords="754,380,844,407" alt=""></map><center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classvtGroup-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>Represents a Group (a node that can have children) in the vtlib Scene Graph. <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">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtGroup.html#c47952fcdc74de6e2d4a93c467232087">Release</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtGroup.html#506aa36498f52fd60876326406ade0fe">AddChild</a> (<a class="el" href="classvtNode.html">vtNode</a> *pChild)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtGroup.html#1ea25fbca1d3d3e7ff1695404034fee8">RemoveChild</a> (<a class="el" href="classvtNode.html">vtNode</a> *pChild)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classvtNode.html">vtNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtGroup.html#1bbbb19365ea98827b609c7268f12044">GetChild</a> (unsigned int num) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtGroup.html#20f80e65e6e7c70e6e24432b72a3969b">GetNumChildren</a> () const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classvtNode.html">vtNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtGroup.html#77d8a749f5beb0c3692c1d91d79b586c">FindDescendantByName</a> (const char *name) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtGroup.html#63fc30eb1f077513414a3f24d290d5e6">ContainsChild</a> (<a class="el" href="classvtNode.html">vtNode</a> *pNode) const </td></tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="506aa36498f52fd60876326406ade0fe"></a><!-- doxytag: member="vtGroup::AddChild" ref="506aa36498f52fd60876326406ade0fe" args="(vtNode *pChild)" --><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 vtGroup::AddChild           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classvtNode.html">vtNode</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>pChild</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Add a node as a child of this Group. <p>Implements <a class="el" href="classvtGroupBase.html">vtGroupBase</a>.    </td>  </tr></table><a class="anchor" name="63fc30eb1f077513414a3f24d290d5e6"></a><!-- doxytag: member="vtGroup::ContainsChild" ref="63fc30eb1f077513414a3f24d290d5e6" args="(vtNode *pNode) const " --><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">bool vtGroup::ContainsChild           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classvtNode.html">vtNode</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>pNode</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Return true if the given node is a child of this group. <p>Implements <a class="el" href="classvtGroupBase.html">vtGroupBase</a>.    </td>  </tr></table><a class="anchor" name="77d8a749f5beb0c3692c1d91d79b586c"></a><!-- doxytag: member="vtGroup::FindDescendantByName" ref="77d8a749f5beb0c3692c1d91d79b586c" args="(const char *name) const " --><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">const <a class="el" href="classvtNode.html">vtNode</a> * vtGroup::FindDescendantByName           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const char *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Looks for a descendent node with a given name. If not found, NULL is returned. <p>Implements <a class="el" href="classvtGroupBase.html">vtGroupBase</a>.    </td>  </tr></table><a class="anchor" name="1bbbb19365ea98827b609c7268f12044"></a><!-- doxytag: member="vtGroup::GetChild" ref="1bbbb19365ea98827b609c7268f12044" args="(unsigned int num) const " --><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"><a class="el" href="classvtNode.html">vtNode</a> * vtGroup::GetChild           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">unsigned int&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>num</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Return a child node, by index. <p>Implements <a class="el" href="classvtGroupBase.html">vtGroupBase</a>.    </td>  </tr></table><a class="anchor" name="20f80e65e6e7c70e6e24432b72a3969b"></a><!-- doxytag: member="vtGroup::GetNumChildren" ref="20f80e65e6e7c70e6e24432b72a3969b" args="() const " --><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">unsigned int vtGroup::GetNumChildren           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Return the number of child nodes <p>Implements <a class="el" href="classvtGroupBase.html">vtGroupBase</a>.    </td>  </tr></table><a class="anchor" name="c47952fcdc74de6e2d4a93c467232087"></a><!-- doxytag: member="vtGroup::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 vtGroup::Release           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </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>.<p>Reimplemented in <a class="el" href="classvtLodGrid.html#d948683c5c8fdc6f51f4d414296391f8">vtLodGrid</a>, <a class="el" href="classvtSimpleLodGrid.html#c47952fcdc74de6e2d4a93c467232087">vtSimpleLodGrid</a>, <a class="el" href="classvtPagedStructureLOD.html#c47952fcdc74de6e2d4a93c467232087">vtPagedStructureLOD</a>, <a class="el" href="classvtPagedStructureLodGrid.html#c47952fcdc74de6e2d4a93c467232087">vtPagedStructureLodGrid</a>, <a class="el" href="classvtTransform.html#c47952fcdc74de6e2d4a93c467232087">vtTransform</a>, <a class="el" href="classvtLOD.html#c47952fcdc74de6e2d4a93c467232087">vtLOD</a>, and <a class="el" href="classvtHUD.html#c47952fcdc74de6e2d4a93c467232087">vtHUD</a>.    </td>  </tr></table><a class="anchor" name="1ea25fbca1d3d3e7ff1695404034fee8"></a><!-- doxytag: member="vtGroup::RemoveChild" ref="1ea25fbca1d3d3e7ff1695404034fee8" args="(vtNode *pChild)" --><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 vtGroup::RemoveChild           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classvtNode.html">vtNode</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>pChild</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Remove a node as a child of this Group. If the indicated node is not a child, then this method has no effect. <p>Implements <a class="el" href="classvtGroupBase.html">vtGroupBase</a>.    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Jan 14 14:41:00 2008 for vtlib library by&nbsp;<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 + -
显示快捷键?