⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classvtmaterial.html

📁 VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Get the specular color of this material. <p>Implements <a class="el" href="classvtMaterialBase.html">vtMaterialBase</a>.    </td>  </tr></table><a class="anchor" name="b8df75b6a0f89d95184ce454eefee393"></a><!-- doxytag: member="vtMaterial::GetTexture" ref="b8df75b6a0f89d95184ce454eefee393" args="() 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"><a class="el" href="classvtImage.html">vtImage</a> * vtMaterial::GetTexture           </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> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Returns the texture (image) associated with a material.     </td>  </tr></table><a class="anchor" name="c703087c6f93dcc709f7aadb5c0b1f2b"></a><!-- doxytag: member="vtMaterial::GetTransparent" ref="c703087c6f93dcc709f7aadb5c0b1f2b" args="() 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 vtMaterial::GetTransparent           </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> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Get the transparent property of this material. <p>Implements <a class="el" href="classvtMaterialBase.html">vtMaterialBase</a>.    </td>  </tr></table><a class="anchor" name="11e29737560093c6287e74b0db4073e0"></a><!-- doxytag: member="vtMaterial::GetWireframe" ref="11e29737560093c6287e74b0db4073e0" args="() 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 vtMaterial::GetWireframe           </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> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Get the wireframe property of this material.     </td>  </tr></table><a class="anchor" name="1ce0e3dd9d9d3438d147e3b9e15a2073"></a><!-- doxytag: member="vtMaterial::ModifiedTexture" ref="1ce0e3dd9d9d3438d147e3b9e15a2073" 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">void vtMaterial::ModifiedTexture           </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>Call this method to tell vtlib that you have modified the contents of a texture so it needs to be sent again to the graphics card.     </td>  </tr></table><a class="anchor" name="9904c708db3dc0cc67015c4a88e1ce56"></a><!-- doxytag: member="vtMaterial::SetAmbient" ref="9904c708db3dc0cc67015c4a88e1ce56" args="(float r, float g, float b)" --><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 vtMaterial::SetAmbient           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">float&nbsp;</td>          <td class="mdname" nowrap> <em>r</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>float&nbsp;</td>          <td class="mdname" nowrap> <em>g</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>float&nbsp;</td>          <td class="mdname" nowrap> <em>b</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the ambient color of this material. <p>Implements <a class="el" href="classvtMaterialBase.html">vtMaterialBase</a>.    </td>  </tr></table><a class="anchor" name="e93c7987002e7769f1e24eea4467eeb6"></a><!-- doxytag: member="vtMaterial::SetClamp" ref="e93c7987002e7769f1e24eea4467eeb6" args="(bool bClamp)" --><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 vtMaterial::SetClamp           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">bool&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>bClamp</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 texture clamping property for this material.     </td>  </tr></table><a class="anchor" name="b82483683b31a682dffa18b8d3053a27"></a><!-- doxytag: member="vtMaterial::SetCulling" ref="b82483683b31a682dffa18b8d3053a27" args="(bool bCulling)" --><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 vtMaterial::SetCulling           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">bool&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>bCulling</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 backface culling property of this material. <p>Implements <a class="el" href="classvtMaterialBase.html">vtMaterialBase</a>.    </td>  </tr></table><a class="anchor" name="fc0a970c620ae93f992aa61416851d86"></a><!-- doxytag: member="vtMaterial::SetDiffuse" ref="fc0a970c620ae93f992aa61416851d86" args="(float r, float g, float b, float a=1.0f)" --><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 vtMaterial::SetDiffuse           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">float&nbsp;</td>          <td class="mdname" nowrap> <em>r</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>float&nbsp;</td>          <td class="mdname" nowrap> <em>g</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>float&nbsp;</td>          <td class="mdname" nowrap> <em>b</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>float&nbsp;</td>          <td class="mdname" nowrap> <em>a</em> = <code>1.0f</code></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the diffuse color of this material.<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>r,g,b</em>&nbsp;</td><td>The rgb value (0.0 to 1.0) of this material </td></tr>    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>For a material with transparency enabled, the alpha component of the diffuse color determines the overall transparency of the material. This value ranges from 0 (totally transparent) to 1 (totally opaque.) </td></tr>  </table></dl><p>Implements <a class="el" href="classvtMaterialBase.html">vtMaterialBase</a>.    </td>  </tr></table><a class="anchor" name="45d3e135371fd67cd582f06c10817911"></a><!-- doxytag: member="vtMaterial::SetEmission" ref="45d3e135371fd67cd582f06c10817911" args="(float r, float g, float b)" --><p>

⌨️ 快捷键说明

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