|
|
| BSplineCurveT (unsigned int _degree=3) |
| | Constructor.
|
| |
|
| BSplineCurveT (const BSplineCurveT &_curve) |
| | Copy Constructor.
|
| |
|
| ~BSplineCurveT () |
| | Destructor.
|
| |
|
std::vector< Scalar > & | get_knots () |
| | get the knotvector of the bspline curve
|
| |
|
void | set_knots (std::vector< Scalar > _knots) |
| | set the knotvector of the bspline curve
|
| |
|
Knotvector * | get_knotvector_ref () |
| | get a reference to the knotvector
|
| |
|
void | set_knotvector_type (Knotvector::KnotvectorType _type) |
| | set type of knotvector
|
| |
|
Scalar | get_knot (int _i) |
| | get knot i
|
| |
|
Point & | get_control_point (int _i) |
| | get control point i
|
| |
|
void | add_control_point (const Point &_cp) |
| | add a control point
|
| |
|
void | insert_control_point (int _idx, const Point &_cp) |
| | insert a control point at given index
|
| |
|
void | delete_control_point (int _idx) |
| | delete control point at given index
|
| |
|
void | set_control_point (int _idx, const Point &_cp) |
| | reset a control point
|
| |
|
void | set_control_polygon (std::vector< Point > &_control_polygon) |
| | set whole control polygon
|
| |
|
void | reset_control_polygon () |
| | Clears the control polygon.
|
| |
|
void | print () const |
| | print information string
|
| |
| Point | curvePoint (Scalar _u) |
| |
| Point | derivativeCurvePoint (Scalar _u, unsigned int _der) |
| |
| std::vector< Point > | deBoorAlgorithm (double _u) |
| |
|
void | insertKnot (double _u) |
| | Inserts a new knot at parameter u.
|
| |
|
unsigned int | n_control_points () const |
| | Returns the number of control points.
|
| |
|
unsigned int | n_knots () const |
| | Returns the number of knots.
|
| |
|
unsigned int | degree () const |
| | Returns the spline degree.
|
| |
|
void | set_degree (unsigned int _degree) |
| | Sets the spline degree.
|
| |
| ACG::Vec2i | span (double _t) |
| |
| ACG::Vec2i | interval (double _t) |
| |
|
void | autocompute_knotvector (bool _auto) |
| |
|
void | fixNumberOfControlPoints (bool _fix) |
| |
| bool | projected () |
| | projected More...
|
| |
|
void | reverse () |
| | Reverses the curve.
|
| |
| Scalar | basisFunction (int _i, int _n, Scalar _t) |
| |
| Scalar | derivativeBasisFunction (int _i, int _n, Scalar _t, int _der) |
| |
|
Scalar | lower () const |
| | Returns the lower parameter.
|
| |
|
Scalar | upper () const |
| | Returns the upper parameter.
|
| |
|
void | request_controlpoint_selections () |
| |
|
void | request_edge_selections () |
| |
|
void | release_controlpoint_selections () |
| |
|
void | release_edge_selections () |
| |
|
bool | controlpoint_selections_available () const |
| |
|
bool | edge_selections_available () const |
| |
|
unsigned char & | controlpoint_selection (unsigned int _i) |
| |
|
const unsigned char & | controlpoint_selection (unsigned int _i) const |
| |
|
unsigned char & | edge_selection (unsigned int _i) |
| |
|
const unsigned char & | edge_selection (unsigned int _i) const |
| |
|
void | select_controlpoint (unsigned int _pIdx) |
| |
|
void | deselect_controlpoint (unsigned int _pIdx) |
| |
|
bool | controlpoint_selected (unsigned int _pIdx) const |
| |
|
void | select_edge (unsigned int _pIdx) |
| |
|
void | deselect_edge (unsigned int _pIdx) |
| |
|
bool | edge_selected (unsigned int _pIdx) const |
| |
template<class PointT>
class ACG::BSplineCurveT< PointT >
/.../BSplineCurveT.hh>
Brief Description.
A more elaborate description follows.
Definition at line 88 of file BSplineCurveT.hh.