#include <curve.h>
Public Types | |
typedef MemberCaller1 < NURBSCurve, const char *,&NURBSCurve::curveChanged > | CurveChangedCaller |
Public Member Functions | |
NURBSCurve (const Callback &boundsChanged) | |
SignalHandlerId | connect (const SignalHandler &curveChanged) |
void | disconnect (SignalHandlerId id) |
void | notify () |
void | tesselate () |
void | curveChanged () |
bool | parseCurve (const char *value) |
void | curveChanged (const char *value) |
Data Fields | |
ControlPoints | m_controlPoints |
ControlPoints | m_controlPointsTransformed |
NURBSWeights | m_weights |
Knots | m_knots |
RenderableCurve | m_renderCurve |
AABB | m_bounds |
Private Attributes | |
Signal0 | m_curveChanged |
Callback | m_boundsChanged |
Definition at line 321 of file curve.h.
typedef MemberCaller1<NURBSCurve, const char*, &NURBSCurve::curveChanged> NURBSCurve::CurveChangedCaller |
NURBSCurve::NURBSCurve | ( | const Callback & | boundsChanged | ) | [inline] |
SignalHandlerId NURBSCurve::connect | ( | const SignalHandler & | curveChanged | ) | [inline] |
Definition at line 338 of file curve.h.
References SignalBase< Functor >::connectLast(), curveChanged(), and m_curveChanged.
void NURBSCurve::curveChanged | ( | const char * | value | ) | [inline] |
Definition at line 401 of file curve.h.
References curveChanged(), m_controlPoints, m_controlPointsTransformed, m_knots, m_weights, parseCurve(), and Array< Element, Allocator >::resize().
void NURBSCurve::curveChanged | ( | ) | [inline] |
Definition at line 370 of file curve.h.
References Array< Element, Allocator >::begin(), Array< Element, Allocator >::end(), i, m_bounds, m_boundsChanged, m_controlPointsTransformed, notify(), and tesselate().
Referenced by connect(), and curveChanged().
void NURBSCurve::disconnect | ( | SignalHandlerId | id | ) | [inline] |
Definition at line 343 of file curve.h.
References SignalBase< Functor >::disconnect(), and m_curveChanged.
void NURBSCurve::notify | ( | ) | [inline] |
bool NURBSCurve::parseCurve | ( | const char * | value | ) | [inline] |
Definition at line 383 of file curve.h.
References Array< Element, Allocator >::begin(), ControlPoints_parse(), Array< Element, Allocator >::end(), i, KnotVector_openUniform(), m_controlPoints, m_knots, m_weights, NURBS_degree, Array< Element, Allocator >::resize(), and Array< Element, Allocator >::size().
Referenced by curveChanged().
void NURBSCurve::tesselate | ( | ) | [inline] |
Definition at line 352 of file curve.h.
References Array< Element, Allocator >::empty(), i, m_controlPointsTransformed, m_knots, m_renderCurve, RenderableCurve::m_vertices, m_weights, NURBS_degree, NURBS_evaluate(), and Array< Element, Allocator >::size().
Referenced by curveChanged().
AABB NURBSCurve::m_bounds |
Definition at line 331 of file curve.h.
Referenced by curveChanged().
Callback NURBSCurve::m_boundsChanged [private] |
Definition at line 324 of file curve.h.
Referenced by curveChanged().
Definition at line 326 of file curve.h.
Referenced by curveChanged(), and parseCurve().
Definition at line 327 of file curve.h.
Referenced by curveChanged(), and tesselate().
Signal0 NURBSCurve::m_curveChanged [private] |
Definition at line 323 of file curve.h.
Referenced by connect(), disconnect(), and notify().
Definition at line 329 of file curve.h.
Referenced by curveChanged(), parseCurve(), and tesselate().
Definition at line 330 of file curve.h.
Referenced by tesselate().
Definition at line 328 of file curve.h.
Referenced by curveChanged(), parseCurve(), and tesselate().