Engauge Digitizer 2
Loading...
Searching...
No Matches
ExportImageForRegression.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 EXPORT_IMAGE_FOR_REGRESSION_H
8#define EXPORT_IMAGE_FOR_REGRESSION_H
9
10class QPixmap;
11class 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
void fileExport(const QString &filename) const
Export to the specified file. This is called when the Transformation has not been defined.
ExportImageForRegression(const QPixmap &pixmap)
Single constructor.