#include <Type-BSpline/ObjectTypes/Knotvector/KnotvectorT.hh>
|
enum | KnotvectorType { UNIFORM_INTERPOL = 0,
UNIFORM = 1
} |
|
|
| KnotvectorT () |
| Constructor.
|
|
| KnotvectorT (const KnotvectorT &_knotvec) |
| Copy Constructor.
|
|
| ~KnotvectorT () |
| Destructor.
|
|
void | setType (KnotvectorType _type) |
|
void | createKnots (unsigned int _splineDeg, unsigned int _dim) |
|
std::vector< Scalar > & | getKnotvector () |
|
const std::vector< Scalar > & | getKnotvector () const |
|
unsigned int | size () const |
|
Scalar | getKnot (unsigned int _index) const |
|
void | setKnotvector (const std::vector< Scalar > &_knots) |
|
void | resize (unsigned int _size) |
|
void | insertKnot (unsigned int _index, const Scalar _knot) |
|
void | addKnot (Scalar _knot) |
|
void | setKnot (unsigned int _index, Scalar _knot) |
|
void | deleteKnot (unsigned int _index) |
|
Scalar & | operator() (unsigned int _index) |
| returns a reference to the _index'th knot More...
|
|
const Scalar & | operator() (unsigned int _index) const |
| returns a const reference to the _index'th knot More...
|
|
void | clear () |
|
void | request_selections () |
|
void | release_selections () |
|
bool | selections_available () const |
|
unsigned char & | selection (unsigned int _i) |
|
const unsigned char & | selection (unsigned int _i) const |
|
void | select (unsigned int _pIdx) |
|
void | deselect (unsigned int _pIdx) |
|
bool | selected (unsigned int _pIdx) const |
|
|
template<class PropT > |
void | request_prop (unsigned int &_ref_count, PropT &_prop) |
|
template<class PropT > |
void | release_prop (unsigned int &_ref_count, PropT &_prop) |
|
void | createUniformInterpolatingKnots (unsigned int _splineDeg, unsigned int _dim) |
|
void | createUniformKnots (unsigned int _splineDeg, unsigned int _dim) |
|
|
std::vector< unsigned char > | selections_ |
|
unsigned int | ref_count_selections_ |
|
std::vector< Scalar > | knots_ |
|
KnotvectorType | knotvectorType_ |
|
unsigned int | num_control_points_ |
|
unsigned int | spline_degree_ |
|
template<typename Scalar>
class ACG::KnotvectorT< Scalar >
A knotvector class for use with splines
Definition at line 78 of file KnotvectorT.hh.
◆ operator()() [1/2]
template<typename Scalar>
returns a reference to the _index'th knot
- Parameters
-
Definition at line 130 of file KnotvectorT.hh.
◆ operator()() [2/2]
template<typename Scalar>
const Scalar& ACG::KnotvectorT< Scalar >::operator() |
( |
unsigned int |
_index | ) |
const |
|
inline |
returns a const reference to the _index'th knot
- Parameters
-
Definition at line 139 of file KnotvectorT.hh.
The documentation for this class was generated from the following files: