QGIS API Documentation  3.18.1-Zürich (202f1bf7e5)
qgspointcloudrendererwidget.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  qgspointcloudrendererwidget.cpp
3  ---------------------
4  begin : November 2020
5  copyright : (C) 2020 by Nyall Dawson
6  email : nyall dot dawson at gmail dot com
7  ***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
16 
18  : mLayer( layer )
19  , mStyle( style )
20 {
21 }
22 
24 {
25  mContext = context;
26 }
27 
29 {
30  return mContext;
31 }
32 
Represents a map layer supporting display of point clouds.
QgsSymbolWidgetContext mContext
Context in which widget is shown.
QgsSymbolWidgetContext context() const
Returns the context in which the renderer widget is shown, e.g., the associated map canvas and expres...
virtual void setContext(const QgsSymbolWidgetContext &context)
Sets the context in which the renderer widget is shown, e.g., the associated map canvas and expressio...
QgsPointCloudRendererWidget(QgsPointCloudLayer *layer, QgsStyle *style)
Constructor for QgsPointCloudRendererWidget, associated with the specified layer and style database.
Contains settings which reflect the context in which a symbol (or renderer) widget is shown,...