Engauge Digitizer 2
Loading...
Searching...
No Matches
TransformationStateUndefined.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef TRANSFORMATION_STATE_UNDEFINED_H
8#define TRANSFORMATION_STATE_UNDEFINED_H
9
11
14{
15public:
18 QGraphicsScene &scene);
19
20 virtual void begin(bool isGnuplot,
21 CmdMediator &cmdMediator,
22 const Transformation &transformation,
23 const QString &selectedGraphCurve);
24 virtual void end(CmdMediator &cmdMediator,
25 const Transformation &transformation);
26 virtual void updateAxesChecker (CmdMediator &cmdMediator,
27 const Transformation &transformation);
28
29private:
31};
32
33#endif // TRANSFORMATION_STATE_UNDEFINED_H
Command queue stack.
Definition CmdMediator.h:24
TransformationStateContext & context()
Reference to the TransformationStateContext that contains all the TransformationStateAbstractBase sub...
TransformationStateAbstractBase(TransformationStateContext &context)
Single constructor.
Context class for transformation state machine.
TransformationStateUndefined(TransformationStateContext &context, QGraphicsScene &scene)
Single constructor.
virtual void updateAxesChecker(CmdMediator &cmdMediator, const Transformation &transformation)
Apply the new DocumentModelAxesChecker.
virtual void begin(bool isGnuplot, CmdMediator &cmdMediator, const Transformation &transformation, const QString &selectedGraphCurve)
Method that is called at the exact moment a state is entered. Typically called just after end for the...
virtual void end(CmdMediator &cmdMediator, const Transformation &transformation)
Method that is called at the exact moment a state is exited. Typically called just before begin for t...
Affine transformation between screen and graph coordinates, based on digitized axis points.