Engauge Digitizer
2
Loading...
Searching...
No Matches
Guideline
GuidelineStateDeployedConstantYAbstract.h
Go to the documentation of this file.
1
/******************************************************************************************************
2
* (C) 2019 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 GUIDELINE_STATE_DEPLOYED_CONSTANT_Y_ABSTRACT_H
8
#define GUIDELINE_STATE_DEPLOYED_CONSTANT_Y_ABSTRACT_H
9
10
#include "
GuidelineStateDeployedAbstract.h
"
11
13
class
GuidelineStateDeployedConstantYAbstract
:
public
GuidelineStateDeployedAbstract
14
{
15
public
:
17
GuidelineStateDeployedConstantYAbstract
(
GuidelineStateContext
&
context
);
18
virtual
~GuidelineStateDeployedConstantYAbstract
();
19
20
virtual
QPointF
convertGraphCoordinateToScreenPoint
(
double
valueGraph)
const
;
21
virtual
double
convertScreenPointToGraphCoordinate
(
const
QPointF &posScreen)
const
;
22
virtual
EllipseParameters
pointToEllipse
(
const
QPointF &posScreen)
const
;
23
virtual
QLineF
pointToLine
(
const
QPointF &posScreen)
const
;
24
virtual
void
updateWithLatestTransformation
();
25
26
private
:
27
GuidelineStateDeployedConstantYAbstract
();
28
29
};
30
31
#endif
// GUIDELINE_STATE_DEPLOYED_CONSTANT_Y_ABSTRACT_H
GuidelineStateDeployedAbstract.h
EllipseParameters
Parameters that define an ellipse about the specified center, at the specified angle from alignment w...
Definition
EllipseParameters.h:16
GuidelineStateAbstractBase::context
GuidelineStateContext & context() const
Context in charge of the state classes.
Definition
GuidelineStateAbstractBase.cpp:27
GuidelineStateContext
Context class for state machine that belongs to the Guideline class.
Definition
GuidelineStateContext.h:132
GuidelineStateDeployedAbstract::GuidelineStateDeployedAbstract
GuidelineStateDeployedAbstract(GuidelineStateContext &context)
Single constructor.
Definition
GuidelineStateDeployedAbstract.cpp:17
GuidelineStateDeployedConstantYAbstract::pointToEllipse
virtual EllipseParameters pointToEllipse(const QPointF &posScreen) const
Return ellipse representing constant range, that passes through the specified point.
Definition
GuidelineStateDeployedConstantYAbstract.cpp:50
GuidelineStateDeployedConstantYAbstract::updateWithLatestTransformation
virtual void updateWithLatestTransformation()
Update given Transformation in GuidelineStateContext.
Definition
GuidelineStateDeployedConstantYAbstract.cpp:65
GuidelineStateDeployedConstantYAbstract::convertGraphCoordinateToScreenPoint
virtual QPointF convertGraphCoordinateToScreenPoint(double valueGraph) const
Convert single graph coordinate into screen point pair.
Definition
GuidelineStateDeployedConstantYAbstract.cpp:24
GuidelineStateDeployedConstantYAbstract::pointToLine
virtual QLineF pointToLine(const QPointF &posScreen) const
Return line parallel to an axis line, that passes through the specified point.
Definition
GuidelineStateDeployedConstantYAbstract.cpp:56
GuidelineStateDeployedConstantYAbstract::~GuidelineStateDeployedConstantYAbstract
virtual ~GuidelineStateDeployedConstantYAbstract()
Definition
GuidelineStateDeployedConstantYAbstract.cpp:20
GuidelineStateDeployedConstantYAbstract::convertScreenPointToGraphCoordinate
virtual double convertScreenPointToGraphCoordinate(const QPointF &posScreen) const
Convert screen point pair into single graph coordinate.
Definition
GuidelineStateDeployedConstantYAbstract.cpp:38
GuidelineStateDeployedConstantYAbstract::GuidelineStateDeployedConstantYAbstract
GuidelineStateDeployedConstantYAbstract(GuidelineStateContext &context)
Single constructor.
Definition
GuidelineStateDeployedConstantYAbstract.cpp:15
Generated on
for Engauge Digitizer by
1.14.0