Searched refs:SplineType (Results 1 – 11 of 11) sorted by relevance
/external/eigen/unsupported/Eigen/src/Splines/ |
D | SplineFitting.h | 85 template <typename SplineType> 88 typedef typename SplineType::KnotVectorType KnotVectorType; 99 static SplineType Interpolate(const PointArrayType& pts, DenseIndex degree); 111 …static SplineType Interpolate(const PointArrayType& pts, DenseIndex degree, const KnotVectorType& … 114 template <typename SplineType> 116 …SplineType SplineFitting<SplineType>::Interpolate(const PointArrayType& pts, DenseIndex degree, co… in Interpolate() 118 typedef typename SplineType::KnotVectorType::Scalar Scalar; in Interpolate() 119 typedef typename SplineType::ControlPointVectorType ControlPointVectorType; in Interpolate() 130 const DenseIndex span = SplineType::Span(knot_parameters[i], degree, knots); in Interpolate() 133 …A.row(i).segment(span-degree, degree+1) = SplineType::BasisFunctions(knot_parameters[i], degree, k… in Interpolate() [all …]
|
D | Spline.h | 291 template <typename SplineType, typename DerivativeType> 292 …void derivativesImpl(const SplineType& spline, typename SplineType::Scalar u, DenseIndex order, De… in derivativesImpl() 294 enum { Dimension = SplineTraits<SplineType>::Dimension }; in derivativesImpl() 295 enum { Order = SplineTraits<SplineType>::OrderAtCompileTime }; in derivativesImpl() 298 typedef typename SplineTraits<SplineType>::ControlPointVectorType ControlPointVectorType; in derivativesImpl() 299 …typedef typename SplineTraits<SplineType,DerivativeOrder>::BasisDerivativeType BasisDerivativeType; in derivativesImpl() 349 template <typename SplineType, typename DerivativeType> 350 …void basisFunctionDerivativesImpl(const SplineType& spline, typename SplineType::Scalar u, DenseIn… in basisFunctionDerivativesImpl() 352 enum { Order = SplineTraits<SplineType>::OrderAtCompileTime }; in basisFunctionDerivativesImpl() 354 typedef typename SplineTraits<SplineType>::Scalar Scalar; in basisFunctionDerivativesImpl() [all …]
|
D | SplineFwd.h | 19 template < typename SplineType, int DerivativeOrder = Dynamic > struct SplineTraits {};
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | Spline.java | 19 public enum SplineType { enum in Spline 35 private SplineType type = SplineType.CatmullRom; 55 …public Spline(SplineType splineType, Vector3f[] controlPoints, float curveTension, boolean cycle) { in Spline() 56 if(splineType==SplineType.Nurb) { in Spline() 84 …public Spline(SplineType splineType, List<Vector3f> controlPoints, float curveTension, boolean cyc… in Spline() 85 if(splineType==SplineType.Nurb) { in Spline() 110 type = SplineType.Nurb; in Spline() 193 if (type == SplineType.Linear) { in computeTotalLentgh() 201 } else if(type == SplineType.Bezier) { in computeTotalLentgh() 203 } else if(type == SplineType.Nurb) { in computeTotalLentgh() [all …]
|
D | CurveAndSurfaceMath.java | 3 import com.jme3.math.Spline.SplineType; 28 if (nurbSpline.getType() != SplineType.Nurb) { in interpolateNurbs()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
D | Surface.java | 5 import com.jme3.math.Spline.SplineType; 23 private SplineType type; //the type of the surface 43 this.type = SplineType.Nurb; in Surface() 71 result.type = SplineType.Nurb; in createNurbsSurface() 192 public SplineType getType() { in getType()
|
D | Curve.java | 68 this(new Spline(Spline.SplineType.CatmullRom, controlPoints, 10, false), nbSubSegments); in Curve()
|
/external/jmonkeyengine/engine/src/test/jme3test/animation/ |
D | TestMotionPath.java | 48 import com.jme3.math.Spline.SplineType; 173 if (path.getPathSplineType() == SplineType.CatmullRom){ in initInputs() 174 path.setPathSplineType(SplineType.Linear); in initInputs() 176 path.setPathSplineType(SplineType.CatmullRom); in initInputs()
|
D | TestCameraMotionPath.java | 47 import com.jme3.math.Spline.SplineType; 183 if (path.getPathSplineType() == SplineType.CatmullRom){ in initInputs() 184 path.setPathSplineType(SplineType.Linear); in initInputs() 186 path.setPathSplineType(SplineType.CatmullRom); in initInputs()
|
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/ |
D | MotionPath.java | 40 import com.jme3.math.Spline.SplineType; 238 public SplineType getPathSplineType() { in getPathSplineType() 246 public void setPathSplineType(SplineType pathSplineType) { in setPathSplineType()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/curves/ |
D | CurvesHelper.java | 5 import com.jme3.math.Spline.SplineType; 145 Spline bevelSpline = new Spline(SplineType.Bezier, conrtolPoints, 0, false); in toCurve() 150 Spline bevelSpline = new Spline(SplineType.Linear, new Vector3f[]{ in toCurve() 240 Spline spline = new Spline(SplineType.Bezier, controlPoints, 0, false); in loadBezierCurve() 560 Spline spline = new Spline(SplineType.Bezier, controlPoints, 0, false); in loadTaperObject()
|