Go to the documentation of this file.
10 #ifndef AIKIDO_COMMON_SPLINEFWD_HPP_
11 #define AIKIDO_COMMON_SPLINEFWD_HPP_
18 template <
typename Scalar,
int Dim,
int Degree = Eigen::Dynamic>
21 template <
typename SplineType,
int DerivativeOrder = Eigen::Dynamic>
30 template <
typename _Scalar,
int _Dim,
int _Degree>
46 = _Degree == Eigen::Dynamic
52 NumOfDerivativesAtCompileTime = OrderAtCompileTime
60 DerivativeMemoryLayout
76 NumOfDerivativesAtCompileTime,
85 DerivativeMemoryLayout,
87 NumOfDerivativesAtCompileTime>
91 typedef Eigen::Array<Scalar, Dimension, 1>
PointType;
100 typedef Eigen::Array<Scalar, Dimension, Eigen::Dynamic>
111 template <
typename _Scalar,
int _Dim,
int _Degree,
int _DerivativeOrder>
118 = _Degree == Eigen::Dynamic
124 NumOfDerivativesAtCompileTime
125 = _DerivativeOrder == Eigen::Dynamic
127 : _DerivativeOrder + 1
134 DerivativeMemoryLayout
135 = _Dim == 1 ? Eigen::RowMajor
141 typedef Eigen::Array<
146 NumOfDerivativesAtCompileTime,
151 typedef Eigen::Array<
155 DerivativeMemoryLayout,
157 NumOfDerivativesAtCompileTime>
176 #endif // AIKIDO_COMMON_SPLINEFWD_HPP_
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
Eigen::Array< Scalar, Dimension, Eigen::Dynamic, DerivativeMemoryLayout, Dimension, NumOfDerivativesAtCompileTime > DerivativeType
The data type used to store the spline's derivative values.
Definition: SplineFwd.hpp:88
Eigen::Array< Scalar, 1, Eigen::Dynamic > ParameterVectorType
The data type used to store parameter vectors.
Definition: SplineFwd.hpp:97
Eigen::Array< Scalar, 1, Eigen::Dynamic > KnotVectorType
The data type used to store knot vectors.
Definition: SplineFwd.hpp:94
BSpline< double, 2 > BSpline2d
2D double B-spline with dynamic degree.
Definition: SplineFwd.hpp:168
_Scalar Scalar
Definition: SplineFwd.hpp:33
Eigen::Array< _Scalar, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor, NumOfDerivativesAtCompileTime, OrderAtCompileTime > BasisDerivativeType
The data type used to store the values of the basis function derivatives.
Definition: SplineFwd.hpp:148
Eigen::Array< Scalar, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor, NumOfDerivativesAtCompileTime, OrderAtCompileTime > BasisDerivativeType
The data type used to store the values of the basis function derivatives.
Definition: SplineFwd.hpp:78
Definition: SplineFwd.hpp:22
Eigen::Array< Scalar, 1, OrderAtCompileTime > BasisVectorType
The data type used to store non-zero basis functions.
Definition: SplineFwd.hpp:67
Definition: BSpline.hpp:39
Eigen::Array< Scalar, Dimension, Eigen::Dynamic > ControlPointVectorType
The data type representing the spline's control points.
Definition: SplineFwd.hpp:101
BSpline< float, 3 > BSpline3f
3D float B-spline with dynamic degree.
Definition: SplineFwd.hpp:165
BSpline< double, 3 > BSpline3d
3D double B-spline with dynamic degree.
Definition: SplineFwd.hpp:171
Eigen::Array< _Scalar, _Dim, Eigen::Dynamic, DerivativeMemoryLayout, _Dim, NumOfDerivativesAtCompileTime > DerivativeType
The data type used to store the spline's derivative values.
Definition: SplineFwd.hpp:158
Eigen::Array< Scalar, Dimension, 1 > PointType
The point type the spline is representing.
Definition: SplineFwd.hpp:91
BSpline< float, 2 > BSpline2f
2D float B-spline with dynamic degree.
Definition: SplineFwd.hpp:162