|
nux-1.14.0
|
Classes | |
| class | Knot |
Public Member Functions | |
| SplineKnot (const SplineKnot &Other) | |
| SplineKnot & | operator= (const SplineKnot &Other) |
| void | AddKnot (double x, double y, bool selected=false) |
| bool | isKnotSelected (int i) const |
| const Knot & | operator[] (int i) const |
| Knot & | operator[] (int i) |
| void | EraseKnot (int i) |
| void | EraseSelectedKnot () |
| void | SelectKnot (int i, bool b) |
| t_u32 | GetNumSelectedKnot () |
| void | SelectAllKnot () |
| void | UnSelectAllKnot () |
| const std::vector< double > | GetXArray () |
| const std::vector< double > | GetYArray () |
| int | GetNumKnot () const |
| Knot | GetKnot (int i) const |
| void | Reset () |
Definition at line 35 of file SplineCurveEditor.h.
| void nux::SplineKnot::Reset | ( | ) | [inline] |
Erase all knots.
Definition at line 302 of file SplineCurveEditor.h.
Referenced by nux::SplineCurveEditor::Reset().
{
m_knot.clear();
AddKnot (0, 0);
AddKnot (1, 1);
}