7 #ifndef SPLINE_DRAWER_H 8 #define SPLINE_DRAWER_H 10 #include "SplinePair.h" 11 #include "Transformation.h" 17 enum SplineDrawerOperation {
18 SPLINE_DRAWER_ENUM_INVISIBLE_MOVE,
19 SPLINE_DRAWER_ENUM_VISIBLE_DRAW
22 typedef QVector<SplineDrawerOperation> SegmentOperations;
62 SegmentOperations m_segmentOperations;
65 #endif // SPLINE_DRAWER_H Cubic interpolation given independent and dependent value vectors.
Details for a specific Line.
void bindToSpline(const LineStyle &lineStyle, 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.
Unit test of spline drawer, which classifies single- versus multi-valued data.
This class takes the output from Spline and uses that to draw the curve in the graphics window,...
bool segmentIsMultiValued(const Spline &spline, int numSegments, int segment) const
Return true if specified segment is multi-valued, else false.