Engauge Digitizer 2
Loading...
Searching...
No Matches
CentipedeEndpointsAbstract.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2020 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 CENTIPEDE_ENDPOINTS_ABSTRACT_H
8#define CENTIPEDE_ENDPOINTS_ABSTRACT_H
9
11#include <QPointF>
12#include "Transformation.h"
13
16{
17public:
21 const QPointF &posClickScreen);
23
24protected:
25
28
30 QPointF posClickScreen () const;
31
33 const Transformation &transformation() const;
34
35private:
37
38 DocumentModelGuideline m_modelGuideline;
39 Transformation m_transformation;
40 QPointF m_posClickScreen;
41
42};
43
44#endif // CENTIPEDE_ENDPOINTS_ABSTRACT_H
QPointF posClickScreen() const
Center of circle in screen coordinates.
const DocumentModelGuideline & modelGuideline() const
Settings.
const Transformation & transformation() const
Transformation which is static through the entire lifetime of the Centipede class instances.
CentipedeEndpointsAbstract(const DocumentModelGuideline &modelGuideline, const Transformation &transformation, const QPointF &posClickScreen)
Constructor with individual coordinates.
Model for managing the coordinate values corresponding Guidelines.
Affine transformation between screen and graph coordinates, based on digitized axis points.