<!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: csCatmullRomSpline Class 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> <h1>csCatmullRomSpline Class Reference<br> <small> [<a class="el" href="group__geom__utils.html">Geometry utilities</a>]</small> </h1><!-- doxytag: class="csCatmullRomSpline" --><!-- doxytag: inherits="csBSpline" -->A CatmullRom spline. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="spline_8h-source.html">csgeom/spline.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for csCatmullRomSpline:</div> <div class="dynsection"> <p><center><img src="classcsCatmullRomSpline__inherit__graph.png" border="0" usemap="#csCatmullRomSpline__inherit__map" alt="Inheritance graph"></center> <map name="csCatmullRomSpline__inherit__map"> <area shape="rect" href="classcsBSpline.html" title="A B-spline." alt="" coords="41,84,124,111"><area shape="rect" href="classcsSpline.html" title="A spline superclass." alt="" coords="47,7,119,33"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classcsCatmullRomSpline-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"><a class="el" href="classcsCatmullRomSpline.html">csCatmullRomSpline</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsCatmullRomSpline.html#01f816ad78981522448ae0ad09f9f875">Clone</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Clones the spline. <a href="#01f816ad78981522448ae0ad09f9f875"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsCatmullRomSpline.html#057186ea1728cc483eca68c92abbdea9">csCatmullRomSpline</a> (int d, int p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a CatmullRom spline with d dimensions and p points. <a href="#057186ea1728cc483eca68c92abbdea9"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsCatmullRomSpline.html#8c4ec50cc95d688174099ed1388cbb0f">~csCatmullRomSpline</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destroy the spline. <a href="#8c4ec50cc95d688174099ed1388cbb0f"></a><br></td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsCatmullRomSpline.html#3e1d2248e294b93740d05e06e7b41678">BaseFunction</a> (int i, float t) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Base function for a cubic CatmullRom spline (i=-2..1). <a href="#3e1d2248e294b93740d05e06e7b41678"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A CatmullRom spline. <p>Definition at line <a class="el" href="spline_8h-source.html#l00220">220</a> of file <a class="el" href="spline_8h-source.html">spline.h</a>.</p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="057186ea1728cc483eca68c92abbdea9"></a><!-- doxytag: member="csCatmullRomSpline::csCatmullRomSpline" ref="057186ea1728cc483eca68c92abbdea9" args="(int d, int p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">csCatmullRomSpline::csCatmullRomSpline </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>d</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>p</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> Create a CatmullRom spline with d dimensions and p points. <p> <p>Definition at line <a class="el" href="spline_8h-source.html#l00228">228</a> of file <a class="el" href="spline_8h-source.html">spline.h</a>.</p> </div> </div><p> <a class="anchor" name="8c4ec50cc95d688174099ed1388cbb0f"></a><!-- doxytag: member="csCatmullRomSpline::~csCatmullRomSpline" ref="8c4ec50cc95d688174099ed1388cbb0f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual csCatmullRomSpline::~csCatmullRomSpline </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Destroy the spline. <p> <p>Definition at line <a class="el" href="spline_8h-source.html#l00231">231</a> of file <a class="el" href="spline_8h-source.html">spline.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="3e1d2248e294b93740d05e06e7b41678"></a><!-- doxytag: member="csCatmullRomSpline::BaseFunction" ref="3e1d2248e294b93740d05e06e7b41678" args="(int i, float t) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual float csCatmullRomSpline::BaseFunction </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>i</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"> <em>t</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"> const<code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Base function for a cubic CatmullRom spline (i=-2..1). <p> <p>Reimplemented from <a class="el" href="classcsBSpline.html#f96af08caf0e0844a01bfa1fb2f31a44">csBSpline</a>.</p> </div> </div><p> <a class="anchor" name="01f816ad78981522448ae0ad09f9f875"></a><!-- doxytag: member="csCatmullRomSpline::Clone" ref="01f816ad78981522448ae0ad09f9f875" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcsCatmullRomSpline.html">csCatmullRomSpline</a>* csCatmullRomSpline::Clone </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Clones the spline. <p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>csgeom/<a class="el" href="spline_8h-source.html">spline.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>