labplot  2.8.2
About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.
  Fossies Dox: labplot-2.8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

ImageEditor.cpp File Reference
#include "ImageEditor.h"
#include <QThreadPool>
#include <QElapsedTimer>
#include <QMutex>
#include <gsl/gsl_math.h>
Include dependency graph for ImageEditor.cpp:

Go to the source code of this file.

Classes

class  DiscretizeTask
 

Variables

static const QRgb white = QColor(Qt::white).rgb()
 
static const QRgb black = QColor(Qt::black).rgb()
 
static const double colorScale = gsl_hypot3(255, 255, 255)
 
static const int maxIntensity = 100
 
static const int maxForeground = 100
 
static const int maxHue = 360
 
static const int maxSaturation = 100
 
static const int maxValue = 100
 
QMutex mutex
 

Variable Documentation

◆ black

◆ colorScale

const double colorScale = gsl_hypot3(255, 255, 255)
static

◆ maxForeground

const int maxForeground = 100
static

◆ maxHue

const int maxHue = 360
static

◆ maxIntensity

const int maxIntensity = 100
static

◆ maxSaturation

const int maxSaturation = 100
static

◆ maxValue

const int maxValue = 100
static

◆ mutex

QMutex mutex

Definition at line 48 of file ImageEditor.cpp.

Referenced by DiscretizeTask::run().

◆ white

const QRgb white = QColor(Qt::white).rgb()
static

File : ImageEditor.cpp Project : LabPlot

Description : Edit Image on the basis of input color attributes

Copyright : (C) 2015 by Ankit Wagadre (wagad.nosp@m.re.a.nosp@m.nkit@.nosp@m.gmai.nosp@m.l.com) Copyright : (C) 2015-2016 Alexander Semke (alexa.nosp@m.nder.nosp@m..semk.nosp@m.e@we.nosp@m.b.de)

  • This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *
  • This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. *
  • You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA *

Definition at line 37 of file ImageEditor.cpp.

Referenced by OriginProjectParser::color(), ImageEditor::discretize(), DatapickerImageView::drawBackground(), Axis::init(), CartesianPlotLegend::init(), Histogram::init(), XYCurve::init(), PlotArea::init(), CustomPointDock::init(), HistogramDock::init(), XYCurveDock::init(), Worksheet::loadTheme(), Axis::loadThemeConfig(), TextLabel::loadThemeConfig(), CartesianPlotLegend::loadThemeConfig(), PlotArea::loadThemeConfig(), OriginProjectParser::loadWorksheet(), DatapickerImageView::print(), RandomValuesDialog::RandomValuesDialog(), XYFitCurveDock::setupGeneral(), and GuiTools::updateBrushStyles().