QGIS API Documentation  3.18.1-Zürich (202f1bf7e5)
qgspointcloudextentrendererwidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgspointcloudextentrendererwidget.h
3  ---------------------
4  begin : December 2020
5  copyright : (C) 2020 by Nyall Dawson
6  email : nyall dot 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 QGSPOINTCLOUDEXTENTRENDERERWIDGET_H
19 #define QGSPOINTCLOUDEXTENTRENDERERWIDGET_H
20 
22 #include "ui_qgspointcloudextentrendererwidgetbase.h"
23 #include "qgis_gui.h"
24 
26 class QgsPointCloudLayer;
27 class QgsStyle;
29 
30 #define SIP_NO_FILE
31 
33 
34 class GUI_EXPORT QgsPointCloudExtentRendererWidget: public QgsPointCloudRendererWidget, private Ui::QgsPointCloudExtentRendererWidgetBase
35 {
36  Q_OBJECT
37 
38  public:
39  QgsPointCloudExtentRendererWidget( QgsPointCloudLayer *layer, QgsStyle *style );
41 
42  QgsPointCloudRenderer *renderer() override;
43 
44  private slots:
45 
46  void emitWidgetChanged();
47 
48  private:
49  void setFromRenderer( const QgsPointCloudRenderer *r );
50 
51  bool mBlockChangedSignal = false;
52 
53 };
54 
56 
57 #endif // QGSPOINTCLOUDEXTENTRENDERERWIDGET_H
Manipulates raster or point cloud pixel values so that they enhanceContrast or clip into a specified ...
A renderer for 2d visualisation of point clouds which shows the dataset's extents using a fill symbol...
Represents a map layer supporting display of point clouds.
Base class for point cloud 2D renderer settings widgets.
virtual QgsPointCloudRenderer * renderer()=0
Returns a new instance of a renderer as defined by the settings in the widget.
Abstract base class for 2d point cloud renderers.