Engauge Digitizer  2
ExportImageForRegression.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 EXPORT_IMAGE_FOR_REGRESSION_H
8 #define EXPORT_IMAGE_FOR_REGRESSION_H
9 
10 class QPixmap;
11 class QString;
12 
16 {
17  public:
19  ExportImageForRegression(const QPixmap &pixmap);
20 
22  void fileExport (const QString &filename) const;
23 
24  private:
26 
27  const int m_width;
28  const int m_height;
29 };
30 
31 #endif // EXPORT_IMAGE_FOR_REGRESSION_H
Class for exporting during regression, when the Transformation has not yet been defined.
void fileExport(const QString &filename) const
Export to the specified file. This is called when the Transformation has not been defined...