classvttin.html
来自「VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。」· HTML 代码 · 共 524 行 · 第 1/3 页
HTML
524 行
</td> <td><p>Test each triangle for clockwisdom, fix if needed. The result should be a TIN with consistent vertex ordering, such that all face normals point up rather than down, that is, counter-clockwise. </td> </tr></table><a class="anchor" name="3566cc387be76130277e64a6ed79321e"></a><!-- doxytag: member="vtTin::FindAltitudeAtPoint" ref="3566cc387be76130277e64a6ed79321e" args="(const FPoint3 &p3, float &fAltitude, bool bTrue=false, int iCultureFlags=0, FPoint3 *vNormal=NULL) 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 vtTin::FindAltitudeAtPoint </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classFPoint3.html">FPoint3</a> & </td> <td class="mdname" nowrap> <em>p3</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>fAltitude</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>bTrue</em> = <code>false</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>iCultureFlags</em> = <code>0</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="classFPoint3.html">FPoint3</a> * </td> <td class="mdname" nowrap> <em>vNormal</em> = <code>NULL</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"> const<code> [inline, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Given a point in world coordinates, determine the elevation at that point.<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>p3</em> </td><td>The point to test. Only the X and Z values are used. </td></tr> <tr><td valign="top"></td><td valign="top"><em>fAltitude</em> </td><td>The resulting elevation at that point, by reference. </td></tr> <tr><td valign="top"></td><td valign="top"><em>bTrue</em> </td><td>True to test true elevation. False to test the displayed elevation (possibly exaggerated.) </td></tr> <tr><td valign="top"></td><td valign="top"><em>iCultureFlags</em> </td><td>Pass 0 to test only the heightfield itself, non-zero to test any culture objects which may be sitting on the heightfield. Values include:<ul><li>CE_STRUCTURES Test structures on the ground.</li><li>CE_ROADS Test roads on the ground.</li><li>CE_ALL Test everything on the ground. </li></ul></td></tr> <tr><td valign="top"></td><td valign="top"><em>vNormal</em> </td><td>If you supply a pointer to a vector, it will be set to the upward-pointing surface normal at the ground point.</td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>true if successful, false if there was nothing found at that point. </dd></dl><p>Implements <a class="el" href="classvtHeightField3d.html#36bdc3c5983331f833972c9d287f2072">vtHeightField3d</a>. </td> </tr></table><a class="anchor" name="553b8c8508632951b2035cca505cf83c"></a><!-- doxytag: member="vtTin::GetTriMaxEdgeLength" ref="553b8c8508632951b2035cca505cf83c" args="(int iTri) 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">double vtTin::GetTriMaxEdgeLength </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>iTri</em> </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 the length of the longest edge of a specific triangle. </td> </tr></table><a class="anchor" name="5a1430445ecd0bb6a215ff8b78ac4ac4"></a><!-- doxytag: member="vtTin::MergeSharedVerts" ref="5a1430445ecd0bb6a215ff8b78ac4ac4" args="(bool progress_callback(int)=NULL)" --><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 vtTin::MergeSharedVerts </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>progress_callback</em>(int) = <code>NULL</code> </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>Combine all vertices which are at the same location. By removing these redundant vertices, the mesh will consume less space in memory and on disk. </td> </tr></table><a class="anchor" name="a762f0bdb3efe216d7eea56d25ed0cc1"></a><!-- doxytag: member="vtTin::Read" ref="a762f0bdb3efe216d7eea56d25ed0cc1" args="(const char *fname)" --><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 vtTin::Read </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname1" valign="top" nowrap> <em>fname</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>Read the TIN from a file. This can either be an old-style or new-style .tin format (custom VTP format) </td> </tr></table><a class="anchor" name="bfa7b3880154c2ae1ddde6f68fe6038b"></a><!-- doxytag: member="vtTin::ReadDXF" ref="bfa7b3880154c2ae1ddde6f68fe6038b" args="(const char *fname, bool progress_callback(int)=NULL)" --><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 vtTin::ReadDXF </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname" nowrap> <em>fname</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?