nux-1.16.0
nux::SplineCurveEditor Class Reference
Inheritance diagram for nux::SplineCurveEditor:
nux::View nux::InputArea nux::Area nux::InitiallyUnownedObject nux::Focusable nux::Object nux::Trackable nux::Introspectable

List of all members.

Public Member Functions

 SplineCurveEditor (NUX_FILE_LINE_PROTO)
void SetControlPoints (const SplineKnot &splineKnot)
const SplineKnotGetControlPoints () const
virtual long ProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo)
virtual void Draw (GraphicsEngine &GfxContext, bool force_draw)
virtual void DrawContent (GraphicsEngine &GfxContext, bool force_draw)
virtual void PostDraw (GraphicsEngine &GfxContext, bool force_draw)
double Eval (double t)
void RecvMouseUp (int x, int y, unsigned long button_flags, unsigned long key_flags)
void RecvMouseDown (int x, int y, unsigned long button_flags, unsigned long key_flags)
void RecvMouseDrag (int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags)
void RecvKeyEvent (unsigned long eventType, unsigned long keysym, unsigned long state, const TCHAR *character, unsigned short keyCount)
void Reset ()
int GetNumKnot () const
SplineKnot::Knot GetKnot (int i) const
void AddKnot (double x, double y, bool selected=false)

Public Attributes

sigc::signal< void,
SplineCurveEditor * > 
sigCurveChange

Protected Member Functions

void InitializeWidgets ()
void InitializeLayout ()

Detailed Description

Definition at line 314 of file SplineCurveEditor.h.


Member Function Documentation

void nux::SplineCurveEditor::Reset ( )

Erase all knots.

Definition at line 117 of file SplineCurveEditor.cpp.

References nux::SplineKnot::Reset().

  {
    m_control_knot.Reset();
  }

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