QGIS API Documentation
2.2.0-Valmiera
|
#include "qgsapplication.h"
#include "qgisgui.h"
#include "qgsrasterrendererregistry.h"
#include "qgsrasterrendererwidget.h"
#include "qgsrasterhistogramwidget.h"
#include <QMenu>
#include <QFileInfo>
#include <QDir>
#include <QPainter>
#include <QSettings>
#include <qwt_global.h>
#include <qwt_plot_canvas.h>
#include <qwt_legend.h>
#include <qwt_plot.h>
#include <qwt_plot_curve.h>
#include <qwt_plot_grid.h>
#include <qwt_plot_marker.h>
#include <qwt_plot_picker.h>
#include <qwt_picker_machine.h>
#include <qwt_plot_zoomer.h>
#include <qwt_plot_layout.h>
Go to the source code of this file.
Macros | |
#define | RASTER_HISTOGRAM_BINS 256 |
Functions | |
QString | findClosestTickVal (double target, const QwtScaleDiv *scale, int div=100) |
#define RASTER_HISTOGRAM_BINS 256 |
Definition at line 46 of file qgsrasterhistogramwidget.cpp.
Referenced by QgsRasterHistogramWidget::computeHistogram(), and QgsRasterHistogramWidget::refreshHistogram().
QString findClosestTickVal | ( | double | target, |
const QwtScaleDiv * | scale, | ||
int | div = 100 |
||
) |
Definition at line 921 of file qgsrasterhistogramwidget.cpp.
References MathUtils::max(), and MathUtils::min().
Referenced by QgsRasterHistogramWidget::histoPickerSelected().