QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
qgsrasterrendererutils.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsrasterrendererutils.h
3 -------------------
4 begin : September 2020
5 copyright : (C) 2020 by Nyall Dawson
6 email : nyall dawson dawson at gmail dot com
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18#ifndef QGSRASTERRENDERERUTILS_H
19#define QGSRASTERRENDERERUTILS_H
20
21#include "qgis.h"
22#include "qgscolorrampshader.h"
23
30class CORE_EXPORT QgsRasterRendererUtils
31{
32 public:
33
42 static bool parseColorMapFile( const QString &path, QList<QgsColorRampShader::ColorRampItem> &items SIP_OUT,
44 QStringList &errors SIP_OUT );
45
54 static bool saveColorMapFile( const QString &path, const QList<QgsColorRampShader::ColorRampItem> &items, Qgis::ShaderInterpolationMethod type );
55};
56
57#endif // QGSRASTERRENDERERUTILS_H
ShaderInterpolationMethod
Color ramp shader interpolation methods.
Definition qgis.h:1335
Utility functions for raster renderers.
#define SIP_OUT
Definition qgis_sip.h:58