Skip to content
Permalink
Browse files

add Q_ENUM for QgsRasterProjector::Precision

  • Loading branch information
3nids committed Feb 20, 2018
1 parent 3d3a2da commit 713bfd34522b3217e20649974c53d2c9a6f660ba
Showing with 5 additions and 2 deletions.
  1. +1 −1 python/core/core_auto.sip
  2. +1 −1 src/core/CMakeLists.txt
  3. +3 −0 src/core/raster/qgsrasterprojector.h
@@ -209,7 +209,6 @@
%Include raster/qgsrasterminmaxorigin.sip
%Include raster/qgsrasternuller.sip
%Include raster/qgsrasterpipe.sip
%Include raster/qgsrasterprojector.sip
%Include raster/qgsrasterpyramid.sip
%Include raster/qgsrasterrange.sip
%Include raster/qgsrasterrenderer.sip
@@ -369,6 +368,7 @@
%Include raster/qgsrasterlayer.sip
%Include raster/qgsrasterdataprovider.sip
%Include raster/qgsrasterinterface.sip
%Include raster/qgsrasterprojector.sip
%Include geometry/qgsabstractgeometry.sip
%Include geometry/qgsgeometry.sip
%Include geometry/qgspoint.sip
@@ -671,6 +671,7 @@ SET(QGIS_CORE_MOC_HDRS
raster/qgsrasterdataprovider.h
raster/qgsrasterinterface.h
raster/qgsrasterlayerrenderer.h
raster/qgsrasterprojector.h

geometry/qgsabstractgeometry.h
geometry/qgsgeometry.h
@@ -1028,7 +1029,6 @@ SET(QGIS_CORE_HDRS
raster/qgsrasterminmaxorigin.h
raster/qgsrasternuller.h
raster/qgsrasterpipe.h
raster/qgsrasterprojector.h
raster/qgsrasterpyramid.h
raster/qgsrasterrange.h
raster/qgsrasterrenderer.h
@@ -46,6 +46,8 @@ class QgsPointXY;
*/
class CORE_EXPORT QgsRasterProjector : public QgsRasterInterface
{
Q_GADGET

public:

/**
@@ -57,6 +59,7 @@ class CORE_EXPORT QgsRasterProjector : public QgsRasterInterface
Approximate = 0, //!< Approximate (default), fast but possibly inaccurate
Exact = 1, //!< Exact, precise but slow
};
Q_ENUM( Precision )

QgsRasterProjector();

0 comments on commit 713bfd3

Please sign in to comment.
You can’t perform that action at this time.