7 #ifndef SPLINE_DRAWER_H 8 #define SPLINE_DRAWER_H 10 #include "SplinePair.h" 11 #include "Transformation.h" 16 enum SplineDrawerOperation {
17 SPLINE_DRAWER_ENUM_INVISIBLE_MOVE,
18 SPLINE_DRAWER_ENUM_VISIBLE_DRAW
21 typedef QVector<SplineDrawerOperation> SegmentOperations;
50 bool segmentIsMultiValued (
const Spline &spline,
56 SegmentOperations m_segmentOperations;
59 #endif // SPLINE_DRAWER_H Cubic interpolation given independent and dependent value vectors.
void bindToSpline(int numSegments, const Spline &spline)
Analyze each segment in the Spline.
SplineDrawerOperation segmentOperation(int segment) const
Indicate if, and how, segment is to be drawn.
This class takes the output from Spline and uses that to draw the curve in the graphics window...