classvtheightfield3d.html

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

HTML
298
字号
</table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Converts a earth coordinate (project or geographic) to a world coordinate on the surface of the heightfield.     </td>  </tr></table><a class="anchor" name="36bdc3c5983331f833972c9d287f2072"></a><!-- doxytag: member="vtHeightField3d::FindAltitudeAtPoint" ref="36bdc3c5983331f833972c9d287f2072" args="(const FPoint3 &amp;p3, float &amp;fAltitude, bool bTrue=false, int iCultureFlags=0, FPoint3 *vNormal=NULL) const =0" --><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">virtual bool vtHeightField3d::FindAltitudeAtPoint           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classFPoint3.html">FPoint3</a> &amp;&nbsp;</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 &amp;&nbsp;</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&nbsp;</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&nbsp;</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> *&nbsp;</td>          <td class="mdname" nowrap> <em>vNormal</em> = <code>NULL</code></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const<code> [pure virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </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>&nbsp;</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>&nbsp;</td><td>The resulting elevation at that point, by reference. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>bTrue</em>&nbsp;</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>&nbsp;</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>&nbsp;</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>Implemented in <a class="el" href="classvtElevationGrid.html#3566cc387be76130277e64a6ed79321e">vtElevationGrid</a>, and <a class="el" href="classvtTin.html#3566cc387be76130277e64a6ed79321e">vtTin</a>.    </td>  </tr></table><a class="anchor" name="c6790f796f572a3c07f43774a7180e26"></a><!-- doxytag: member="vtHeightField3d::PointIsAboveTerrain" ref="c6790f796f572a3c07f43774a7180e26" args="(const FPoint3 &amp;p) 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">int vtHeightField3d::PointIsAboveTerrain           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classFPoint3.html">FPoint3</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>p</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><dl compact><dt><b>Returns:</b></dt><dd>0 if below terrain, 1 if above terrain, -1 if off terrain. </dd></dl>    </td>  </tr></table><a class="anchor" name="b1210c68b3bbb1d0913b7c0d0b5ae53b"></a><!-- doxytag: member="vtHeightField3d::SetEarthExtents" ref="b1210c68b3bbb1d0913b7c0d0b5ae53b" args="(const DRECT &amp;ext)" --><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 vtHeightField3d::SetEarthExtents           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classDRECT.html">DRECT</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>ext</em>          </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>Set the geographic extents of the grid. <p>Reimplemented from <a class="el" href="classvtHeightField.html#b1210c68b3bbb1d0913b7c0d0b5ae53b">vtHeightField</a>.<p>Reimplemented in <a class="el" href="classvtHeightFieldGrid3d.html#b1210c68b3bbb1d0913b7c0d0b5ae53b">vtHeightFieldGrid3d</a>.    </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 + -
显示快捷键?