File: qgspointcloudlayerelevationproperties.sip.in

package info (click to toggle)
qgis 3.40.11%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,183,800 kB
  • sloc: cpp: 1,595,841; python: 372,637; xml: 23,474; sh: 3,761; perl: 3,664; ansic: 2,257; sql: 2,137; yacc: 1,068; lex: 577; javascript: 540; lisp: 411; makefile: 154
file content (245 lines) | stat: -rw-r--r-- 6,664 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
/************************************************************************
 * This file has been generated automatically from                      *
 *                                                                      *
 * src/core/pointcloud/qgspointcloudlayerelevationproperties.h          *
 *                                                                      *
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 ************************************************************************/





class QgsPointCloudLayerElevationProperties : QgsMapLayerElevationProperties
{
%Docstring(signature="appended")
Point cloud layer specific subclass of
:py:class:`QgsMapLayerElevationProperties`.

.. versionadded:: 3.18
%End

%TypeHeaderCode
#include "qgspointcloudlayerelevationproperties.h"
%End
  public:

    QgsPointCloudLayerElevationProperties( QObject *parent /TransferThis/ );
%Docstring
Constructor for QgsPointCloudLayerElevationProperties, with the
specified ``parent`` object.
%End

    virtual bool hasElevation() const;

    virtual QDomElement writeXml( QDomElement &element, QDomDocument &doc, const QgsReadWriteContext &context );

    virtual bool readXml( const QDomElement &element, const QgsReadWriteContext &context );

    virtual QgsPointCloudLayerElevationProperties *clone() const /Factory/;

    virtual QString htmlSummary() const;

    virtual bool isVisibleInZRange( const QgsDoubleRange &range, QgsMapLayer *layer = 0 ) const;

    virtual QgsDoubleRange calculateZRange( QgsMapLayer *layer ) const;

    virtual QList< double > significantZValues( QgsMapLayer *layer ) const;

    virtual bool showByDefaultInElevationProfilePlots() const;


    double maximumScreenError() const;
%Docstring
Returns the maximum screen error allowed when generating elevation
profiles for the point cloud.

Larger values result in a faster generation with less points included.

Units are retrieved via
:py:func:`~QgsPointCloudLayerElevationProperties.maximumScreenErrorUnit`.

.. seealso:: :py:func:`setMaximumScreenError`

.. seealso:: :py:func:`maximumScreenErrorUnit`

.. versionadded:: 3.26
%End

    void setMaximumScreenError( double error );
%Docstring
Sets the maximum screen ``error`` allowed when generating elevation
profiles for the point cloud.

Larger values result in a faster generation with less points included.

Units are set via
:py:func:`~QgsPointCloudLayerElevationProperties.setMaximumScreenErrorUnit`.

.. seealso:: :py:func:`maximumScreenError`

.. seealso:: :py:func:`setMaximumScreenErrorUnit`

.. versionadded:: 3.26
%End

    Qgis::RenderUnit maximumScreenErrorUnit() const;
%Docstring
Returns the unit for the maximum screen error allowed when generating
elevation profiles for the point cloud.

.. seealso:: :py:func:`maximumScreenError`

.. seealso:: :py:func:`setMaximumScreenErrorUnit`

.. versionadded:: 3.26
%End

    void setMaximumScreenErrorUnit( Qgis::RenderUnit unit );
%Docstring
Sets the ``unit`` for the maximum screen error allowed when generating
elevation profiles for the point cloud.

.. seealso:: :py:func:`setMaximumScreenError`

.. seealso:: :py:func:`maximumScreenErrorUnit`

.. versionadded:: 3.26
%End

    Qgis::PointCloudSymbol pointSymbol() const;
%Docstring
Returns the symbol used drawing points in elevation profile charts.

.. seealso:: :py:func:`setPointSymbol`

.. versionadded:: 3.26
%End

    void setPointSymbol( Qgis::PointCloudSymbol symbol );
%Docstring
Sets the ``symbol`` used drawing points in elevation profile charts.

.. seealso:: :py:func:`pointSymbol`

.. versionadded:: 3.26
%End

    QColor pointColor() const;
%Docstring
Returns the color used drawing points in elevation profile charts.

.. seealso:: :py:func:`setPointColor`

.. versionadded:: 3.26
%End

    void setPointColor( const QColor &color );
%Docstring
Sets the ``color`` used drawing points in elevation profile charts.

.. seealso:: :py:func:`pointColor`

.. versionadded:: 3.26
%End

    bool applyOpacityByDistanceEffect() const;
%Docstring
Returns ``True`` if a reduced opacity by distance from profile curve
effect should be applied when drawing points in elevation profile
charts.

.. seealso:: :py:func:`setApplyOpacityByDistanceEffect`

.. versionadded:: 3.26
%End

    void setApplyOpacityByDistanceEffect( bool apply );
%Docstring
Sets whether a reduced opacity by distance from profile curve effect
should be applied when drawing points in elevation profile charts.

.. seealso:: :py:func:`applyOpacityByDistanceEffect`

.. versionadded:: 3.26
%End

    void setPointSize( double size );
%Docstring
Sets the point ``size`` used for drawing points in elevation profile
charts.

Point size units are specified via
:py:func:`~QgsPointCloudLayerElevationProperties.setPointSizeUnit`.

.. seealso:: :py:func:`pointSize`

.. seealso:: :py:func:`setPointSizeUnit`

.. versionadded:: 3.26
%End

    double pointSize() const;
%Docstring
Returns the point size used for drawing points in elevation profile
charts.

The point size units are retrieved by calling
:py:func:`~QgsPointCloudLayerElevationProperties.pointSizeUnit`.

.. seealso:: :py:func:`setPointSize`

.. seealso:: :py:func:`pointSizeUnit`

.. versionadded:: 3.26
%End

    void setPointSizeUnit( const Qgis::RenderUnit units );
%Docstring
Sets the ``units`` used for the point size used for drawing points in
elevation profile charts.

.. seealso:: :py:func:`setPointSize`

.. seealso:: :py:func:`pointSizeUnit`

.. versionadded:: 3.26
%End

    Qgis::RenderUnit pointSizeUnit() const;
%Docstring
Returns the units used for the point size used for drawing points in
elevation profile charts.

.. seealso:: :py:func:`setPointSizeUnit`

.. seealso:: :py:func:`pointSize`

.. versionadded:: 3.26
%End

    bool respectLayerColors() const;
%Docstring
Returns ``True`` if layer coloring should be respected when rendering
elevation profile plots.

.. seealso:: :py:func:`setRespectLayerColors`
%End

    void setRespectLayerColors( bool enabled );
%Docstring
Sets whether layer coloring should be respected when rendering elevation
profile plots.

.. seealso:: :py:func:`respectLayerColors`
%End

};

/************************************************************************
 * This file has been generated automatically from                      *
 *                                                                      *
 * src/core/pointcloud/qgspointcloudlayerelevationproperties.h          *
 *                                                                      *
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 ************************************************************************/