classvttrackball.html

来自「VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。」· HTML 代码 · 共 479 行 · 第 1/2 页

HTML
479
字号
      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void vtTrackball::SetRotateButton           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap> <em>button</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>modifier</em> = <code>0</code>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap> <em>bExact</em> = <code>true</code></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the buttons and modifier keys that will cause the Trackball to rotate.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>button</em>&nbsp;</td><td>The button state (VT_LEFT, VT_RIGHT, and/or VT_MIDDLE) </td></tr>    <tr><td valign="top"></td><td valign="top"><em>modifier</em>&nbsp;</td><td>The modifier state (VT_SHIFT, VT_CONTROL, and/or VT_ALT) </td></tr>    <tr><td valign="top"></td><td valign="top"><em>bExact</em>&nbsp;</td><td>If true, then exactly this button must occur. Otherwise, any button state that includes this state will suffice. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="d8da782d2c2adf11467c2a32277181ec"></a><!-- doxytag: member="vtTrackball::SetRotScale" ref="d8da782d2c2adf11467c2a32277181ec" args="(float s)" --><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 vtTrackball::SetRotScale           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">float&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>s</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the scale factor for rotation, which controls how fast the Trackball will spin its target.     </td>  </tr></table><a class="anchor" name="1573fd5b8b532b3aa5e4273a225eac80"></a><!-- doxytag: member="vtTrackball::SetTranslateButton" ref="1573fd5b8b532b3aa5e4273a225eac80" args="(int button, int modifier=0, bool bExact=true)" --><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 vtTrackball::SetTranslateButton           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap> <em>button</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>modifier</em> = <code>0</code>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap> <em>bExact</em> = <code>true</code></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the buttons and modifier keys that will cause the Trackball to translate.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>button</em>&nbsp;</td><td>The button state (VT_LEFT, VT_RIGHT, and/or VT_MIDDLE) </td></tr>    <tr><td valign="top"></td><td valign="top"><em>modifier</em>&nbsp;</td><td>The modifier state (VT_SHIFT, VT_CONTROL, and/or VT_ALT) </td></tr>    <tr><td valign="top"></td><td valign="top"><em>bExact</em>&nbsp;</td><td>If true, then exactly this button must occur. Otherwise, any button state that includes this state will suffice. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="5708f8b0e5983b65890c11dfc26892f2"></a><!-- doxytag: member="vtTrackball::SetTransScale" ref="5708f8b0e5983b65890c11dfc26892f2" args="(float s)" --><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 vtTrackball::SetTransScale           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">float&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>s</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the scale factor for translation, which controls how fast the Trackball will translate its target.     </td>  </tr></table><a class="anchor" name="e5dbceb3c520834f64dcf6e477235c13"></a><!-- doxytag: member="vtTrackball::SetZoomButton" ref="e5dbceb3c520834f64dcf6e477235c13" args="(int button, int modifier=0, bool bExact=true)" --><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 vtTrackball::SetZoomButton           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap> <em>button</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>modifier</em> = <code>0</code>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap> <em>bExact</em> = <code>true</code></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the buttons and modifier keys that will cause the Trackball to zoom.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>button</em>&nbsp;</td><td>The button state (VT_LEFT, VT_RIGHT, and/or VT_MIDDLE) </td></tr>    <tr><td valign="top"></td><td valign="top"><em>modifier</em>&nbsp;</td><td>The modifier state (VT_SHIFT, VT_CONTROL, and/or VT_ALT) </td></tr>    <tr><td valign="top"></td><td valign="top"><em>bExact</em>&nbsp;</td><td>If true, then exactly this button must occur. Otherwise, any button state that includes this state will suffice. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="4feff6eb34798278d7beb2cc789b3bd5"></a><!-- doxytag: member="vtTrackball::SetZoomScale" ref="4feff6eb34798278d7beb2cc789b3bd5" args="(float s)" --><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 vtTrackball::SetZoomScale           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">float&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>s</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the scale factor for zoom, which controls how fast the Trackball will zoom in/out.     </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Jan 14 14:41:01 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 + -
显示快捷键?