|
ETL
0.04.19
|
#include <_bspline.h>
Public Types | |
| typedef T | value_type |
| typedef K | knot_type |
| typedef std::vector< knot_type > | knot_container |
| typedef std::vector< value_type > | cpoint_container |
| typedef knot_container::iterator | knot_iterator |
| typedef cpoint_container::iterator | cpoint_iterator |
| typedef C | affine_func_type |
| typedef D | distance_func_type |
Public Member Functions | |
| bspline () | |
| int | get_m () const |
| int | set_m (int new_m) |
| bool | set_loop (bool x) |
| knot_container & | knots () |
| cpoint_container & | cpoints () |
| const knot_container & | knots () const |
| const cpoint_container & | cpoints () const |
| void | reset_knots () |
| int | calc_curve_segment (knot_type t) const |
| knot_container | get_segment_knots (int i) const |
| cpoint_container | get_segment_cpoints (int i) const |
| cpoint_container | calc_shell (knot_type t, int level) const |
| value_type | operator() (knot_type t) const |
| value_type | get_curve_val (int i, knot_type t) const |
| cpoint_iterator | find_closest_cpoint (const value_type &point, typename distance_func_type::result_type max) |
Protected Attributes | |
| affine_func_type | affine_func |
| distance_func_type | distance_func |
Private Attributes | |
| int | m |
| knot_container | _knots |
| cpoint_container | _cpoints |
| bool | _loop |
======================================================================== Extended Template and Library B-Spline Class Implementation $Id$
Copyright (c) 2002 Robert B. Quattlebaum Jr. Copyright (c) 2010 Nikita Kitaev
This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
=== N O T E S ===========================================================
This is an internal header file, included by other ETL headers. You should not attempt to use it directly.
Definition at line 46 of file _bspline.h.
| typedef T bspline< T, K, C, D >::value_type |
Definition at line 49 of file _bspline.h.
| typedef K bspline< T, K, C, D >::knot_type |
Definition at line 50 of file _bspline.h.
| typedef std::vector<knot_type> bspline< T, K, C, D >::knot_container |
Definition at line 51 of file _bspline.h.
| typedef std::vector<value_type> bspline< T, K, C, D >::cpoint_container |
Definition at line 52 of file _bspline.h.
| typedef knot_container::iterator bspline< T, K, C, D >::knot_iterator |
Definition at line 53 of file _bspline.h.
| typedef cpoint_container::iterator bspline< T, K, C, D >::cpoint_iterator |
Definition at line 54 of file _bspline.h.
| typedef C bspline< T, K, C, D >::affine_func_type |
Definition at line 56 of file _bspline.h.
| typedef D bspline< T, K, C, D >::distance_func_type |
Definition at line 57 of file _bspline.h.
|
inline |
Definition at line 70 of file _bspline.h.
|
inline |
Definition at line 72 of file _bspline.h.
References bspline< T, K, C, D >::m.
|
inline |
Definition at line 73 of file _bspline.h.
References bspline< T, K, C, D >::m.
|
inline |
Definition at line 75 of file _bspline.h.
References bspline< T, K, C, D >::_loop, and bspline< T, K, C, D >::reset_knots().
|
inline |
Definition at line 77 of file _bspline.h.
References bspline< T, K, C, D >::_knots.
|
inline |
Definition at line 78 of file _bspline.h.
References bspline< T, K, C, D >::_cpoints.
|
inline |
Definition at line 80 of file _bspline.h.
References bspline< T, K, C, D >::_knots.
|
inline |
Definition at line 81 of file _bspline.h.
References bspline< T, K, C, D >::_cpoints.
|
inline |
Definition at line 83 of file _bspline.h.
References bspline< T, K, C, D >::_cpoints, bspline< T, K, C, D >::_knots, bspline< T, K, C, D >::_loop, and bspline< T, K, C, D >::m.
Referenced by bspline< T, K, C, D >::set_loop().
|
inline |
Definition at line 113 of file _bspline.h.
References bspline< T, K, C, D >::_knots.
Referenced by bspline< T, K, C, D >::calc_shell(), and bspline< T, K, C, D >::operator()().
|
inline |
Definition at line 126 of file _bspline.h.
References bspline< T, K, C, D >::_knots, and bspline< T, K, C, D >::m.
Referenced by bspline< T, K, C, D >::calc_shell(), and bspline< T, K, C, D >::get_curve_val().
|
inline |
Definition at line 142 of file _bspline.h.
References bspline< T, K, C, D >::_cpoints, bspline< T, K, C, D >::_knots, and bspline< T, K, C, D >::m.
Referenced by bspline< T, K, C, D >::calc_shell(), and bspline< T, K, C, D >::get_curve_val().
|
inline |
Definition at line 155 of file _bspline.h.
References bspline< T, K, C, D >::affine_func, bspline< T, K, C, D >::calc_curve_segment(), bspline< T, K, C, D >::get_segment_cpoints(), bspline< T, K, C, D >::get_segment_knots(), and bspline< T, K, C, D >::m.
|
inline |
Definition at line 178 of file _bspline.h.
References bspline< T, K, C, D >::calc_curve_segment(), and bspline< T, K, C, D >::get_curve_val().
|
inline |
Definition at line 183 of file _bspline.h.
References bspline< T, K, C, D >::affine_func, bspline< T, K, C, D >::get_segment_cpoints(), bspline< T, K, C, D >::get_segment_knots(), and bspline< T, K, C, D >::m.
Referenced by bspline< T, K, C, D >::operator()().
|
inline |
Definition at line 205 of file _bspline.h.
References bspline< T, K, C, D >::_cpoints, distance_func< T, K >::cook(), and bspline< T, K, C, D >::distance_func.
|
protected |
Definition at line 60 of file _bspline.h.
Referenced by bspline< T, K, C, D >::calc_shell(), and bspline< T, K, C, D >::get_curve_val().
|
protected |
Definition at line 61 of file _bspline.h.
Referenced by bspline< T, K, C, D >::find_closest_cpoint().
|
private |
Definition at line 64 of file _bspline.h.
Referenced by bspline< T, K, C, D >::calc_shell(), bspline< T, K, C, D >::get_curve_val(), bspline< T, K, C, D >::get_m(), bspline< T, K, C, D >::get_segment_cpoints(), bspline< T, K, C, D >::get_segment_knots(), bspline< T, K, C, D >::reset_knots(), and bspline< T, K, C, D >::set_m().
|
private |
Definition at line 65 of file _bspline.h.
Referenced by bspline< T, K, C, D >::calc_curve_segment(), bspline< T, K, C, D >::get_segment_cpoints(), bspline< T, K, C, D >::get_segment_knots(), bspline< T, K, C, D >::knots(), and bspline< T, K, C, D >::reset_knots().
|
private |
Definition at line 66 of file _bspline.h.
Referenced by bspline< T, K, C, D >::cpoints(), bspline< T, K, C, D >::find_closest_cpoint(), bspline< T, K, C, D >::get_segment_cpoints(), and bspline< T, K, C, D >::reset_knots().
|
private |
Definition at line 67 of file _bspline.h.
Referenced by bspline< T, K, C, D >::reset_knots(), and bspline< T, K, C, D >::set_loop().
1.8.1.2