classvtlocalconversion.html

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

HTML
316
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>vtdata library: vtLocalConversion Class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.5 --><div class="tabs">  <ul>    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>    <li><a href="files.html"><span>Files</span></a></li>  </ul></div><div class="tabs">  <ul>    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>  </ul></div><h1>vtLocalConversion Class Reference</h1><!-- doxytag: class="vtLocalConversion" --><a href="classvtLocalConversion-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="75e47e244ce5ffc91f53988e1a09788d"></a><!-- doxytag: member="vtLocalConversion::Setup" ref="75e47e244ce5ffc91f53988e1a09788d" args="(LinearUnits units, const DRECT &amp;earthextents)" -->void&nbsp;</td><td class="memItemRight" valign="bottom"><b>Setup</b> (LinearUnits units, const <a class="el" href="classDRECT.html">DRECT</a> &amp;earthextents)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="46fbf6e8d6e7e58382783842f0b9c96b"></a><!-- doxytag: member="vtLocalConversion::SetOrigin" ref="46fbf6e8d6e7e58382783842f0b9c96b" args="(const DPoint2 &amp;origin)" -->void&nbsp;</td><td class="memItemRight" valign="bottom"><b>SetOrigin</b> (const <a class="el" href="classDPoint2.html">DPoint2</a> &amp;origin)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4b041312ac393e90173fb3d456810f6"></a><!-- doxytag: member="vtLocalConversion::convert_earth_to_local_xz" ref="d4b041312ac393e90173fb3d456810f6" args="(double ex, double ey, float &amp;x, float &amp;z) const " -->void&nbsp;</td><td class="memItemRight" valign="bottom"><b>convert_earth_to_local_xz</b> (double ex, double ey, float &amp;x, float &amp;z) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a28bd7dafe8d65bf5cc653ec1c0197e0"></a><!-- doxytag: member="vtLocalConversion::convert_local_xz_to_earth" ref="a28bd7dafe8d65bf5cc653ec1c0197e0" args="(float x, float z, double &amp;ex, double &amp;ey) const " -->void&nbsp;</td><td class="memItemRight" valign="bottom"><b>convert_local_xz_to_earth</b> (float x, float z, double &amp;ex, double &amp;ey) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtLocalConversion.html#031d10f38c5b9b1cbdd36473aa7ae808">ConvertToEarth</a> (const <a class="el" href="classFPoint3.html">FPoint3</a> &amp;world, <a class="el" href="classDPoint3.html">DPoint3</a> &amp;earth) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtLocalConversion.html#32439959034886e3ddd4c23dad9ac4be">ConvertToEarth</a> (float x, float z, <a class="el" href="classDPoint2.html">DPoint2</a> &amp;earth) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtLocalConversion.html#7e18f502f31606fb5f6e6cca6490f588">ConvertFromEarth</a> (const <a class="el" href="classDPoint2.html">DPoint2</a> &amp;earth, float &amp;x, float &amp;z) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtLocalConversion.html#5f495bc1e1dd1c46fa1a800e11d70d47">ConvertFromEarth</a> (const <a class="el" href="classDPoint3.html">DPoint3</a> &amp;earth, <a class="el" href="classFPoint3.html">FPoint3</a> &amp;world) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtLocalConversion.html#5a572f5a10011b013994db1f81798ee4">ConvertVectorToEarth</a> (float x, float z, <a class="el" href="classDPoint2.html">DPoint2</a> &amp;earth) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtLocalConversion.html#e72d23c9bc05d70ae2fca2489deb744f">ConvertVectorFromEarth</a> (const <a class="el" href="classDPoint2.html">DPoint2</a> &amp;earth, float &amp;x, float &amp;z) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ac9bf92d8cb40bea4617896148677b11"></a><!-- doxytag: member="vtLocalConversion::GetUnits" ref="ac9bf92d8cb40bea4617896148677b11" args="() const " -->LinearUnits&nbsp;</td><td class="memItemRight" valign="bottom"><b>GetUnits</b> () const </td></tr><tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="71de779e1b97d17bc418f59bdfbea0c1"></a><!-- doxytag: member="vtLocalConversion::m_units" ref="71de779e1b97d17bc418f59bdfbea0c1" args="" -->LinearUnits&nbsp;</td><td class="memItemRight" valign="bottom"><b>m_units</b></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3dcefe161bd7f11d4ff36d3bf23f138a"></a><!-- doxytag: member="vtLocalConversion::m_EarthOrigin" ref="3dcefe161bd7f11d4ff36d3bf23f138a" args="" --><a class="el" href="classDPoint2.html">DPoint2</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>m_EarthOrigin</b></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ed90551b316cf118913eeda7a9e910e5"></a><!-- doxytag: member="vtLocalConversion::m_scale" ref="ed90551b316cf118913eeda7a9e910e5" args="" --><a class="el" href="classDPoint2.html">DPoint2</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>m_scale</b></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>The following class represents a mapping between real earth coordinates (geographic or projected, elevation in meters) and a local, meters-based 3D coordinate system, which uses the right-handed OpenGL axis convention (X right, Y up, Z backwards) <p><hr><h2>Member Function Documentation</h2><a class="anchor" name="5f495bc1e1dd1c46fa1a800e11d70d47"></a><!-- doxytag: member="vtLocalConversion::ConvertFromEarth" ref="5f495bc1e1dd1c46fa1a800e11d70d47" args="(const DPoint3 &amp;earth, FPoint3 &amp;world) 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">void vtLocalConversion::ConvertFromEarth           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classDPoint3.html">DPoint3</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>earth</em>, </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> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>world</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Convert from earth coodinates (map coordinates, altitude in meters) to the coordinate system of the virtual world (x,y,z)     </td>  </tr></table><a class="anchor" name="7e18f502f31606fb5f6e6cca6490f588"></a><!-- doxytag: member="vtLocalConversion::ConvertFromEarth" ref="7e18f502f31606fb5f6e6cca6490f588" args="(const DPoint2 &amp;earth, float &amp;x, float &amp;z) 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">void vtLocalConversion::ConvertFromEarth           </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>earth</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>x</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>z</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Convert from earth coodinates (map coordinates, altitude in meters) to the coordinate system of the virtual world (x,y,z)     </td>  </tr></table><a class="anchor" name="32439959034886e3ddd4c23dad9ac4be"></a><!-- doxytag: member="vtLocalConversion::ConvertToEarth" ref="32439959034886e3ddd4c23dad9ac4be" args="(float x, float z, DPoint2 &amp;earth) 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">void vtLocalConversion::ConvertToEarth           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">float&nbsp;</td>          <td class="mdname" nowrap> <em>x</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?