7#ifndef GRAPHICS_LINES_FOR_CURVE_H
8#define GRAPHICS_LINES_FOR_CURVE_H
12#include <QGraphicsPathItem>
94 bool needOrdinalRenumbering ()
const;
95 void renumberOrdinals();
const int INNER_RADIUS_MIN
QMap< double, GraphicsPoint * > OrdinalToGraphicsPoint
Container for LineStyle and PointStyle for one Curve.
Window that displays the geometry information, as a table, for the current curve.
This class stores the GraphicsLine objects for one Curve.
double identifierToOrdinal(const QString &identifier) const
Get ordinal for specified identifier.
void updateAfterCommand(GraphicsScene &scene, const PointStyle &pointStyle, const Point &point, GeometryWindow *geometryWindow)
Update the GraphicsScene with the specified Point from the Document. If it does not exist yet in the ...
void updateCurveStyle(const CurveStyle &curveStyle)
Update the curve style for this curve.
void lineMembershipPurge(const LineStyle &lineStyle, SplineDrawer &splineDrawer, QPainterPath &pathMultiValued, LineStyle &lineMultiValued)
Mark the end of addPoint calls. Remove stale lines, insert missing lines, and draw the graphics lines...
void updateHighlightOpacity(double highlightOpacity)
Update the highlight opacity value. This may or may not affect the current display immediately depend...
void removePoint(double ordinal)
Remove the specified point. The act of deleting it will automatically remove it from the GraphicsScen...
void addPoint(const QString &pointIdentifier, double ordinal, GraphicsPoint &point)
Add new line.
void lineMembershipReset()
Mark points as unwanted. Afterwards, lineMembershipPurge gets called.
void removeTemporaryPointIfExists()
Remove temporary point if it exists.
void updatePointOrdinalsAfterDrag(const LineStyle &lineStyle, const Transformation &transformation)
See GraphicsScene::updateOrdinalsAfterDrag. Pretty much the same steps as Curve::updatePointOrdinals.
GraphicsLinesForCurve(const QString &curveName)
Single constructor.
void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...
void updateGraphicsLinesToMatchGraphicsPoints(const LineStyle &lineStyle, SplineDrawer &splineDrawer, QPainterPath &pathMultiValued, LineStyle &lineMultiValued)
Calls to moveLinesWithDraggedPoint have finished so update the lines correspondingly.
Graphics item for drawing a circular or polygonal Point.
Add point and line handling to generic QGraphicsScene.
Details for a specific Line.
Details for a specific Point.
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
This class takes the output from Spline and uses that to draw the curve in the graphics window,...