⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classvflyer.html

📁 VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。
💻 HTML
字号:
<!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: VFlyer 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>VFlyer Class Reference<br><small>[<a class="el" href="group__nav.html">Navigation</a>]</small></h1><!-- doxytag: class="VFlyer" --><!-- doxytag: inherits="vtTerrainFlyer" -->Inheritance diagram for VFlyer:<p><center><img src="classVFlyer__inherit__graph.png" border="0" usemap="#VFlyer__inherit__map" alt="Inheritance graph"></center><map name="VFlyer__inherit__map"><area href="classvtTerrainFlyer.html" shape="rect" coords="11,305,115,332" alt=""><area href="classvtFlyer.html" shape="rect" coords="31,231,95,257" alt=""><area href="classvtLastMouse.html" shape="rect" coords="13,156,112,183" alt=""><area href="classvtEngine.html" shape="rect" coords="25,81,100,108" alt=""><area href="classvtEnabledBase.html" shape="rect" coords="7,7,119,33" alt=""></map><center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classVFlyer-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>Similar to <a class="el" href="classvtTerrainFlyer.html">vtTerrainFlyer</a>, but a velocity is maintained. Viewpoint moves even after mouse button is released. <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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVFlyer.html#c93c33c32b999b0697638638c63d35df">SetGravity</a> (float grav)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVFlyer.html#802a46924078665c7c73f0017c4a0945">SetGroundTester</a> (<a class="el" href="classvtHeightConstrain.html">vtHeightConstrain</a> *pEng)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVFlyer.html#d8697e9167be5211a9d183990160e82f">SetDamping</a> (float damp)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVFlyer.html#11732384f35d882f068fe5920d53099d">Eval</a> ()</td></tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="11732384f35d882f068fe5920d53099d"></a><!-- doxytag: member="VFlyer::Eval" ref="11732384f35d882f068fe5920d53099d" 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 VFlyer::Eval           </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>Virtual handler, will be called every frame to do the work of the engine. You must override this if you want your engine to be useful. <p>Reimplemented from <a class="el" href="classvtTerrainFlyer.html#11732384f35d882f068fe5920d53099d">vtTerrainFlyer</a>.    </td>  </tr></table><a class="anchor" name="d8697e9167be5211a9d183990160e82f"></a><!-- doxytag: member="VFlyer::SetDamping" ref="d8697e9167be5211a9d183990160e82f" args="(float damp)" --><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 VFlyer::SetDamping           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">float&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>damp</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the damping of the velocity, per second. For example, a value of 0.9 would reduce the velocity by 10% of its magnitude per second.     </td>  </tr></table><a class="anchor" name="c93c33c32b999b0697638638c63d35df"></a><!-- doxytag: member="VFlyer::SetGravity" ref="c93c33c32b999b0697638638c63d35df" args="(float grav)" --><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 VFlyer::SetGravity           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">float&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>grav</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the downward acceleration, in meter per second squared. For example, a value of 9.81 would be normal gravity at the earth's surface.     </td>  </tr></table><a class="anchor" name="802a46924078665c7c73f0017c4a0945"></a><!-- doxytag: member="VFlyer::SetGroundTester" ref="802a46924078665c7c73f0017c4a0945" args="(vtHeightConstrain *pEng)" --><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 VFlyer::SetGroundTester           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classvtHeightConstrain.html">vtHeightConstrain</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>pEng</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>In order for gravity to cease when the target is prevented from falling, e.g. when it is sitting on the ground, supply the engine you are using to keep the target above the ground.     </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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -