58 <<
" transformationIsDefined=" << (transformation.
transformIsDefined() ?
"true" :
"false")
72 for (
int i = 0;
i < modelGridRemoval.
countX();
i++) {
93 for (
int j = 0;
j < modelGridRemoval.
countY();
j++) {
113 GridHealers::iterator
itr;
121 return QPixmap::fromImage (image);
132 double w = image.width() - 1;
133 double h = image.height() - 1;
170 for (
int x =
xMin; x <=
xMax; x++) {
174 int y =
yLine + yOffset;
175 image.setPixel (x, y,
QColor(Qt::white).
rgb());
191 for (
int y =
yMin; y <=
yMax; y++) {
195 int x =
xLine + xOffset;
196 image.setPixel (x, y,
QColor(Qt::white).
rgb());
const int INNER_RADIUS_MIN
#define ENGAUGE_ASSERT(cond)
Drop in replacement for Q_ASSERT if defined(QT_NO_DEBUG) && !defined(QT_FORCE_ASSERTS) define ENGAUGE...
QList< GridHealerAbstractBase * > GridHealers
Storage of GridHealer instances.
log4cpp::Category * mainCat
Model for DlgSettingsGridRemoval and CmdSettingsGridRemoval. The settings are unstable until the user...
bool removeDefinedGridLines() const
Get method for removing defined grid lines.
double stopX() const
Get method for x stop.
double startX() const
Get method for x start.
double stopY() const
Get method for y stop.
double stepX() const
Get method for x step.
double stepY() const
Get method for y step.
int countY() const
Get method for y count.
int countX() const
Get method for x count.
double startY() const
Get method for y start.
Class that 'heals' the curves after one grid line has been removed.
void healed(QImage &image)
Return healed image after grid removal.
Subclass of GridHealerAbstractBase for horizontal lines.
Subclass of GridHealerAbstractBase for vertical lines.
QPixmap remove(const Transformation &transformation, const DocumentModelGridRemoval &modelGridRemoval, const QImage &imageBefore)
Process QImage into QPixmap, removing the grid lines.
GridRemoval(bool isGnuplot)
Single constructor.
#define LOG4CPP_INFO_S(logger)