Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
BSpline Class Reference

#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

Definition at line 168 of file bspline.cpp.

BSpline::BSpline ( int  n,
int  resolution,
std::vector< cv::Point3d >  control_points 
)

Definition at line 170 of file bspline.cpp.

Definition at line 215 of file bspline.cpp.


Member Function Documentation

double BSpline::basic ( int  k,
int  t,
double  v 
) [private]

Definition at line 44 of file bspline.cpp.

double BSpline::basic ( int  i,
int  degree,
double  t,
double *  bp 
) [private]

Definition at line 60 of file bspline.cpp.

void BSpline::computeKnots ( ) [private]

Definition at line 124 of file bspline.cpp.

void BSpline::computePoint ( std::vector< cv::Point3d >  control,
cv::Point3d *  p,
cv::Point3d *  tangent,
double *  mat_ptr,
double  v,
int  degree 
) [private]

Definition at line 139 of file bspline.cpp.

cv::Point3d& BSpline::dt ( const size_t  index) [inline]

Definition at line 66 of file bspline.h.

cv::Point3d& BSpline::operator[] ( const size_t  index) [inline]

Definition at line 56 of file bspline.h.

const cv::Point3d& BSpline::operator[] ( const size_t  index) const [inline]

Definition at line 61 of file bspline.h.


Member Data Documentation

Definition at line 70 of file bspline.h.

cv::Point3d* BSpline::curve_ [private]

Definition at line 82 of file bspline.h.

std::vector<int> BSpline::knots [private]

Definition at line 81 of file bspline.h.

cv::Point3d* BSpline::tangent_ [private]

Definition at line 83 of file bspline.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


contracting_curve_density_algorithm
Author(s): Shulei Zhu, Dejan Pangercic
autogenerated on Thu May 23 2013 14:41:45