classvtcamera.html
来自「VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。」· HTML 代码 · 共 418 行 · 第 1/2 页
HTML
418 行
<td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Return true if the camera is orthographic. </td> </tr></table><a class="anchor" name="c9f1da31ce5596a81c7512d69adc2bc2"></a><!-- doxytag: member="vtCamera::SetFOV" ref="c9f1da31ce5596a81c7512d69adc2bc2" args="(float f)" --><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 vtCamera::SetFOV </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">float </td> <td class="mdname1" valign="top" nowrap> <em>fov_x</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set the camera's horizontal field of view (FOV) in radians. </td> </tr></table><a class="anchor" name="8b9d51005ae670e7c68496900a71725b"></a><!-- doxytag: member="vtCamera::SetHither" ref="8b9d51005ae670e7c68496900a71725b" args="(float f)" --><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 vtCamera::SetHither </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">float </td> <td class="mdname1" valign="top" nowrap> <em>f</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set the hither (near) clipping plane distance. </td> </tr></table><a class="anchor" name="0d357a20c66690391644763a6016da89"></a><!-- doxytag: member="vtCamera::SetOrtho" ref="0d357a20c66690391644763a6016da89" args="(bool bOrtho)" --><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 vtCamera::SetOrtho </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>bOrtho</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set this camera to use an orthographic view. An orthographic view has no FOV angle, so Set/GetFOV have no affect. Instead, use Get/SetWidth to control the width of the orthogonal view. </td> </tr></table><a class="anchor" name="355adf89ab8ef4c114e08d798243c7b6"></a><!-- doxytag: member="vtCamera::SetWidth" ref="355adf89ab8ef4c114e08d798243c7b6" args="(float f)" --><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 vtCamera::SetWidth </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">float </td> <td class="mdname1" valign="top" nowrap> <em>fWidth</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set the view width of an orthographic camera. </td> </tr></table><a class="anchor" name="ca8c9329a6c96bdbc28b55f948edc933"></a><!-- doxytag: member="vtCamera::SetYon" ref="ca8c9329a6c96bdbc28b55f948edc933" args="(float f)" --><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 vtCamera::SetYon </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">float </td> <td class="mdname1" valign="top" nowrap> <em>f</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set the yon (far) clipping plane distance. </td> </tr></table><a class="anchor" name="073fa8e685691a08f58be03693fbe579"></a><!-- doxytag: member="vtCamera::ZoomToSphere" ref="073fa8e685691a08f58be03693fbe579" args="(const FSphere &sphere, float fPitch=0.0f)" --><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 vtCamera::ZoomToSphere </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="elRef" doxygen="vtdata.tag:../vtdata/" href="../vtdata/classFSphere.html">FSphere</a> & </td> <td class="mdname" nowrap> <em>sphere</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>float </td> <td class="mdname" nowrap> <em>fPitch</em> = <code>0.0f</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Zoom (move) the camera to a sphere, generally the bounding sphere of something you want to look at. The camera will be pointing directly down the -Z axis at the center of the sphere.<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>sphere</em> </td><td>The sphere to look at. </td></tr> <tr><td valign="top"></td><td valign="top"><em>fPitch</em> </td><td>An optional pitch angle to look, in radians. For example, a pitch of -PIf/10 would be looking down at a mild angle. </td></tr> </table></dl> </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Jan 14 14:41:00 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 + -
显示快捷键?