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