79 void createAcceptablePoint(
bool *pFirst,
92 void dumpToGnuplot (QTextStream &strDump,
107 bool isCorner (
double yLast,
112 bool pointIsCloseToLine(
double xLeft,
double yLeft,
double xInt,
double yInt,
113 double xRight,
double yRight);
116 bool pointsAreCloseToLine(
double xLeft,
double yLeft, QList<QPoint> removedPoints,
117 double xRight,
double yRight);
119 QGraphicsScene &m_scene;
128 QList<SegmentLine*> m_lines;
int lineCount() const
Get method for number of lines.
void removeUnneededLines(int *foldedLines)
Try to compress a segment that was just completed, by folding together line from point i to point i+1...
void slotHover(bool hover)
Slot for hover enter/leave events in the associated SegmentLines.
void forwardMousePress()
Forward mouse press event from a component SegmentLine that was just clicked on.
void appendColumn(int x, int y, const DocumentModelSegments &modelSegments)
Add some more pixels in a new column to an active segment.
double length() const
Get method for length in pixels.
Selectable piecewise-defined line that follows a filtered line in the image.
QList< QPoint > fillPoints(const DocumentModelSegments &modelSegments)
Create evenly spaced points along the segment.
void signalMouseClickOnSegment(QPointF posSegmentStart)
Pass mouse press event, with coordinates of first point in the Segment since that info uniquely ident...
void updateModelSegment(const DocumentModelSegments &modelSegments)
Update this segment given the new settings.
QPointF firstPoint() const
Coordinates of first point in Segment.
Model for DlgSettingsSegments and CmdSettingsSegments.
This class is a special case of the standard QGraphicsLineItem for segments.