<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crystal Space 1.2.1: CS::PluginCommon::SoftShader::InterpolateScanlinePersp< 0 > Struct Template Reference (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="nav"> <a class="el" href="namespaceCS.html">CS</a>::<a class="el" href="namespaceCS_1_1PluginCommon.html">PluginCommon</a>::<a class="el" href="namespaceCS_1_1PluginCommon_1_1SoftShader.html">SoftShader</a>::<a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4.html">InterpolateScanlinePersp< 0 ></a></div> <h1>CS::PluginCommon::SoftShader::InterpolateScanlinePersp< 0 > Struct Template Reference</h1><!-- doxytag: class="CS::PluginCommon::SoftShader::InterpolateScanlinePersp< 0 >" --><!-- doxytag: inherits="CS::PluginCommon::SoftShader::InterpolateScanlinePerspCommon" --><div class="dynheader"> Inheritance diagram for CS::PluginCommon::SoftShader::InterpolateScanlinePersp< 0 >:</div> <div class="dynsection"> <p><center><img src="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4__inherit__graph.png" border="0" usemap="#CS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4__inherit__map" alt="Inheritance graph"></center> <map name="CS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4__inherit__map"> <area shape="rect" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePerspCommon.html" title="Interpolator over a scanline, common code." alt="" coords="5,7,467,33"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4-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">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4.html#14a3bdc8c8dcd752fa3b0934346b144d">Advance</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Advance a pixel right. <a href="#14a3bdc8c8dcd752fa3b0934346b144d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1ScanlineComp.html">ScanlineComp</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4.html#4caaa351a92174d37943bb4d70422284">GetFloat</a> (size_t) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return an interpolated component. <a href="#4caaa351a92174d37943bb4d70422284"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4.html#55973ce06f315a1d66cd9a7699be59ea">Setup</a> (const <a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateEdgePersp.html">InterpolateEdgePersp</a> &L, const <a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateEdgePersp.html">InterpolateEdgePersp</a> &R, <a class="el" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> len, int ipolStep, int ipolShift)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Setup interpolation over a scanline, given left and right edge. <a href="#55973ce06f315a1d66cd9a7699be59ea"></a><br></td></tr> <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4.html#c4801ed908928ae0f0986cf9a0b6ce09">InterpolShift</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Interpolation shift. <a href="#c4801ed908928ae0f0986cf9a0b6ce09"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4.html#5599ca04e1cb2004b327341632f5330e">InterpolStep</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Interpolation step. <a href="#5599ca04e1cb2004b327341632f5330e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4.html#ca4641af062c452d60ca6fc66f841b64">ipx</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remaining pixels for this interpolation span. <a href="#ca4641af062c452d60ca6fc66f841b64"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4.html#561e3eac4974a1fbbfdbf0e4311a4225">spans</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remaining spans. <a href="#561e3eac4974a1fbbfdbf0e4311a4225"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<><br> struct CS::PluginCommon::SoftShader::InterpolateScanlinePersp< 0 ></h3> <p>Definition at line <a class="el" href="types_8h-source.html#l00279">279</a> of file <a class="el" href="types_8h-source.html">types.h</a>.</p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="14a3bdc8c8dcd752fa3b0934346b144d"></a><!-- doxytag: member="CS::PluginCommon::SoftShader::InterpolateScanlinePersp< 0 >::Advance" ref="14a3bdc8c8dcd752fa3b0934346b144d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void <a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp.html">CS::PluginCommon::SoftShader::InterpolateScanlinePersp</a>< 0 >::Advance </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Advance a pixel right. <p> <p>Definition at line <a class="el" href="types_8h-source.html#l00310">310</a> of file <a class="el" href="types_8h-source.html">types.h</a>.</p> <p>References <a class="el" href="types_8h-source.html#l00135">CS::PluginCommon::SoftShader::InterpolateScanlinePerspCommon::dIzdx</a>, <a class="el" href="types_8h-source.html#l00137">CS::PluginCommon::SoftShader::InterpolateScanlinePerspCommon::dIzdx_f</a>, <a class="el" href="types_8h-source.html#l00137">CS::PluginCommon::SoftShader::InterpolateScanlinePerspCommon::dIzdx_fLast</a>, <a class="el" href="types_8h-source.html#l00169">CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::InterpolStep</a>, <a class="el" href="types_8h-source.html#l00173">CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::ipx</a>, <a class="el" href="types_8h-source.html#l00135">CS::PluginCommon::SoftShader::InterpolateScanlinePerspCommon::Iz</a>, <a class="el" href="types_8h-source.html#l00137">CS::PluginCommon::SoftShader::InterpolateScanlinePerspCommon::Iz_f</a>, and <a class="el" href="types_8h-source.html#l00175">CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::spans</a>.</p> </div> </div><p> <a class="anchor" name="4caaa351a92174d37943bb4d70422284"></a><!-- doxytag: member="CS::PluginCommon::SoftShader::InterpolateScanlinePersp< 0 >::GetFloat" ref="4caaa351a92174d37943bb4d70422284" args="(size_t) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1ScanlineComp.html">ScanlineComp</a>* <a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp.html">CS::PluginCommon::SoftShader::InterpolateScanlinePersp</a>< 0 >::GetFloat </td> <td>(</td> <td class="paramtype">size_t </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return an interpolated component. <p> But since we don't interpolate anything... <p>Definition at line <a class="el" href="types_8h-source.html#l00334">334</a> of file <a class="el" href="types_8h-source.html">types.h</a>.</p> </div> </div><p> <a class="anchor" name="55973ce06f315a1d66cd9a7699be59ea"></a><!-- doxytag: member="CS::PluginCommon::SoftShader::InterpolateScanlinePersp< 0 >::Setup" ref="55973ce06f315a1d66cd9a7699be59ea" args="(const InterpolateEdgePersp &L, const InterpolateEdgePersp &R, uint len, int ipolStep, int ipolShift)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void <a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp.html">CS::PluginCommon::SoftShader::InterpolateScanlinePersp</a>< 0 >::Setup </td> <td>(</td> <td class="paramtype">const <a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateEdgePersp.html">InterpolateEdgePersp</a> & </td> <td class="paramname"> <em>L</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateEdgePersp.html">InterpolateEdgePersp</a> & </td> <td class="paramname"> <em>R</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> </td> <td class="paramname"> <em>len</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>ipolStep</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>ipolShift</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Setup interpolation over a scanline, given left and right edge. <p> <p>Definition at line <a class="el" href="types_8h-source.html#l00291">291</a> of file <a class="el" href="types_8h-source.html">types.h</a>.</p> <p>References <a class="el" href="types_8h-source.html#l00135">CS::PluginCommon::SoftShader::InterpolateScanlinePerspCommon::dIzdx</a>, <a class="el" href="types_8h-source.html#l00137">CS::PluginCommon::SoftShader::InterpolateScanlinePerspCommon::dIzdx_f</a>, <a class="el" href="types_8h-source.html#l00137">CS::PluginCommon::SoftShader::InterpolateScanlinePerspCommon::dIzdx_fLast</a>, <a class="el" href="types_8h-source.html#l00171">CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::InterpolShift</a>, <a class="el" href="types_8h-source.html#l00169">CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::InterpolStep</a>, <a class="el" href="types_8h-source.html#l00173">CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::ipx</a>, <a class="el" href="types_8h-source.html#l00058">CS::PluginCommon::SoftShader::InterpolateEdgePersp::Iz</a>, <a class="el" href="types_8h-source.html#l00135">CS::PluginCommon::SoftShader::InterpolateScanlinePerspCommon::Iz</a>, <a class="el" href="types_8h-source.html#l00137">CS::PluginCommon::SoftShader::InterpolateScanlinePerspCommon::Iz_f</a>, and <a class="el" href="types_8h-source.html#l00175">CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::spans</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="c4801ed908928ae0f0986cf9a0b6ce09"></a><!-- doxytag: member="CS::PluginCommon::SoftShader::InterpolateScanlinePersp< 0 >::InterpolShift" ref="c4801ed908928ae0f0986cf9a0b6ce09" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp.html">CS::PluginCommon::SoftShader::InterpolateScanlinePersp</a>< 0 >::<a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4.html#c4801ed908928ae0f0986cf9a0b6ce09">InterpolShift</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Interpolation shift. <p> <p>Definition at line <a class="el" href="types_8h-source.html#l00284">284</a> of file <a class="el" href="types_8h-source.html">types.h</a>.</p> </div> </div><p> <a class="anchor" name="5599ca04e1cb2004b327341632f5330e"></a><!-- doxytag: member="CS::PluginCommon::SoftShader::InterpolateScanlinePersp< 0 >::InterpolStep" ref="5599ca04e1cb2004b327341632f5330e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp.html">CS::PluginCommon::SoftShader::InterpolateScanlinePersp</a>< 0 >::<a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4.html#5599ca04e1cb2004b327341632f5330e">InterpolStep</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Interpolation step. <p> <p>Definition at line <a class="el" href="types_8h-source.html#l00282">282</a> of file <a class="el" href="types_8h-source.html">types.h</a>.</p> </div> </div><p> <a class="anchor" name="ca4641af062c452d60ca6fc66f841b64"></a><!-- doxytag: member="CS::PluginCommon::SoftShader::InterpolateScanlinePersp< 0 >::ipx" ref="ca4641af062c452d60ca6fc66f841b64" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp.html">CS::PluginCommon::SoftShader::InterpolateScanlinePersp</a>< 0 >::<a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4.html#ca4641af062c452d60ca6fc66f841b64">ipx</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Remaining pixels for this interpolation span. <p> <p>Definition at line <a class="el" href="types_8h-source.html#l00286">286</a> of file <a class="el" href="types_8h-source.html">types.h</a>.</p> </div> </div><p> <a class="anchor" name="561e3eac4974a1fbbfdbf0e4311a4225"></a><!-- doxytag: member="CS::PluginCommon::SoftShader::InterpolateScanlinePersp< 0 >::spans" ref="561e3eac4974a1fbbfdbf0e4311a4225" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp.html">CS::PluginCommon::SoftShader::InterpolateScanlinePersp</a>< 0 >::<a class="el" href="structCS_1_1PluginCommon_1_1SoftShader_1_1InterpolateScanlinePersp_3_010_01_4.html#561e3eac4974a1fbbfdbf0e4311a4225">spans</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Remaining spans. <p> <p>Definition at line <a class="el" href="types_8h-source.html#l00288">288</a> of file <a class="el" href="types_8h-source.html">types.h</a>.</p> </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li>csplugincommon/softshader/<a class="el" href="types_8h-source.html">types.h</a></ul> <hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>