<html> <head> <title>Constants' Group InterpolationMode</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimainnone">Use</td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#Constants" class="navisub">Constants</a></td> <td class="navisub"><a href="#ConstantDetails" class="navisub">Constants' Details</a></td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">rendering</a> :: </p> </td> </tr> <tr> <td class="title"><table class="title-table" width="99%"> <tr> <td width="25%" class="title2">unpublished </td> <td width="50%" class="title">constants group InterpolationMode</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>These constants specify the interpolation type for animation frames.</dd> <dd><p> With this constants, one specifies the way of interpolation that takes place between two consecutive frames of a discrete animation sequence. </dd> <dt><b/></dt> <dd/></dl> </td> </tr> </table> <hr> <a name="Constants"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Constants</td> </tr> <tr> <td class="imsum_left"><a href="#NEAREST_NEIGHBOR">NEAREST_NEIGHBOR</a></td> <td class="imsum_right">Perform a nearest neighbor interpolation. </td> </tr> <tr> <td class="imsum_left"><a href="#LINEAR">LINEAR</a></td> <td class="imsum_right">Perform a linear interpolation. </td> </tr> <tr> <td class="imsum_left"><a href="#CUBIC">CUBIC</a></td> <td class="imsum_right">Perform a cubic interpolation. </td> </tr> <tr> <td class="imsum_left"><a href="#BEZIERSPLINE3">BEZIERSPLINE3</a></td> <td class="imsum_right">Perform a cubic bezier spline interpolation. </td> </tr> <tr> <td class="imsum_left"><a href="#BEZIERSPLINE4">BEZIERSPLINE4</a></td> <td class="imsum_right">Perform a quadric bezier spline interpolation. </td> </tr> </table> <a name="ConstantDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Constants' Details</td> </tr> <tr> <td class="imdetail"><a name="NEAREST_NEIGHBOR" class="membertitle">NEAREST_NEIGHBOR</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const byte <b>NEAREST_NEIGHBOR</b> =1;<hr> <dl> <dt><b>Description</b></dt> <dd>Perform a nearest neighbor interpolation.</dd> <dd><p> That is, when interpolating between two values v0 and v1, positioned at t0 and t1, take the one which has the closest t coordinate.<p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="LINEAR" class="membertitle">LINEAR</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const byte <b>LINEAR</b> =2;<hr> <dl> <dt><b>Description</b></dt> <dd>Perform a linear interpolation.</dd> <dd><p> That is, when interpolating at position t between two values v0 and v1, positioned at t0 and t1, take the sum of v0 weighted with (t-t0) and v1 weighted with (t1-t).<p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="CUBIC" class="membertitle">CUBIC</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const byte <b>CUBIC</b> =3;<hr> <dl> <dt><b>Description</b></dt> <dd>Perform a cubic interpolation.</dd> <dd><p> That is, when interpolating at position t, take the four closest data points v0, v1, v2, and v3, fit a cubic curve through them, and take the interpolated value from this cubic curve.<p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="BEZIERSPLINE3" class="membertitle">BEZIERSPLINE3</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const byte <b>BEZIERSPLINE3</b> =4;<hr> <dl> <dt><b>Description</b></dt> <dd>Perform a cubic bezier spline interpolation.</dd> <dd><p> That is, when interpolating at position t, take the three closest data points v0, v1, and v2, fit a cubic bezier spline through them, and take the interpolated value from this cubic curve.<p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="BEZIERSPLINE4" class="membertitle">BEZIERSPLINE4</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const byte <b>BEZIERSPLINE4</b> =5;<hr> <dl> <dt><b>Description</b></dt> <dd>Perform a quadric bezier spline interpolation.</dd> <dd><p> That is, when interpolating at position t, take the four closest data points v0, v1, v2, and v3, fit a quadric bezier spline through them, and take the interpolated value from this quadric curve.<p> </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>