aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02427.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/a02427.html')
-rw-r--r--docs/doxygen/nel/a02427.html494
1 files changed, 494 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02427.html b/docs/doxygen/nel/a02427.html
new file mode 100644
index 00000000..c31b0a59
--- /dev/null
+++ b/docs/doxygen/nel/a02427.html
@@ -0,0 +1,494 @@
+<!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>NeL: NL3D::CDeform2d class Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NL3D::CDeform2d Class Reference</h1><code>#include &lt;<a class="el" href="a05624.html">deform_2d.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+This perform a 2d deformation effect on the frame buffer, by using the given function and surface. This is intended to be used on small surfaces only (getting back data from the frame buffer to build a texture is really slow...) <dl compact><dt><b>Author:</b></dt><dd>Nicolas Vizerie <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05624.html#l00047">47</a> of file <a class="el" href="a05624.html">deform_2d.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector&lt; <a class="el" href="a03660.html">NLMISC::CVector2f</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02427.html#NL3D_1_1CDeform2dw0">TPoint2DVect</a></td></tr>
+
+<tr><td colspan=2><br><h2>Static 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="a02427.html#NL3D_1_1CDeform2de0">doDeform</a> (const <a class="el" href="a02427.html#NL3D_1_1CDeform2dw0">TPoint2DVect</a> &amp;surf, <a class="el" href="a02434.html">IDriver</a> *drv, <a class="el" href="a02428.html">IPerturbUV</a> *uvp)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02427.html#NL3D_1_1CDeform2de1">setupBuffer</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a632">width</a>, <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a633">height</a>, <a class="el" href="a04558.html#a15">uint</a> xGranularity, <a class="el" href="a04558.html#a15">uint</a> yGranularity, <a class="el" href="a04558.html#a15">uint</a> xQuad, <a class="el" href="a04558.html#a15">uint</a> yQuad)</td></tr>
+
+<tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02427.html#NL3D_1_1CDeform2dt0">_Height</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03408.html">NLMISC::CSmartPtr</a>&lt; <a class="el" href="a03487.html">ITexture</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02427.html#NL3D_1_1CDeform2dt1">_Tex</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02427.html#NL3D_1_1CDeform2dt2">_Width</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02427.html#NL3D_1_1CDeform2dt3">_XGranularity</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02427.html#NL3D_1_1CDeform2dt4">_XQuad</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02427.html#NL3D_1_1CDeform2dt5">_YGranularity</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02427.html#NL3D_1_1CDeform2dt6">_YQuad</a></td></tr>
+
+</table>
+<hr><h2>Member Typedef Documentation</h2>
+<a class="anchor" name="NL3D_1_1CDeform2dw0" doxytag="NL3D::CDeform2d::TPoint2DVect" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> typedef std::vector&lt;<a class="el" href="a03660.html">NLMISC::CVector2f</a>&gt; <a class="el" href="a02427.html#NL3D_1_1CDeform2dw0">NL3D::CDeform2d::TPoint2DVect</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05624.html#l00050">50</a> of file <a class="el" href="a05624.html">deform_2d.h</a>.
+<p>
+Referenced by <a class="el" href="a05623.html#l00085">doDeform()</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CDeform2de0" doxytag="NL3D::CDeform2d::doDeform" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CDeform2d::doDeform </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02427.html#NL3D_1_1CDeform2dw0">TPoint2DVect</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>surf</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02434.html">IDriver</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>drv</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02428.html">IPerturbUV</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>uvp</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05623.html#l00085">85</a> of file <a class="el" href="a05623.html">deform_2d.cpp</a>.
+<p>
+References <a class="el" href="a05623.html#l00052">_Tex</a>, <a class="el" href="a05623.html#l00048">_XGranularity</a>, <a class="el" href="a05623.html#l00049">_YGranularity</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera2">NL3D::IDriver::activeVertexBuffer()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera6">NL3D::IDriver::copyFrameBufferToTexture()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a02428.html#NL3D_1_1CDeform2d_1_1IPerturbUVa0">NL3D::CDeform2d::IPerturbUV::perturbUV()</a>, <a class="el" href="a05586.html#l00349">NLMISC::raiseToNextPowerOf2()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera54">NL3D::IDriver::renderQuads()</a>, <a class="el" href="a05641.html#l00071">NL3D::CMaterial::setDoubleSided()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera60">NL3D::IDriver::setFrustum()</a>, <a class="el" href="a05641.html#l00127">NL3D::CMaterial::setLighting()</a>, <a class="el" href="a06710.html#l00409">NL3D::CVertexBuffer::setNumVertices()</a>, <a class="el" href="a06711.html#l00600">NL3D::CVertexBuffer::setTexCoord()</a>, <a class="el" href="a05968.html#l00322">NL3D::CMaterial::setTexture()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera68">NL3D::IDriver::setupModelMatrix()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera72">NL3D::IDriver::setupViewMatrix()</a>, <a class="el" href="a06711.html#l00524">NL3D::CVertexBuffer::setVertexCoord()</a>, <a class="el" href="a06710.html#l00169">NL3D::CVertexBuffer::setVertexFormat()</a>, <a class="el" href="a05641.html#l00099">NL3D::CMaterial::setZFunc()</a>, <a class="el" href="a05624.html#l00050">TPoint2DVect</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05646.html#l00237">v</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>.
+<p>
+<div class="fragment"><pre>00086 {
+00087
+00088 <a class="code" href="a04199.html#a6">nlassert</a>(uvp);
+00089
+00090 <span class="keyword">typedef</span> CQuadEffect::TPoint2DVect <a class="code" href="a02427.html#NL3D_1_1CDeform2dw0">TPoint2DVect</a>;
+00091 TPoint2DVect dest;
+00092
+00093 CQuadEffect::processPoly(surf, (<span class="keywordtype">float</span>) _XGranularity, (<span class="keywordtype">float</span>) _YGranularity, dest);
+00094
+00095 <a class="code" href="a04558.html#a15">uint</a> realWidth = <a class="code" href="a05378.html#a262">NLMISC::raiseToNextPowerOf2</a>(_Width);
+00096 <a class="code" href="a04558.html#a15">uint</a> realHeight= <a class="code" href="a05378.html#a262">NLMISC::raiseToNextPowerOf2</a>(_Height);
+00097
+00098
+00099 <span class="comment">// draw the poly contour</span>
+00100 <span class="comment">/*for (uint k = 0; k &lt; dest.size(); ++k)</span>
+00101 <span class="comment"> {</span>
+00102 <span class="comment"> CDRU::drawLine(dest[k].x, dest[k].y, dest[(k + 1) % dest.size()].x, dest[(k + 1) % dest.size()].y, *drv, CRGBA::Red);</span>
+00103 <span class="comment"> }*/</span>
+00104
+00105
+00106
+00107
+00108 <span class="keyword">static</span> CMaterial mat;
+00109 mat.setDoubleSided(<span class="keyword">true</span>);
+00110 mat.setLighting(<span class="keyword">false</span>);
+00111 mat.setZFunc(CMaterial::always);
+00112 <span class="comment">/* mat.setColor(CRGBA::Red);</span>
+00113 <span class="comment"> mat.texEnvOpRGB(0, CMaterial::Add); */</span>
+00114
+00115 <span class="keyword">static</span> CVertexBuffer vb;
+00116 vb.setVertexFormat(CVertexBuffer::PositionFlag | CVertexBuffer::TexCoord0Flag);
+00117
+00118
+00119
+00120 drv-&gt;setFrustum(0, (<span class="keywordtype">float</span>) _Width, 0, (<span class="keywordtype">float</span>) _Height, -1, 1, <span class="keyword">false</span>);
+00121 drv-&gt;setupViewMatrix(CMatrix::Identity);
+00122 drv-&gt;setupModelMatrix(CMatrix::Identity);
+00123
+00124
+00125 <span class="keyword">const</span> <span class="keywordtype">float</span> iDu = 1.f / _Width;
+00126 <span class="keyword">const</span> <span class="keywordtype">float</span> iDv = 1.f / <a class="code" href="a02427.html#NL3D_1_1CDeform2dt0">_Height</a>;
+00127 <span class="keyword">const</span> <span class="keywordtype">float</span> widthRatio = _Width / (<span class="keywordtype">float</span>) realWidth;
+00128 <span class="keyword">const</span> <span class="keywordtype">float</span> heightRatio = <a class="code" href="a02427.html#NL3D_1_1CDeform2dt0">_Height</a> / (<span class="keywordtype">float</span>) realHeight;
+00129
+00130
+00131 <span class="keywordtype">float</span> u, u2, <a class="code" href="a04223.html#a576">v</a>;
+00132 <span class="keywordtype">float</span> du, dv;
+00133
+00134 TPoint2DVect::const_iterator it;
+00135
+00136 <span class="comment">// get back datas from frame buffer</span>
+00137 <span class="keywordflow">for</span> (it = dest.begin(); it != dest.end(); ++it)
+00138 {
+00139 drv-&gt;copyFrameBufferToTexture(_Tex, 0, (<a class="code" href="a04558.html#a11">uint32</a>) it-&gt;x,(<a class="code" href="a04558.html#a11">uint32</a>) it-&gt;y, (<a class="code" href="a04558.html#a11">uint32</a>) it-&gt;x, (<a class="code" href="a04558.html#a11">uint32</a>) it-&gt;y, _XGranularity, _YGranularity);
+00140 }
+00141
+00142
+00146 vb.setNumVertices(dest.size() &lt;&lt; 2);
+00147 mat.setTexture(0, _Tex);
+00148 <a class="code" href="a04558.html#a15">uint</a> k = 0; <span class="comment">// current index in the vertex buffer</span>
+00149 <span class="keywordflow">for</span> (it = dest.begin(); it != dest.end(); ++it, k += 4)
+00150 {
+00151
+00152 <span class="comment">// \todo optimize this by a direct access to the vertex buffer (if needed)</span>
+00153 <span class="comment">// blit data to frame buffer and apply deformations</span>
+00154
+00155 vb.setVertexCoord(k, <a class="code" href="a03128.html">NLMISC::CVector</a>(it-&gt;x, 0, it-&gt;y));
+00156 vb.setVertexCoord(k + 1, <a class="code" href="a03128.html">NLMISC::CVector</a>(it-&gt;x + _XGranularity, 0, it-&gt;y));
+00157 vb.setVertexCoord(k + 2, <a class="code" href="a03128.html">NLMISC::CVector</a>(it-&gt;x + _XGranularity, 0, it-&gt;y + _YGranularity));
+00158 vb.setVertexCoord(k + 3, <a class="code" href="a03128.html">NLMISC::CVector</a>(it-&gt;x , 0, it-&gt;y + _YGranularity));
+00159
+00160 <span class="comment">// perturbation of the uv coordinates</span>
+00161
+00162 u = it-&gt;x * iDu;
+00163 <a class="code" href="a04223.html#a576">v</a> = it-&gt;y * iDv;
+00164 uvp-&gt;perturbUV(u, v, du, dv);
+00165 vb.setTexCoord(k, 0, (u + du) * widthRatio, (v + dv) * heightRatio );
+00166
+00167 u2 = (it-&gt;x + _XGranularity) * iDu;
+00168 uvp-&gt;perturbUV(u2, v, du, dv);
+00169 vb.setTexCoord(k + 1, 0, (u2 + du) * widthRatio, (v + dv) * heightRatio );
+00170
+00171 <a class="code" href="a04223.html#a576">v</a> = (it-&gt;y + <a class="code" href="a02427.html#NL3D_1_1CDeform2dt5">_YGranularity</a>) * iDv;
+00172 uvp-&gt;perturbUV(u2, v, du, dv);
+00173 vb.setTexCoord(k + 2, 0, (u2 + du) * widthRatio, (v + dv) * heightRatio );
+00174
+00175 uvp-&gt;perturbUV(u, v, du, dv);
+00176 vb.setTexCoord(k + 3, 0, (u + du) * widthRatio, (v + dv) * heightRatio );
+00177 }
+00178
+00179 drv-&gt;activeVertexBuffer(vb);
+00180 drv-&gt;renderQuads(mat, 0, dest.size());
+00181 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDeform2de1" doxytag="NL3D::CDeform2d::setupBuffer" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CDeform2d::setupBuffer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>width</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>height</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>xGranularity</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>yGranularity</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>xQuad</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>yQuad</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+resize the granularity of buffers for fxs <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>width</em>&nbsp;</td><td>frameBuffer width </td></tr>
+ <tr><td valign=top><em>height</em>&nbsp;</td><td>framebuffer height </td></tr>
+ <tr><td valign=top><em>xGranularity</em>&nbsp;</td><td>width of the quads taken from the framebuffer </td></tr>
+ <tr><td valign=top><em>yGranularity</em>&nbsp;</td><td>height of the quads taken from the framebuffer </td></tr>
+ <tr><td valign=top><em>xQuad</em>&nbsp;</td><td>width of the quads used to draw the fx (this is usually lower than xGanularity) </td></tr>
+ <tr><td valign=top><em>yQuad</em>&nbsp;</td><td>height of the quads used to draw the fx (this is usually lower than yGanularity)</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a05623.html#l00055">55</a> of file <a class="el" href="a05623.html">deform_2d.cpp</a>.
+<p>
+References <a class="el" href="a05623.html#l00052">_Tex</a>, <a class="el" href="a05623.html#l00048">_XGranularity</a>, <a class="el" href="a05623.html#l00050">_XQuad</a>, <a class="el" href="a05623.html#l00049">_YGranularity</a>, <a class="el" href="a05623.html#l00051">_YQuad</a>, <a class="el" href="a05646.html#l01013">height</a>, <a class="el" href="a05586.html#l00349">NLMISC::raiseToNextPowerOf2()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05646.html#l01013">width</a>.
+<p>
+<div class="fragment"><pre>00057 {
+00058 <a class="code" href="a02427.html#NL3D_1_1CDeform2dt2">_Width</a> = <a class="code" href="a04223.html#a632">width</a>;
+00059 <a class="code" href="a02427.html#NL3D_1_1CDeform2dt0">_Height</a> = <a class="code" href="a04223.html#a633">height</a>;
+00060 <a class="code" href="a02427.html#NL3D_1_1CDeform2dt3">_XGranularity</a> = xGranularity;
+00061 <a class="code" href="a02427.html#NL3D_1_1CDeform2dt5">_YGranularity</a> = yGranularity;
+00062 <a class="code" href="a02427.html#NL3D_1_1CDeform2dt4">_XQuad</a> = xQuad;
+00063 <a class="code" href="a02427.html#NL3D_1_1CDeform2dt6">_YQuad</a> = yQuad;
+00064
+00065 <a class="code" href="a04558.html#a15">uint</a> realWidth = <a class="code" href="a05378.html#a262">NLMISC::raiseToNextPowerOf2</a>(_Width);
+00066 <a class="code" href="a04558.html#a15">uint</a> realHeight= <a class="code" href="a05378.html#a262">NLMISC::raiseToNextPowerOf2</a>(_Height);
+00067
+00068 <a class="code" href="a02427.html#NL3D_1_1CDeform2dt1">_Tex</a> = <span class="keyword">new</span> CTextureBlank;
+00069 <a class="code" href="a02427.html#NL3D_1_1CDeform2dt1">_Tex</a>-&gt;resize(realWidth, realHeight, CBitmap::RGBA);
+00070 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CDeform2dt0" doxytag="NL3D::CDeform2d::_Height" ></a><p>
+<table class="mdTable" width="100%" 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="a04558.html#a15">uint</a> <a class="el" href="a02427.html#NL3D_1_1CDeform2dt0">NL3D::CDeform2d::_Height</a><code> [static, protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05623.html#l00047">47</a> of file <a class="el" href="a05623.html">deform_2d.cpp</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDeform2dt1" doxytag="NL3D::CDeform2d::_Tex" ></a><p>
+<table class="mdTable" width="100%" 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="a03408.html">NLMISC::CSmartPtr</a>&lt; <a class="el" href="a03487.html">ITexture</a> &gt; <a class="el" href="a02427.html#NL3D_1_1CDeform2dt1">NL3D::CDeform2d::_Tex</a><code> [static, protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05623.html#l00052">52</a> of file <a class="el" href="a05623.html">deform_2d.cpp</a>.
+<p>
+Referenced by <a class="el" href="a05623.html#l00085">doDeform()</a>, and <a class="el" href="a05623.html#l00055">setupBuffer()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDeform2dt2" doxytag="NL3D::CDeform2d::_Width" ></a><p>
+<table class="mdTable" width="100%" 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="a04558.html#a15">uint</a> <a class="el" href="a02427.html#NL3D_1_1CDeform2dt2">NL3D::CDeform2d::_Width</a><code> [static, protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05623.html#l00046">46</a> of file <a class="el" href="a05623.html">deform_2d.cpp</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDeform2dt3" doxytag="NL3D::CDeform2d::_XGranularity" ></a><p>
+<table class="mdTable" width="100%" 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="a04558.html#a15">uint</a> <a class="el" href="a02427.html#NL3D_1_1CDeform2dt3">NL3D::CDeform2d::_XGranularity</a><code> [static, protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05623.html#l00048">48</a> of file <a class="el" href="a05623.html">deform_2d.cpp</a>.
+<p>
+Referenced by <a class="el" href="a05623.html#l00085">doDeform()</a>, and <a class="el" href="a05623.html#l00055">setupBuffer()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDeform2dt4" doxytag="NL3D::CDeform2d::_XQuad" ></a><p>
+<table class="mdTable" width="100%" 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="a04558.html#a15">uint</a> <a class="el" href="a02427.html#NL3D_1_1CDeform2dt4">NL3D::CDeform2d::_XQuad</a><code> [static, protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05623.html#l00050">50</a> of file <a class="el" href="a05623.html">deform_2d.cpp</a>.
+<p>
+Referenced by <a class="el" href="a05623.html#l00055">setupBuffer()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDeform2dt5" doxytag="NL3D::CDeform2d::_YGranularity" ></a><p>
+<table class="mdTable" width="100%" 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="a04558.html#a15">uint</a> <a class="el" href="a02427.html#NL3D_1_1CDeform2dt5">NL3D::CDeform2d::_YGranularity</a><code> [static, protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05623.html#l00049">49</a> of file <a class="el" href="a05623.html">deform_2d.cpp</a>.
+<p>
+Referenced by <a class="el" href="a05623.html#l00085">doDeform()</a>, and <a class="el" href="a05623.html#l00055">setupBuffer()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDeform2dt6" doxytag="NL3D::CDeform2d::_YQuad" ></a><p>
+<table class="mdTable" width="100%" 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="a04558.html#a15">uint</a> <a class="el" href="a02427.html#NL3D_1_1CDeform2dt6">NL3D::CDeform2d::_YQuad</a><code> [static, protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05623.html#l00051">51</a> of file <a class="el" href="a05623.html">deform_2d.cpp</a>.
+<p>
+Referenced by <a class="el" href="a05623.html#l00055">setupBuffer()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a05624.html">deform_2d.h</a><li><a class="el" href="a05623.html">deform_2d.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:45:28 2004 for NeL by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.6 </small></address>
+</body>
+</html>