classvticoglobe.html

来自「VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。」· HTML 代码 · 共 173 行

HTML
173
字号
<!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>vtlib library: vtIcoGlobe 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><a href="modules.html"><span>Modules</span></a></li>    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>    <li><a href="dirs.html"><span>Directories</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>vtIcoGlobe Class Reference<br><small>[<a class="el" href="group__terrain.html">Terrain</a>]</small></h1><!-- doxytag: class="vtIcoGlobe" --><!-- doxytag: inherits="DymaxIcosa,vtTimeTarget" -->Inheritance diagram for vtIcoGlobe:<p><center><img src="classvtIcoGlobe__inherit__graph.png" border="0" usemap="#vtIcoGlobe__inherit__map" alt="Inheritance graph"></center><map name="vtIcoGlobe__inherit__map"><area doxygen="vtdata.tag:../vtdata/" href="../vtdata/classDymaxIcosa.html" shape="rect" coords="7,81,103,108" alt=""><area href="classvtTimeTarget.html" shape="rect" coords="127,81,225,108" alt=""><area href="classvtTarget.html" shape="rect" coords="141,7,211,33" alt=""></map><center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classvtIcoGlobe-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>vtIcoGlobe is an icosahedral globe. To use it:<ul><li>call <a class="el" href="classvtIcoGlobe.html#eaa797b6de12b3d6e52c7474c88cf48e">Create()</a> with the desired parameters to construct the object</li><li>call GetTop() to get the top node in the globe's scene graph</li><li>add that node to your scene graph</li></ul><p>The globe has unit radius. <p><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">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtIcoGlobe.html#eaa797b6de12b3d6e52c7474c88cf48e">Create</a> (int iTriangleCount, const <a class="elRef" doxygen="vtdata.tag:../vtdata/" href="../vtdata/classvtString.html">vtString</a> &amp;strImagePrefix, Style style=GEODESIC)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtIcoGlobe.html#2bd2f59abd01429a27b3b25e2242b4ce">SetInflation</a> (float f)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvtIcoGlobe.html#0d35d9eac87c80f38f63dba45edf74c6">SetUnfolding</a> (float f)</td></tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="eaa797b6de12b3d6e52c7474c88cf48e"></a><!-- doxytag: member="vtIcoGlobe::Create" ref="eaa797b6de12b3d6e52c7474c88cf48e" args="(int iTriangleCount, const vtString &amp;strImagePrefix, Style style=GEODESIC)" --><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 vtIcoGlobe::Create           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap> <em>iTriangleCount</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>const <a class="elRef" doxygen="vtdata.tag:../vtdata/" href="../vtdata/classvtString.html">vtString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>strImagePrefix</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>Style&nbsp;</td>          <td class="mdname" nowrap> <em>style</em> = <code>GEODESIC</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>Create the globe's geometry and nodes.<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>iTriangleCount</em>&nbsp;</td><td>The desired triangle count of the entire globe. The class will attempt to match this value as closely as possible with the indicated tessellation. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>strImagePrefix</em>&nbsp;</td><td>The base of the filename for the set of icosahedral surface textures. For example, if your textures have the name "geosphere_*.jpg", pass "geosphere_" </td></tr>    <tr><td valign="top"></td><td valign="top"><em>style</em>&nbsp;</td><td>Tessellation style, can be one of:<ul><li>GEODESIC A classic geodesic tiling based on subdividing the edges of the icosahedron and gnomonically projecting them to the sphere.</li><li>RIGHT_TRIANGLE An alternative approach where each face is divided into right triangles recursively.</li><li>DYMAX_UNFOLD Same as RIGHT_TRIANGLE but the faces are also placed on seperate geometries so that the globe can be unfolded in the Dymaxion style. </li></ul></td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="2bd2f59abd01429a27b3b25e2242b4ce"></a><!-- doxytag: member="vtIcoGlobe::SetInflation" ref="2bd2f59abd01429a27b3b25e2242b4ce" 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 vtIcoGlobe::SetInflation           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">float&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>f</em>          </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>Set the amount of inflation of the globe.<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>f</em>&nbsp;</td><td>Ranges from 0 (icosahedron) to 1 (sphere) </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="0d35d9eac87c80f38f63dba45edf74c6"></a><!-- doxytag: member="vtIcoGlobe::SetUnfolding" ref="0d35d9eac87c80f38f63dba45edf74c6" 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 vtIcoGlobe::SetUnfolding           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">float&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>f</em>          </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>Set the amount of unfolding of the globe.<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>f</em>&nbsp;</td><td>Ranges from 0 (sphere/icosahedron) to 1 (entirely unfolded flat) </td></tr>  </table></dl>    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Jan 14 14:41:01 2008 for vtlib 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 + -
显示快捷键?