QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
pointcloud
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
***************************************************************************/
15
#include "
qgspointcloudrendererwidget.h
"
16
17
#include "moc_qgspointcloudrendererwidget.cpp"
18
19
QgsPointCloudRendererWidget::QgsPointCloudRendererWidget
(
QgsPointCloudLayer
*
layer
,
QgsStyle
*style )
20
:
mLayer
(
layer
)
21
,
mStyle
( style )
22
{}
23
24
void
QgsPointCloudRendererWidget::setContext
(
const
QgsSymbolWidgetContext
&
context
)
25
{
26
mContext
=
context
;
27
}
28
29
QgsSymbolWidgetContext
QgsPointCloudRendererWidget::context
()
const
30
{
31
return
mContext
;
32
}
QgsPointCloudLayer
Represents a map layer supporting display of point clouds.
Definition
qgspointcloudlayer.h:49
QgsPointCloudRendererWidget::mStyle
QgsStyle * mStyle
Definition
qgspointcloudrendererwidget.h:75
QgsPointCloudRendererWidget::mLayer
QgsPointCloudLayer * mLayer
Definition
qgspointcloudrendererwidget.h:74
QgsPointCloudRendererWidget::mContext
QgsSymbolWidgetContext mContext
Context in which widget is shown.
Definition
qgspointcloudrendererwidget.h:78
QgsPointCloudRendererWidget::context
QgsSymbolWidgetContext context() const
Returns the context in which the renderer widget is shown, e.g., the associated map canvas and expres...
Definition
qgspointcloudrendererwidget.cpp:29
QgsPointCloudRendererWidget::setContext
virtual void setContext(const QgsSymbolWidgetContext &context)
Sets the context in which the renderer widget is shown, e.g., the associated map canvas and expressio...
Definition
qgspointcloudrendererwidget.cpp:24
QgsPointCloudRendererWidget::layer
const QgsPointCloudLayer * layer() const
Returns the point cloud layer associated with the widget.
Definition
qgspointcloudrendererwidget.h:69
QgsPointCloudRendererWidget::QgsPointCloudRendererWidget
QgsPointCloudRendererWidget(QgsPointCloudLayer *layer, QgsStyle *style)
Constructor for QgsPointCloudRendererWidget, associated with the specified layer and style database.
Definition
qgspointcloudrendererwidget.cpp:19
QgsStyle
A database of saved style entities, including symbols, color ramps, text formats and others.
Definition
qgsstyle.h:91
QgsSymbolWidgetContext
Contains settings which reflect the context in which a symbol (or renderer) widget is shown,...
Definition
qgssymbolwidgetcontext.h:35
qgspointcloudrendererwidget.h
Generated on
for QGIS API Documentation by
1.17.0