nux-1.14.0
nux::SplineKnot Class Reference

List of all members.

Classes

class  Knot

Public Member Functions

 SplineKnot (const SplineKnot &Other)
SplineKnotoperator= (const SplineKnot &Other)
void AddKnot (double x, double y, bool selected=false)
bool isKnotSelected (int i) const
const Knotoperator[] (int i) const
Knotoperator[] (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 ()

Detailed Description

Definition at line 35 of file SplineCurveEditor.h.


Member Function Documentation

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);
    }

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends