HomeSort by relevance Sort by last modified time
    Searched defs:spline (Results 1 - 10 of 10) sorted by null

  /external/eigen/unsupported/test/
splines.cpp 15 // force the compilation of all spline functions...
16 template class Spline<double, 2, Dynamic>;
17 template class Spline<double, 3, Dynamic>;
19 template class Spline<double, 2, 2>;
20 template class Spline<double, 2, 3>;
21 template class Spline<double, 2, 4>;
22 template class Spline<double, 2, 5>;
24 template class Spline<float, 2, Dynamic>;
25 template class Spline<float, 3, Dynamic>;
27 template class Spline<float, 3, 2>
95 Spline3d spline = spline3d(); local
132 Spline3d spline = spline3d(); local
159 Spline2d spline = closed_spline2d(); local
210 const Spline2d spline = SplineFitting<Spline2d>::Interpolate(points,3); local
222 const Spline2d spline = SplineFitting<Spline2d>::Interpolate(points,3,chord_lengths); local
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
Curve.java 34 import com.jme3.math.Spline;
42 * A <code>Curve</code> is a visual, line-based representation of a {@link Spline}.
43 * The underlying Spline will be sampled N times where N is the number of
51 private Spline spline; field in class:Curve
62 * Use a CatmullRom spline model that does not cycle.
68 this(new Spline(Spline.SplineType.CatmullRom, controlPoints, 10, false), nbSubSegments);
72 * Create a curve mesh from a Spline
74 * @param spline the spline to us
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterCurves.java 21 import com.android.gallery3d.filtershow.imageshow.Spline;
45 Spline spline = mParameters.getSpline(curveIndex); local
46 if (spline == null) {
49 float[] curve = spline.getAppliedCurve();
57 if (!mParameters.getSpline(Spline.RGB).isOriginal()) {
59 populateArray(rgbGradient, Spline.RGB);
65 if (!mParameters.getSpline(Spline.RED).isOriginal()) {
67 populateArray(redGradient, Spline.RED);
70 if (!mParameters.getSpline(Spline.GREEN).isOriginal())
94 Spline spline = new Spline(); local
    [all...]
FilterCurvesRepresentation.java 9 import com.android.gallery3d.filtershow.imageshow.Spline;
21 private Spline[] mSplines = new Spline[MAX_SPLINE_NUMBER];
55 Spline[] spline = new Spline[MAX_SPLINE_NUMBER]; local
56 for (int i = 0; i < spline.length; i++) {
57 Spline sp = representation.mSplines[i];
59 spline[i] = new Spline(sp)
99 Spline spline = new Spline(); local
144 Spline[] spline = new Spline[MAX_SPLINE_NUMBER]; local
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/cinematic/
MotionPath.java 39 import com.jme3.math.Spline;
40 import com.jme3.math.Spline.SplineType;
62 private Spline spline = new Spline(); field in class:MotionPath
109 for (Iterator<Vector3f> it = spline.getControlPoints().iterator(); it.hasNext();) {
116 switch (spline.getType()) {
137 Geometry lineGeometry = new Geometry("line", new Curve(spline, 0));
147 Geometry lineGeometry = new Geometry("line", new Curve(spline, 10));
155 oc.write(spline, "spline", null)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageCurves.java 54 private int mCurrentCurveIndex = Spline.RGB;
156 private Spline getSpline(int index) {
193 if (mCurrentCurveIndex == Spline.RGB || mCurrentCurveIndex == Spline.RED) {
196 if (mCurrentCurveIndex == Spline.RGB || mCurrentCurveIndex == Spline.GREEN) {
199 if (mCurrentCurveIndex == Spline.RGB || mCurrentCurveIndex == Spline.BLUE) {
203 if (mCurrentCurveIndex == Spline.RGB) {
205 Spline spline = getSpline(i) local
223 Spline spline = getSpline(mCurrentCurveIndex); local
300 Spline spline = getSpline(mCurrentCurveIndex); local
    [all...]
Spline.java 29 public class Spline {
39 private static final String LOGTAG = "Spline";
44 public Spline() {
48 public Spline(Spline spline) {
50 for (int i = 0; i < spline.mPoints.size(); i++) {
51 ControlPoint p = spline.mPoints.elementAt(i);
54 if (spline.mCurrentControlPoint == p) {
76 case Spline.RED
434 Spline spline = new Spline(); local
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/
ShaderUtils.java 133 public static final float spline(float x, final float[] knot) { method in class:ShaderUtils
155 throw new RuntimeException("Spline has too few knots.");
157 /* Find the appropriate 4-point span of the spline. */
172 public static final float[] spline(final float x, final float[][] knots) { method in class:ShaderUtils
175 retval[i] = ShaderUtils.spline(x, knots[i]);
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/curves/
CurvesHelper.java 5 import com.jme3.math.Spline.SplineType;
145 Spline bevelSpline = new Spline(SplineType.Bezier, conrtolPoints, 0, false);
150 Spline bevelSpline = new Spline(SplineType.Linear, new Vector3f[]{
240 Spline spline = new Spline(SplineType.Bezier, controlPoints, 0, false); local
241 Curve curve = new Curve(spline, resolution);
325 Spline nurbSpline = new Spline(controlPoints.get(0), knots[0]);
560 Spline spline = new Spline(SplineType.Bezier, controlPoints, 0, false); local
    [all...]
  /frameworks/base/services/java/com/android/server/power/
DisplayPowerController.java 40 import android.util.Spline;
211 // The auto-brightness spline adjustment.
213 private Spline mScreenAutoBrightnessSpline;
430 private static Spline createAutoBrightnessSpline(int[] lux, int[] brightness) {
441 Spline spline = Spline.createMonotoneCubicSpline(x, y); local
443 Slog.d(TAG, "Auto-brightness spline: " + spline);
445 Slog.d(TAG, String.format(" %7.1f: %7.1f", v, spline.interpolate(v)))
    [all...]

Completed in 5931 milliseconds