#include <Nux/SplineCurvePreview.h>
Public Member Functions |
| SplineCurvePreview (NUX_FILE_LINE_PROTO) |
| ~SplineCurvePreview () |
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) |
void | SetXAxisBounds (float minX, float maxX) |
void | SetYAxisBounds (float minY, float maxY) |
void | UpdateGraph () |
int | GetNumKnot () const |
SplineKnot::Knot | GetKnot (int i) const |
void | RecvDialogChange (SplineCurveEditor *splinecurve) |
const SplineKnot & | GetControlPoints () const |
void | Reset () |
Data Fields |
sigc::signal< void,
SplineCurveEditor * > | sigSplineChanged |
Protected Member Functions |
void | AddKnot (double x, double y, bool bSelected) |
Constructor & Destructor Documentation
nux::SplineCurvePreview::SplineCurvePreview |
( |
NUX_FILE_LINE_PROTO |
| ) |
|
nux::SplineCurvePreview::~SplineCurvePreview |
( |
| ) |
|
Member Function Documentation
void nux::SplineCurvePreview::AddKnot |
( |
double |
x, |
|
|
double |
y, |
|
|
bool |
bSelected |
|
) |
| [protected] |
virtual void nux::SplineCurvePreview::Draw |
( |
GraphicsEngine & |
GfxContext, |
|
|
bool |
force_draw |
|
) |
| [virtual] |
virtual void nux::SplineCurvePreview::DrawContent |
( |
GraphicsEngine & |
GfxContext, |
|
|
bool |
force_draw |
|
) |
| [virtual] |
const SplineKnot& nux::SplineCurvePreview::GetControlPoints |
( |
| ) |
const |
int nux::SplineCurvePreview::GetNumKnot |
( |
| ) |
const |
virtual void nux::SplineCurvePreview::PostDraw |
( |
GraphicsEngine & |
GfxContext, |
|
|
bool |
force_draw |
|
) |
| [virtual] |
virtual long nux::SplineCurvePreview::ProcessEvent |
( |
IEvent & |
ievent, |
|
|
long |
TraverseInfo, |
|
|
long |
ProcessEventInfo |
|
) |
| [virtual] |
void nux::SplineCurvePreview::Reset |
( |
| ) |
|
void nux::SplineCurvePreview::SetXAxisBounds |
( |
float |
minX, |
|
|
float |
maxX |
|
) |
| |
void nux::SplineCurvePreview::SetYAxisBounds |
( |
float |
minY, |
|
|
float |
maxY |
|
) |
| |
void nux::SplineCurvePreview::UpdateGraph |
( |
| ) |
|
Field Documentation
The documentation for this class was generated from the following file: