Engauge Digitizer
2
Toggle main menu visibility
Loading...
Searching...
No Matches
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 <QPoint>
13
#include <QTextStream>
14
17
class
GridLog
18
{
19
public
:
20
22
GridLog
(
bool
isGnuplot);
23
virtual
~GridLog
();
24
26
void
showInputPixel
(
const
QPoint &p,
27
double
halfWidth);
28
30
void
showOutputScanLinePixel
(
int
x,
31
int
y,
32
double
radius);
33
35
void
showOutputTrapezoid
(
const
QPoint &p0,
36
const
QPoint &p1,
37
const
QPoint &p2,
38
const
QPoint &p3);
39
40
private
:
41
GridLog
();
42
43
bool
inBounds (
int
x,
int
y)
const
;
44
45
bool
m_isGnuplot;
46
QString m_log;
47
QTextStream m_logStr;
48
};
49
50
#endif
// GRID_LOG_H
GridIndependentToDependent.h
GridLog::GridLog
GridLog(bool isGnuplot)
Single constructor.
Definition
GridLog.cpp:26
GridLog::showOutputScanLinePixel
void showOutputScanLinePixel(int x, int y, double radius)
Show scan line pixel that is the output of GridHealer.
Definition
GridLog.cpp:88
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:104
GridLog::~GridLog
virtual ~GridLog()
Definition
GridLog.cpp:42
GridLog::showInputPixel
void showInputPixel(const QPoint &p, double halfWidth)
Show pixels that are inputs to GridHealer.
Definition
GridLog.cpp:68
Generated on
for Engauge Digitizer by
1.17.0