Engauge Digitizer
2
Grid
GridLog.h
Go to the documentation of this file.
1
/******************************************************************************************************
2
* (C) 2018 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 GRID_LOG_H
8
#define GRID_LOG_H
9
10
#include "
GridIndependentToDependent.h
"
11
#include <QString>
12
#include <QTextStream>
13
16
class
GridLog
17
{
18
public
:
19
21
GridLog
(
bool
isGnuplot);
22
virtual
~GridLog
();
23
25
void
showInputPixel
(
const
QPoint &p,
26
double
halfWidth);
27
29
void
showOutputScanLinePixel
(
int
x,
30
int
y,
31
double
radius);
32
34
void
showOutputTrapezoid
(
const
QPoint &p0,
35
const
QPoint &p1,
36
const
QPoint &p2,
37
const
QPoint &p3);
38
39
private
:
40
GridLog
();
41
42
bool
inBounds (
int
x,
int
y)
const
;
43
44
bool
m_isGnuplot;
45
QString m_log;
46
QTextStream m_logStr;
47
};
48
49
#endif // GRID_LOG_H
GridIndependentToDependent.h
GridLog::showInputPixel
void showInputPixel(const QPoint &p, double halfWidth)
Show pixels that are inputs to GridHealer.
Definition:
GridLog.cpp:67
GridLog::~GridLog
virtual ~GridLog()
Definition:
GridLog.cpp:41
GridLog::showOutputTrapezoid
void showOutputTrapezoid(const QPoint &p0, const QPoint &p1, const QPoint &p2, const QPoint &p3)
Show trapezoids that are intermediate results in GridHealer.
Definition:
GridLog.cpp:103
GridLog::showOutputScanLinePixel
void showOutputScanLinePixel(int x, int y, double radius)
Show scan line pixel that is the output of GridHealer.
Definition:
GridLog.cpp:87
GridLog
Class that does special logging for GridLog and GridRemoval classes.
Definition:
GridLog.h:15
Generated on Sat Jan 4 2020 12:00:00 for Engauge Digitizer by
1.8.16