HomeSort by relevance Sort by last modified time
    Searched full:spline (Results 1 - 25 of 53) sorted by null

1 2 3

  /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/eigen/unsupported/Eigen/src/Splines/
SplineFwd.h 17 template <typename Scalar, int Dim, int Degree = Dynamic> class Spline;
23 * \brief Compile-time attributes of the Spline class for Dynamic degree.
26 struct SplineTraits< Spline<_Scalar, _Dim, _Degree>, Dynamic >
28 typedef _Scalar Scalar; /*!< The spline curve's scalar type. */
29 enum { Dimension = _Dim /*!< The spline curve's dimension. */ };
30 enum { Degree = _Degree /*!< The spline curve's degree. */ };
32 enum { OrderAtCompileTime = _Degree==Dynamic ? Dynamic : _Degree+1 /*!< The spline curve's order at compile-time. */ };
33 enum { NumOfDerivativesAtCompileTime = OrderAtCompileTime /*!< The number of derivatives defined for the current spline. */ };
41 /** \brief The data type used to store the spline's derivative values. */
44 /** \brief The point type the spline is representing. *
    [all...]
Spline.h 19 * \class Spline
20 * \brief A class representing multi-dimensional spline curves.
23 * point of the B-spline is associated with a basis function
35 class Spline
38 typedef _Scalar Scalar; /*!< The spline curve's scalar type. */
39 enum { Dimension = _Dim /*!< The spline curve's dimension. */ };
40 enum { Degree = _Degree /*!< The spline curve's degree. */ };
42 /** \brief The point type the spline is representing. */
43 typedef typename SplineTraits<Spline>::PointType PointType;
46 typedef typename SplineTraits<Spline>::KnotVectorType KnotVectorType
    [all...]
SplineFitting.h 32 * of the desired interpolating spline.
35 * \param[in] degree The spline degree which is used during the interpolation.
53 * \brief Computes chord length parameters which are required for spline interpolation.
56 * \param[in] pts The data points to which a spline should be fit.
82 * \brief Spline fitting methods.
91 * \brief Fits an interpolating Spline to the given data points.
93 * \param pts The points for which an interpolating spline will be computed.
94 * \param degree The degree of the interpolating spline.
96 * \returns A spline interpolating the initially provided points.
102 * \brief Fits an interpolating Spline to the given data points
    [all...]
  /external/eigen/unsupported/Eigen/
Splines 16 * \defgroup Splines_Module Spline and spline fitting module
18 * This module provides a simple multi-dimensional spline class while
19 * offering most basic functionality to fit a spline to point sets.
28 #include "src/Splines/Spline.h"
  /external/eigen/unsupported/test/
splines.cpp 17 // force the compilation of all spline functions...
18 template class Spline<double, 2, Dynamic>;
19 template class Spline<double, 3, Dynamic>;
21 template class Spline<double, 2, 2>;
22 template class Spline<double, 2, 3>;
23 template class Spline<double, 2, 4>;
24 template class Spline<double, 2, 5>;
26 template class Spline<float, 2, Dynamic>;
27 template class Spline<float, 3, Dynamic>;
29 template class Spline<float, 3, 2>
99 Spline3d spline = spline3d(); local
136 Spline3d spline = spline3d(); local
163 Spline2d spline = closed_spline2d(); local
214 const Spline2d spline = SplineFitting<Spline2d>::Interpolate(points,3); local
226 const Spline2d spline = SplineFitting<Spline2d>::Interpolate(points,3,chord_lengths); local
    [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
299 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/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...]
  /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...]
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
Spline.java 17 public class Spline implements Savable {
27 private List<Float> knots; //knots of NURBS spline
28 private float[] weights; //weights of NURBS spline
29 private int basisFunctionDegree; //degree of NURBS spline basis function (computed automatically)
37 public Spline() {
41 * Create a spline
42 * @param splineType the type of the spline @see {SplineType}
43 * @param controlPoints an array of vector to use as control points of the spline
52 * @param curveTension the tension of the spline
53 * @param cycle true if the spline cycle
    [all...]
CurveAndSurfaceMath.java 3 import com.jme3.math.Spline.SplineType;
23 * the nurbs spline definition
27 public static void interpolateNurbs(float u, Spline nurbSpline, Vector3f store) {
29 throw new IllegalArgumentException("Given spline is not of a NURB type!");
  /external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/polynomials/
PolynomialSplineFunction.java 28 * Represents a polynomial spline function.
30 * A <strong>polynomial spline function</strong> consists of a set of
32 * <i>knot points</i>, determining the intervals over which the spline function
40 * centered on the knot points to compute the spline function values.
43 * The domain of the polynomial spline function is
48 * The value of the polynomial spline function for an argument <code>x</code>
64 /** Spline segment interval delimiters (knots). Size is n+1 for n segments. */
68 * The polynomial functions that make up the spline. The first element
69 * determines the value of the spline over the first subinterval, the
70 * second over the second, etc. Spline function values are determined b
    [all...]
  /frameworks/base/core/java/android/util/
Spline.java 20 * Performs spline interpolation given a set of control points.
23 public abstract class Spline {
27 * Clamps X to the domain of the spline.
35 * Creates an appropriate spline based on the properties of the control points.
37 * If the control points are monotonic then the resulting spline will preserve that and
40 public static Spline createSpline(float[] x, float[] y) {
54 * Creates a monotone cubic spline from a given set of control points.
56 * The spline is guaranteed to pass through each control point exactly.
60 * This function uses the Fritsch-Carlson method for computing the spline parameters.
71 public static Spline createMonotoneCubicSpline(float[] x, float[] y)
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
ConstraintSplineInverseKinematic.java 12 * The spline inverse kinematic constraint. Available for blender 2.50+.
  /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/av/media/libeffects/loudness/dsp/core/
interpolator_base.h 34 // InterpolationSplines<T>: spline-based interpolation
36 // Example (using derived spline-based interpolation class):
  /external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/
SplineInterpolator.java 27 * Computes a natural (also known as "free", "unclamped") cubic spline interpolation for the data set.
46 * The cubic spline interpolation algorithm implemented is as described in R.L. Burden, J.D. Faires,
100 // cubic spline coefficients -- b is linear, c quadratic, d is cubic (original y's are constants)
TricubicSplineInterpolator.java 80 // For each line x[i] (0 <= i < xLen), construct a 2D spline in y and z
87 // For each line y[j] (0 <= j < yLen), construct a 2D spline in z and x
94 // For each line z[k] (0 <= k < zLen), construct a 2D spline in x and y
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
HistogramView.java 88 float w = getWidth(); // - Spline.curveHandleSize();
89 float h = getHeight(); // - Spline.curveHandleSize() / 2.0f;
90 float dx = 0; // Spline.curveHandleSize() / 2.0f;
  /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]);
  /frameworks/base/core/java/android/widget/
OverScroller.java 498 mScrollerX.mState != SplineOverScroller.SPLINE) ||
500 mScrollerY.mState != SplineOverScroller.SPLINE));
563 // Duration to complete spline component of animation
566 // Distance to travel along spline animation
579 private int mState = SPLINE;
598 private static final int SPLINE = 0;
661 * spline interpolation. The previous duration was needed to get to oldFinal.
757 mState = SPLINE;
842 if (mState == SPLINE) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/display/
DisplayPowerController.java 42 import android.util.Spline;
326 Spline screenAutoBrightnessSpline = createAutoBrightnessSpline(lux, screenBrightness);
1171 Spline spline = Spline.createSpline(x, y); local
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
OverScrollerSGV.java 501 mScrollerX.mState != SplineOverScroller.SPLINE) ||
503 mScrollerY.mState != SplineOverScroller.SPLINE));
566 // Duration to complete spline component of animation
569 // Distance to travel along spline animation
582 private int mState = SPLINE;
601 private static final int SPLINE = 0;
664 * spline interpolation. The previous duration was needed to get to oldFinal.
760 mState = SPLINE;
844 if (mState == SPLINE) {
    [all...]

Completed in 2716 milliseconds

1 2 3