00001 /****************************************************************************************************** 00002 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released * 00003 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file * 00004 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. * 00005 ******************************************************************************************************/ 00006 00007 #ifndef ORDINAL_GENERATOR_H 00008 #define ORDINAL_GENERATOR_H 00009 00010 #include <QPointF> 00011 #include <QString> 00012 00013 class Document; 00014 class Transformation; 00015 00018 class OrdinalGenerator 00019 { 00020 public: 00021 OrdinalGenerator(); 00022 00024 double generateAxisPointOrdinal (const Document &document); 00025 00027 double generateCurvePointOrdinal (const Document &document, 00028 const Transformation &transformation, 00029 const QPointF &posScreen, 00030 const QString &curveName); 00031 00032 }; 00033 00034 #endif // ORDINAL_GENERATOR_H