Engauge Digitizer  2
TransformationStateUndefined.h
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 
10 #include "TransformationStateAbstractBase.h"
11 
14 {
15 public:
18  QGraphicsScene &scene);
19 
20  virtual void begin(CmdMediator &cmdMediator,
21  const Transformation &transformation,
22  const QString &selectedGraphCurve);
23  virtual void end(CmdMediator &cmdMediator,
24  const Transformation &transformation);
25  virtual void updateAxesChecker (CmdMediator &cmdMediator,
26  const Transformation &transformation);
27 
28 private:
30 };
31 
32 #endif // TRANSFORMATION_STATE_UNDEFINED_H
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...
Base class for all transformation states. This serves as an interface to TransformationStateContext.
Context class for transformation state machine.
Class to not show transformation since transformation is undefined.
TransformationStateContext & context()
Reference to the TransformationStateContext that contains all the TransformationStateAbstractBase sub...
virtual void begin(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...
Affine transformation between screen and graph coordinates, based on digitized axis points...
Command queue stack.
Definition: CmdMediator.h:23
virtual void updateAxesChecker(CmdMediator &cmdMediator, const Transformation &transformation)
Apply the new DocumentModelAxesChecker.