|
Engauge Digitizer
2
|
Digitizing state for matching Curve Points, one at a time. More...
#include <DigitizeStatePointMatch.h>


Public Member Functions | |
| DigitizeStatePointMatch (DigitizeStateContext &context) | |
| Single constructor. More... | |
| virtual | ~DigitizeStatePointMatch () |
| virtual QString | activeCurve () const |
| Name of the active Curve. This can include AXIS_CURVE_NAME. More... | |
| virtual void | begin (CmdMediator *cmdMediator, DigitizeState previousState) |
| Method that is called at the exact moment a state is entered. More... | |
| virtual bool | canPaste (const Transformation &transformation, const QSize &viewSize) const |
| Return true if there is good data in the clipboard for pasting, and that is compatible with the current state. More... | |
| virtual QCursor | cursor (CmdMediator *cmdMediator) const |
| Returns the state-specific cursor shape. More... | |
| virtual void | end () |
| Method that is called at the exact moment a state is exited. Typically called just before begin for the next state. More... | |
| virtual void | handleContextMenuEventAxis (CmdMediator *cmdMediator, const QString &pointIdentifier) |
| Handle a right click, on an axis point, that was intercepted earlier. More... | |
| virtual void | handleContextMenuEventGraph (CmdMediator *cmdMediator, const QStringList &pointIdentifiers) |
| Handle a right click, on a graph point, that was intercepted earlier. More... | |
| virtual void | handleCurveChange (CmdMediator *cmdMediator) |
| Handle the selection of a new curve. At a minimum, DigitizeStateSegment will generate a new set of Segments. More... | |
| virtual void | handleKeyPress (CmdMediator *cmdMediator, Qt::Key key, bool atLeastOneSelectedItem) |
| Handle a key press that was intercepted earlier. More... | |
| virtual void | handleMouseMove (CmdMediator *cmdMediator, QPointF posScreen) |
| Handle a mouse move. This is part of an experiment to see if augmenting the cursor in Point Match mode is worthwhile. More... | |
| virtual void | handleMousePress (CmdMediator *cmdMediator, QPointF posScreen) |
| Handle a mouse press that was intercepted earlier. More... | |
| virtual void | handleMouseRelease (CmdMediator *cmdMediator, QPointF posScreen) |
| Handle a mouse release that was intercepted earlier. More... | |
| virtual QString | state () const |
| State name for debugging. More... | |
| virtual void | updateAfterPointAddition () |
| Update graphics attributes after possible new points. This is useful for highlight opacity. More... | |
| virtual void | updateModelDigitizeCurve (CmdMediator *cmdMediator, const DocumentModelDigitizeCurve &modelDigitizeCurve) |
| Update the digitize curve settings. More... | |
| virtual void | updateModelSegments (const DocumentModelSegments &modelSegments) |
| Update the segments given the new settings. More... | |
Public Member Functions inherited from DigitizeStateAbstractBase | |
| DigitizeStateAbstractBase (DigitizeStateContext &context) | |
| Single constructor. More... | |
| virtual | ~DigitizeStateAbstractBase () |
| DigitizeStateContext & | context () |
| Reference to the DigitizeStateContext that contains all the DigitizeStateAbstractBase subclasses, without const. More... | |
| const DigitizeStateContext & | context () const |
| Reference to the DigitizeStateContext that contains all the DigitizeStateAbstractBase subclasses, without const. More... | |
| void | setCursor (CmdMediator *cmdMediator) |
| Update the cursor according to the current state. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from DigitizeStateAbstractBase | |
| bool | canPasteProtected (const Transformation &transformation, const QSize &viewSize) const |
| Protected version of canPaste method. Some, but not all, leaf classes use this method. More... | |
Digitizing state for matching Curve Points, one at a time.
Definition at line 20 of file DigitizeStatePointMatch.h.
| DigitizeStatePointMatch::DigitizeStatePointMatch | ( | DigitizeStateContext & | context | ) |
|
virtual |
Definition at line 42 of file DigitizeStatePointMatch.cpp.
|
virtual |
Name of the active Curve. This can include AXIS_CURVE_NAME.
Implements DigitizeStateAbstractBase.
Definition at line 46 of file DigitizeStatePointMatch.cpp.
|
virtual |
Method that is called at the exact moment a state is entered.
Typically called just after end for the previous state. The previousState value is used by DigitizeStateColorPicker to return to the previous state
Implements DigitizeStateAbstractBase.
Definition at line 51 of file DigitizeStatePointMatch.cpp.
|
virtual |
Return true if there is good data in the clipboard for pasting, and that is compatible with the current state.
Implements DigitizeStateAbstractBase.
Definition at line 68 of file DigitizeStatePointMatch.cpp.
|
virtual |
Returns the state-specific cursor shape.
Implements DigitizeStateAbstractBase.
Definition at line 122 of file DigitizeStatePointMatch.cpp.
|
virtual |
Method that is called at the exact moment a state is exited. Typically called just before begin for the next state.
Implements DigitizeStateAbstractBase.
Definition at line 129 of file DigitizeStatePointMatch.cpp.
|
virtual |
Handle a right click, on an axis point, that was intercepted earlier.
Implements DigitizeStateAbstractBase.
Definition at line 181 of file DigitizeStatePointMatch.cpp.
|
virtual |
Handle a right click, on a graph point, that was intercepted earlier.
Implements DigitizeStateAbstractBase.
Definition at line 188 of file DigitizeStatePointMatch.cpp.
|
virtual |
Handle the selection of a new curve. At a minimum, DigitizeStateSegment will generate a new set of Segments.
Implements DigitizeStateAbstractBase.
Definition at line 195 of file DigitizeStatePointMatch.cpp.
|
virtual |
Handle a key press that was intercepted earlier.
Implements DigitizeStateAbstractBase.
Definition at line 200 of file DigitizeStatePointMatch.cpp.
|
virtual |
Handle a mouse move. This is part of an experiment to see if augmenting the cursor in Point Match mode is worthwhile.
Implements DigitizeStateAbstractBase.
Definition at line 217 of file DigitizeStatePointMatch.cpp.
|
virtual |
Handle a mouse press that was intercepted earlier.
Implements DigitizeStateAbstractBase.
Definition at line 244 of file DigitizeStatePointMatch.cpp.
|
virtual |
Handle a mouse release that was intercepted earlier.
Implements DigitizeStateAbstractBase.
Definition at line 250 of file DigitizeStatePointMatch.cpp.
|
virtual |
State name for debugging.
Implements DigitizeStateAbstractBase.
Definition at line 361 of file DigitizeStatePointMatch.cpp.
|
virtual |
Update graphics attributes after possible new points. This is useful for highlight opacity.
Implements DigitizeStateAbstractBase.
Definition at line 366 of file DigitizeStatePointMatch.cpp.
|
virtual |
Update the digitize curve settings.
Implements DigitizeStateAbstractBase.
Definition at line 371 of file DigitizeStatePointMatch.cpp.
|
virtual |
Update the segments given the new settings.
Implements DigitizeStateAbstractBase.
Definition at line 377 of file DigitizeStatePointMatch.cpp.
1.8.16