#include <bspline.h>
List of all members.
Public Member Functions |
| BSpline () |
| BSpline (int n, int resolution, std::vector< cv::Point3d > control_points) |
cv::Point3d & | dt (const size_t index) |
cv::Point3d & | operator[] (const size_t index) |
const cv::Point3d & | operator[] (const size_t index) const |
| ~BSpline () |
Public Attributes |
cv::Mat | basic_mat_ |
Private Member Functions |
double | basic (int k, int t, double v) |
double | basic (int i, int degree, double t, double *bp) |
void | computeKnots () |
void | computePoint (std::vector< cv::Point3d > control, cv::Point3d *p, cv::Point3d *tangent, double *mat_ptr, double v, int degree) |
Private Attributes |
cv::Point3d * | curve_ |
std::vector< int > | knots |
cv::Point3d * | tangent_ |
Detailed Description
Definition at line 39 of file bspline.h.
Constructor & Destructor Documentation
BSpline::BSpline |
( |
int |
n, |
|
|
int |
resolution, |
|
|
std::vector< cv::Point3d > |
control_points |
|
) |
| |
Member Function Documentation
double BSpline::basic |
( |
int |
i, |
|
|
int |
degree, |
|
|
double |
t, |
|
|
double * |
bp |
|
) |
| [private] |
void BSpline::computePoint |
( |
std::vector< cv::Point3d > |
control, |
|
|
cv::Point3d * |
p, |
|
|
cv::Point3d * |
tangent, |
|
|
double * |
mat_ptr, |
|
|
double |
v, |
|
|
int |
degree |
|
) |
| [private] |
cv::Point3d& BSpline::dt |
( |
const size_t |
index | ) |
[inline] |
cv::Point3d& BSpline::operator[] |
( |
const size_t |
index | ) |
[inline] |
const cv::Point3d& BSpline::operator[] |
( |
const size_t |
index | ) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following files: