diff options
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CTextureBump.html')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CTextureBump.html | 903 |
1 files changed, 903 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CTextureBump.html b/docs/doxygen/nel/classNL3D_1_1CTextureBump.html new file mode 100644 index 00000000..a4098d2d --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CTextureBump.html @@ -0,0 +1,903 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::CTextureBump Class Reference</h1>This texture is a helper to build a DsDt texture from a height map (provided it is supported by hardware) The height map should be convertible to a RGBA bitmap. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CTextureBump: +<p><center><img src="classNL3D_1_1CTextureBump.gif" usemap="#NL3D::CTextureBump_map" border="0"></center> +<map name="NL3D::CTextureBump_map"> +<area href="classNL3D_1_1ITexture.html" alt="NL3D::ITexture" shape="rect" coords="142,112,274,136"> +<area href="classNLMISC_1_1CBitmap.html" alt="NLMISC::CBitmap" shape="rect" coords="0,56,132,80"> +<area href="classNLMISC_1_1CRefCount.html" alt="NLMISC::CRefCount" shape="rect" coords="142,56,274,80"> +<area href="classNLMISC_1_1IStreamable.html" alt="NLMISC::IStreamable" shape="rect" coords="284,56,416,80"> +<area href="classNLMISC_1_1IClassable.html" alt="NLMISC::IClassable" shape="rect" coords="284,0,416,24"> +</map> +<a href="classNL3D_1_1CTextureBump-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a0">NLMISC_DECLARE_CLASS</a> (CTextureBump)</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a1">CTextureBump</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>ctor.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a2">setHeightMap</a> (<a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> *heightMap)</td></tr> +<tr><td> </td><td><font size=-1><em>set the height map used to generate this bump map.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a3">getHeightMap</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>get the height map used to generate this bumpmap.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a4">getHeightMap</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the height map used to generate this bumpmap (const version).</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a5">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> +<tr><td> </td><td><font size=-1><em>==============================================================================================.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a6">supportSharing</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>==============================================================================================.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual std::string </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a7">getShareName</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>==============================================================================================.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a8">enableSharing</a> (bool enabled=true)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a9">isSharingEnabled</a> () const</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a10">setAbsoluteOffsets</a> (bool use=true)</td></tr> +<tr><td> </td><td><font size=-1><em>absolute offsets are taken from the gradient of the height map.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a11">getAbsoluteOffsets</a> () const</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a12">forceNormalize</a> (bool force=true)</td></tr> +<tr><td> </td><td><font size=-1><em>Force normalization of this texture when it is generated, so that the deltas reach their maximum amplitude.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a13">isNormalizationForced</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Test wether normalization is forced with that texture.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a14">getNormalizationFactor</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Get the normalization factor. This is valid only if the texture has been generated.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#a15">release</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>==============================================================================================.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#b0">doGenerate</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>==============================================================================================.</em> <a href="#b0">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CSmartPtr.html">NLMISC::CSmartPtr</a>< <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#n0">_HeightMap</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#n1">_NormalizationFactor</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#n2">_DisableSharing</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#n3">_UseAbsoluteOffsets</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#n4">_ForceNormalize</a></td></tr> +<tr><td colspan=2><br><h2>Private Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureBump.html#c0">setFilterMode</a> (<a class="el" href="classNL3D_1_1ITexture.html#s30">TMagFilter</a> magf, <a class="el" href="classNL3D_1_1ITexture.html#s31">TMinFilter</a> minf)</td></tr> +<tr><td> </td><td><font size=-1><em>==============================================================================================.</em> <a href="#c0">More...</a><em></em></font><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +This texture is a helper to build a DsDt texture from a height map (provided it is supported by hardware) The height map should be convertible to a RGBA bitmap. +<p> +<dl compact><dt><b> +Author: </b><dd> +Nicolas Vizerie , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8h-source.html#l00042">42</a> of file <a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a1" doxytag="NL3D::CTextureBump::CTextureBump"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CTextureBump::CTextureBump </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +ctor. +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8cpp-source.html#l00121">121</a> of file <a class="el" href="texture__bump_8cpp-source.html">texture_bump.cpp</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="b0" doxytag="NL3D::CTextureBump::doGenerate"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextureBump::doGenerate </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +==============================================================================================. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ITexture.html#b0">NL3D::ITexture</a>. +<p> +Definition at line <a class="el" href="texture__bump_8cpp-source.html#l00176">176</a> of file <a class="el" href="texture__bump_8cpp-source.html">texture_bump.cpp</a>. +<p> +References <a class="el" href="texture__bump_8h-source.html#l00092">_HeightMap</a>, <a class="el" href="texture__bump_8h-source.html#l00093">_NormalizationFactor</a>, <a class="el" href="texture__bump_8h-source.html#l00095">_UseAbsoluteOffsets</a>, <a class="el" href="texture__bump_8cpp-source.html#l00035">NL3D::BuildDsDt</a>, <a class="el" href="bitmap_8h-source.html#l00307">NLMISC::CBitmap::getPixels</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">height</a>, <a class="el" href="bitmap_8cpp-source.html#l00156">NLMISC::CBitmap::makeDummy</a>, <a class="el" href="texture__bump_8cpp-source.html#l00061">NL3D::NormalizeDsDt</a>, <a class="el" href="bitmap_8cpp-source.html#l01446">NLMISC::CBitmap::releaseMipMaps</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">width</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NL3D::CTextureBump::enableSharing"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextureBump::enableSharing </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>enabled</em> = true </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8h-source.html#l00063">63</a> of file <a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>. +<p> +References <a class="el" href="texture__bump_8h-source.html#l00094">_DisableSharing</a>. </td> + </tr> +</table> +<a name="a12" doxytag="NL3D::CTextureBump::forceNormalize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextureBump::forceNormalize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>force</em> = true </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Force normalization of this texture when it is generated, so that the deltas reach their maximum amplitude. +<p> +After the texture generation, the factor needed to normalize can be obtained +<p> +Definition at line <a class="el" href="texture__bump_8h-source.html#l00074">74</a> of file <a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>. +<p> +References <a class="el" href="texture__bump_8h-source.html#l00096">_ForceNormalize</a>. </td> + </tr> +</table> +<a name="a11" doxytag="NL3D::CTextureBump::getAbsoluteOffsets"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CTextureBump::getAbsoluteOffsets </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8h-source.html#l00069">69</a> of file <a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>. +<p> +References <a class="el" href="texture__bump_8h-source.html#l00095">_UseAbsoluteOffsets</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::CTextureBump::getHeightMap"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a>* NL3D::CTextureBump::getHeightMap </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the height map used to generate this bumpmap (const version). +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8h-source.html#l00054">54</a> of file <a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>. +<p> +References <a class="el" href="texture__bump_8h-source.html#l00092">_HeightMap</a>, and <a class="el" href="texture_8cpp-source.html#l00043">NL3D::ITexture::ITexture</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NL3D::CTextureBump::getHeightMap"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a>* NL3D::CTextureBump::getHeightMap </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the height map used to generate this bumpmap. +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8h-source.html#l00052">52</a> of file <a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>. +<p> +References <a class="el" href="texture__bump_8h-source.html#l00092">_HeightMap</a>, and <a class="el" href="texture_8cpp-source.html#l00043">NL3D::ITexture::ITexture</a>. </td> + </tr> +</table> +<a name="a14" doxytag="NL3D::CTextureBump::getNormalizationFactor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CTextureBump::getNormalizationFactor </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the normalization factor. This is valid only if the texture has been generated. +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8h-source.html#l00080">80</a> of file <a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>. +<p> +References <a class="el" href="texture__bump_8h-source.html#l00096">_ForceNormalize</a>, <a class="el" href="texture__bump_8h-source.html#l00093">_NormalizationFactor</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NL3D::CTextureBump::getShareName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string NL3D::CTextureBump::getShareName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +==============================================================================================. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1ITexture.html#a8">NL3D::ITexture</a>. +<p> +Definition at line <a class="el" href="texture__bump_8cpp-source.html#l00231">231</a> of file <a class="el" href="texture__bump_8cpp-source.html">texture_bump.cpp</a>. +<p> +References <a class="el" href="texture__bump_8h-source.html#l00092">_HeightMap</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="texture__bump_8cpp-source.html#l00224">supportSharing</a>. </td> + </tr> +</table> +<a name="a13" doxytag="NL3D::CTextureBump::isNormalizationForced"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CTextureBump::isNormalizationForced </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Test wether normalization is forced with that texture. +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8h-source.html#l00077">77</a> of file <a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>. +<p> +References <a class="el" href="texture__bump_8h-source.html#l00096">_ForceNormalize</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NL3D::CTextureBump::isSharingEnabled"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CTextureBump::isSharingEnabled </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8h-source.html#l00065">65</a> of file <a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>. +<p> +References <a class="el" href="texture__bump_8h-source.html#l00094">_DisableSharing</a>. </td> + </tr> +</table> +<a name="a0" doxytag="NL3D::CTextureBump::NLMISC_DECLARE_CLASS"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CTextureBump::NLMISC_DECLARE_CLASS </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">CTextureBump </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a15" doxytag="NL3D::CTextureBump::release"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextureBump::release </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +==============================================================================================. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1ITexture.html#a6">NL3D::ITexture</a>. +<p> +Definition at line <a class="el" href="texture__bump_8cpp-source.html#l00210">210</a> of file <a class="el" href="texture__bump_8cpp-source.html">texture_bump.cpp</a>. +<p> +References <a class="el" href="texture__bump_8h-source.html#l00092">_HeightMap</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NL3D::CTextureBump::serial"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextureBump::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> throw (<a class="el" href="structNLMISC_1_1EStream.html">NLMISC::EStream</a>)<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +==============================================================================================. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1ITexture.html#a12">NL3D::ITexture</a>. +<p> +Definition at line <a class="el" href="texture__bump_8cpp-source.html#l00147">147</a> of file <a class="el" href="texture__bump_8cpp-source.html">texture_bump.cpp</a>. </td> + </tr> +</table> +<a name="a10" doxytag="NL3D::CTextureBump::setAbsoluteOffsets"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextureBump::setAbsoluteOffsets </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>use</em> = true </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +absolute offsets are taken from the gradient of the height map. +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8h-source.html#l00068">68</a> of file <a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>. +<p> +References <a class="el" href="texture__bump_8h-source.html#l00095">_UseAbsoluteOffsets</a>. </td> + </tr> +</table> +<a name="c0" doxytag="NL3D::CTextureBump::setFilterMode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextureBump::setFilterMode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1ITexture.html#s30">TMagFilter</a> </td> + <td class="mdname" nowrap> <em>magf</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1ITexture.html#s31">TMinFilter</a> </td> + <td class="mdname" nowrap> <em>minf</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +==============================================================================================. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1ITexture.html#z826_6">NL3D::ITexture</a>. +<p> +Definition at line <a class="el" href="texture__bump_8cpp-source.html#l00131">131</a> of file <a class="el" href="texture__bump_8cpp-source.html">texture_bump.cpp</a>. +<p> +References <a class="el" href="debug_8h-source.html#l00374">nlstop</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CTextureBump::setHeightMap"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextureBump::setHeightMap </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>heightMap</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the height map used to generate this bump map. +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8cpp-source.html#l00136">136</a> of file <a class="el" href="texture__bump_8cpp-source.html">texture_bump.cpp</a>. +<p> +References <a class="el" href="texture__bump_8h-source.html#l00092">_HeightMap</a>, and <a class="el" href="texture_8h-source.html#l00219">NL3D::ITexture::touch</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NL3D::CTextureBump::supportSharing"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CTextureBump::supportSharing </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +==============================================================================================. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1ITexture.html#a7">NL3D::ITexture</a>. +<p> +Definition at line <a class="el" href="texture__bump_8cpp-source.html#l00224">224</a> of file <a class="el" href="texture__bump_8cpp-source.html">texture_bump.cpp</a>. +<p> +References <a class="el" href="texture__bump_8h-source.html#l00094">_DisableSharing</a>, and <a class="el" href="texture__bump_8h-source.html#l00092">_HeightMap</a>. +<p> +Referenced by <a class="el" href="texture__bump_8cpp-source.html#l00231">getShareName</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="n2" doxytag="NL3D::CTextureBump::_DisableSharing"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CTextureBump::_DisableSharing<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8h-source.html#l00094">94</a> of file <a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>. +<p> +Referenced by <a class="el" href="texture__bump_8h-source.html#l00063">enableSharing</a>, <a class="el" href="texture__bump_8h-source.html#l00065">isSharingEnabled</a>, and <a class="el" href="texture__bump_8cpp-source.html#l00224">supportSharing</a>. </td> + </tr> +</table> +<a name="n4" doxytag="NL3D::CTextureBump::_ForceNormalize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CTextureBump::_ForceNormalize<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8h-source.html#l00096">96</a> of file <a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>. +<p> +Referenced by <a class="el" href="texture__bump_8h-source.html#l00074">forceNormalize</a>, <a class="el" href="texture__bump_8h-source.html#l00080">getNormalizationFactor</a>, and <a class="el" href="texture__bump_8h-source.html#l00077">isNormalizationForced</a>. </td> + </tr> +</table> +<a name="n0" doxytag="NL3D::CTextureBump::_HeightMap"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CSmartPtr.html">NLMISC::CSmartPtr</a><<a class="el" href="classNL3D_1_1ITexture.html">ITexture</a>> NL3D::CTextureBump::_HeightMap<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8h-source.html#l00092">92</a> of file <a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>. +<p> +Referenced by <a class="el" href="texture__bump_8cpp-source.html#l00176">doGenerate</a>, <a class="el" href="texture__bump_8h-source.html#l00052">getHeightMap</a>, <a class="el" href="texture__bump_8cpp-source.html#l00231">getShareName</a>, <a class="el" href="texture__bump_8cpp-source.html#l00210">release</a>, <a class="el" href="texture__bump_8cpp-source.html#l00136">setHeightMap</a>, and <a class="el" href="texture__bump_8cpp-source.html#l00224">supportSharing</a>. </td> + </tr> +</table> +<a name="n1" doxytag="NL3D::CTextureBump::_NormalizationFactor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CTextureBump::_NormalizationFactor<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8h-source.html#l00093">93</a> of file <a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>. +<p> +Referenced by <a class="el" href="texture__bump_8cpp-source.html#l00176">doGenerate</a>, and <a class="el" href="texture__bump_8h-source.html#l00080">getNormalizationFactor</a>. </td> + </tr> +</table> +<a name="n3" doxytag="NL3D::CTextureBump::_UseAbsoluteOffsets"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CTextureBump::_UseAbsoluteOffsets<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="texture__bump_8h-source.html#l00095">95</a> of file <a class="el" href="texture__bump_8h-source.html">texture_bump.h</a>. +<p> +Referenced by <a class="el" href="texture__bump_8cpp-source.html#l00176">doGenerate</a>, <a class="el" href="texture__bump_8h-source.html#l00069">getAbsoluteOffsets</a>, and <a class="el" href="texture__bump_8h-source.html#l00068">setAbsoluteOffsets</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="texture__bump_8h-source.html">texture_bump.h</a><li><a class="el" href="texture__bump_8cpp-source.html">texture_bump.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |