classvttin.html

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

HTML
524
字号
          <td class="md"></td>          <td class="md" nowrap>bool &nbsp;</td>          <td class="mdname" nowrap> <em>progress_callback</em>(int) = <code>NULL</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>Attempt to read TIN data from a DXF file.     </td>  </tr></table><a class="anchor" name="cb41c8e40b9399fa6a080d367afe2bd7"></a><!-- doxytag: member="vtTin::RemoveTrianglesBySegment" ref="cb41c8e40b9399fa6a080d367afe2bd7" args="(const DPoint2 &amp;ep1, const DPoint2 &amp;ep2)" --><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">int vtTin::RemoveTrianglesBySegment           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classDPoint2.html">DPoint2</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>ep1</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>const <a class="el" href="classDPoint2.html">DPoint2</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>ep2</em></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>Remove all the triangles of this TIN which intersect a given line segment.<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>ep1,ep2</em>&nbsp;</td><td>The endpoints of the line segment. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The number of triangles removed. </dd></dl>    </td>  </tr></table><a class="anchor" name="4da0607a0cf811a0b9fa1f90581bb0e7"></a><!-- doxytag: member="vtTin::RemoveUnusedVertices" ref="4da0607a0cf811a0b9fa1f90581bb0e7" 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">int vtTin::RemoveUnusedVertices           </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></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Because the TIN triangles refer to their vertices by index, it's possible to have some vertices which are not referenced. Find and remove those vertices. <dl compact><dt><b>Returns:</b></dt><dd>The number of unused vertices removed. </dd></dl>    </td>  </tr></table><a class="anchor" name="76053b2ffc03871157c4713d2b2530c9"></a><!-- doxytag: member="vtTin::SetupTriangleBins" ref="76053b2ffc03871157c4713d2b2530c9" args="(int bins, 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::SetupTriangleBins           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap> <em>bins</em>, </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>progress_callback</em>(int) = <code>NULL</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>If you are going to do a large number of height-testing of this TIN (with FindAltitudeOnEarth), call this method once first to set up a series of bins which greatly speed up testing.<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>bins</em>&nbsp;</td><td>Number of bins per dimension, e.g. a value of 50 produces 50*50=2500 bins. More bins produces faster height-testing with the only tradeoff being a small amount of RAM per bin. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>progress_callback</em>&nbsp;</td><td>If supplied, this function will be called back with a value of 0 to 100 as the operation progresses. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="b78b5531b84d0cbaed9db4a4823bc564"></a><!-- doxytag: member="vtTin::Write" ref="b78b5531b84d0cbaed9db4a4823bc564" args="(const char *fname) 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::Write           </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>fname</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Write the TIN to a new-style .tin file (custom VTP format).     </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Jan 14 14:40:55 2008 for vtdata 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 + -
显示快捷键?