File: qgsmeshrenderersettings.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 (902 lines) | stat: -rw-r--r-- 21,021 bytes parent folder | download | duplicates (7)
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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
/************************************************************************
 * This file has been generated automatically from                      *
 *                                                                      *
 * src/core/mesh/qgsmeshrenderersettings.h                              *
 *                                                                      *
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 ************************************************************************/





class QgsMeshRendererMeshSettings
{
%Docstring(signature="appended")
Represents a mesh renderer settings for mesh object

.. note::

   The API is considered EXPERIMENTAL and can be changed without a notice

.. versionadded:: 3.2
%End

%TypeHeaderCode
#include "qgsmeshrenderersettings.h"
%End
  public:
    bool isEnabled() const;
%Docstring
Returns whether mesh structure rendering is enabled
%End
    void setEnabled( bool enabled );
%Docstring
Sets whether mesh structure rendering is enabled
%End

    double lineWidth() const;
%Docstring
Returns line width used for rendering (in millimeters)
%End
    void setLineWidth( double lineWidth );
%Docstring
Sets line width used for rendering (in millimeters)
%End

    QColor color() const;
%Docstring
Returns color used for rendering
%End
    void setColor( const QColor &color );
%Docstring
Sets color used for rendering of the mesh
%End

    Qgis::RenderUnit lineWidthUnit() const;
%Docstring
Returns units of the width of the mesh frame

.. versionadded:: 3.14
%End

    void setLineWidthUnit( Qgis::RenderUnit lineWidthUnit );
%Docstring
Sets units of the width of the mesh frame

.. versionadded:: 3.14
%End

    QDomElement writeXml( QDomDocument &doc ) const;
%Docstring
Writes configuration to a new DOM element
%End
    void readXml( const QDomElement &elem );
%Docstring
Reads configuration from the given DOM element
%End

};

class QgsMeshRendererScalarSettings
{
%Docstring(signature="appended")
Represents a mesh renderer settings for scalar datasets

.. note::

   The API is considered EXPERIMENTAL and can be changed without a notice

.. versionadded:: 3.2
%End

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

    enum DataResamplingMethod /BaseType=IntEnum/
    {

      NoResampling,

      NeighbourAverage,
    };

    QgsColorRampShader colorRampShader() const;
%Docstring
Returns color ramp shader function
%End
    void setColorRampShader( const QgsColorRampShader &shader );
%Docstring
Sets color ramp shader function
%End

    double classificationMinimum() const;
%Docstring
Returns min value used for creation of the color ramp shader
%End
    double classificationMaximum() const;
%Docstring
Returns max value used for creation of the color ramp shader
%End
    void setClassificationMinimumMaximum( double minimum, double maximum );
%Docstring
Sets min/max values used for creation of the color ramp shader
%End

    double opacity() const;
%Docstring
Returns opacity
%End
    void setOpacity( double opacity );
%Docstring
Sets opacity
%End

    DataResamplingMethod dataResamplingMethod() const;
%Docstring
Returns the type of interpolation to use to convert face defined
datasets to values on vertices

.. versionadded:: 3.12
%End

    void setDataResamplingMethod( const DataResamplingMethod &dataResamplingMethod );
%Docstring
Sets data interpolation method

.. versionadded:: 3.12
%End

    QgsInterpolatedLineWidth edgeStrokeWidth() const;
%Docstring
Returns the stroke width used to render edges scalar dataset

.. versionadded:: 3.14
%End

    void setEdgeStrokeWidth( const QgsInterpolatedLineWidth &strokeWidth );
%Docstring
Sets the stroke width used to render edges scalar dataset

.. versionadded:: 3.14
%End

    Qgis::RenderUnit edgeStrokeWidthUnit() const;
%Docstring
Returns the stroke width unit used to render edges scalar dataset

.. versionadded:: 3.14
%End

    void setEdgeStrokeWidthUnit( Qgis::RenderUnit edgeStrokeWidthUnit );
%Docstring
Sets the stroke width unit used to render edges scalar dataset

.. versionadded:: 3.14
%End

    QDomElement writeXml( QDomDocument &doc, const QgsReadWriteContext &context = QgsReadWriteContext() ) const;
%Docstring
Writes configuration to a new DOM element
%End
    void readXml( const QDomElement &elem, const QgsReadWriteContext &context = QgsReadWriteContext() );
%Docstring
Reads configuration from the given DOM element
%End

};

class QgsMeshRendererVectorArrowSettings
{
%Docstring(signature="appended")
Represents a mesh renderer settings for vector datasets displayed with
arrows

.. note::

   The API is considered EXPERIMENTAL and can be changed without a notice

.. versionadded:: 3.12
%End

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

    enum ArrowScalingMethod /BaseType=IntEnum/
    {

      MinMax,

      Scaled,

      Fixed
    };

    QgsMeshRendererVectorArrowSettings::ArrowScalingMethod shaftLengthMethod() const;
%Docstring
Returns method used for drawing arrows
%End
    void setShaftLengthMethod( ArrowScalingMethod shaftLengthMethod );
%Docstring
Sets method used for drawing arrows
%End

    double minShaftLength() const;
%Docstring
Returns mininimum shaft length (in millimeters)

Only for
:py:class:`QgsMeshRendererVectorSettings`.ArrowScalingMethod.MinMax
%End

    void setMinShaftLength( double minShaftLength );
%Docstring
Sets mininimum shaft length (in millimeters)

Only for
:py:class:`QgsMeshRendererVectorSettings`.ArrowScalingMethod.MinMax
%End

    double maxShaftLength() const;
%Docstring
Returns maximum shaft length (in millimeters)

Only for
:py:class:`QgsMeshRendererVectorSettings`.ArrowScalingMethod.MinMax
%End

    void setMaxShaftLength( double maxShaftLength );
%Docstring
Sets maximum shaft length (in millimeters)

Only for
:py:class:`QgsMeshRendererVectorSettings`.ArrowScalingMethod.MinMax
%End

    double scaleFactor() const;
%Docstring
Returns scale factor

Only for
:py:class:`QgsMeshRendererVectorSettings`.ArrowScalingMethod.Scaled
%End

    void setScaleFactor( double scaleFactor );
%Docstring
Sets scale factor

Only for
:py:class:`QgsMeshRendererVectorSettings`.ArrowScalingMethod.Scaled
%End

    double fixedShaftLength() const;
%Docstring
Returns fixed arrow length (in millimeters)

Only for
:py:class:`QgsMeshRendererVectorSettings`.ArrowScalingMethod.Fixed
%End

    void setFixedShaftLength( double fixedShaftLength );
%Docstring
Sets fixed length (in millimeters)

Only for
:py:class:`QgsMeshRendererVectorSettings`.ArrowScalingMethod.Fixed
%End

    double arrowHeadWidthRatio() const;
%Docstring
Returns ratio of the head width of the arrow (range 0-1)
%End
    void setArrowHeadWidthRatio( double arrowHeadWidthRatio );
%Docstring
Sets ratio of the head width of the arrow (range 0-1)
%End

    double arrowHeadLengthRatio() const;
%Docstring
Returns ratio of the head length of the arrow (range 0-1)
%End
    void setArrowHeadLengthRatio( double arrowHeadLengthRatio );
%Docstring
Sets ratio of the head length of the arrow (range 0-1)
%End

    QDomElement writeXml( QDomDocument &doc ) const;
%Docstring
Writes configuration to a new DOM element
%End
    void readXml( const QDomElement &elem );
%Docstring
Reads configuration from the given DOM element
%End

};

class QgsMeshRendererVectorStreamlineSettings
{
%Docstring(signature="appended")
Represents a streamline renderer settings for vector datasets displayed
by streamlines

.. note::

   The API is considered EXPERIMENTAL and can be changed without a notice

.. versionadded:: 3.12
%End

%TypeHeaderCode
#include "qgsmeshrenderersettings.h"
%End
  public:
    enum SeedingStartPointsMethod /BaseType=IntEnum/
    {

      MeshGridded,

      Random
    };

    SeedingStartPointsMethod seedingMethod() const;
%Docstring
Returns the method used for seeding start points of strealines
%End
    void setSeedingMethod( const SeedingStartPointsMethod &seedingMethod );
%Docstring
Sets the method used for seeding start points of strealines
%End
    double seedingDensity() const;
%Docstring
Returns the density used for seeding start points
%End
    void setSeedingDensity( double seedingDensity );
%Docstring
Sets the density used for seeding start points
%End
    void readXml( const QDomElement &elem );
%Docstring
Reads configuration from the given DOM element
%End
    QDomElement writeXml( QDomDocument &doc ) const;
%Docstring
Writes configuration to a new DOM element
%End

};

class QgsMeshRendererVectorTracesSettings
{
%Docstring(signature="appended")
Represents a trace renderer settings for vector datasets displayed by
particle traces

.. note::

   The API is considered EXPERIMENTAL and can be changed without a notice

.. versionadded:: 3.12
%End

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

    double maximumTailLength() const;
%Docstring
Returns the maximum tail length
%End
    void setMaximumTailLength( double maximumTailLength );
%Docstring
Sets the maximums tail length
%End
    int particlesCount() const;
%Docstring
Returns particles count
%End
    void setParticlesCount( int value );
%Docstring
Sets particles count
%End
    Qgis::RenderUnit maximumTailLengthUnit() const;
%Docstring
Returns the maximum tail length unit
%End
    void setMaximumTailLengthUnit( Qgis::RenderUnit maximumTailLengthUnit );
%Docstring
Sets the maximum tail length unit
%End

    void readXml( const QDomElement &elem );
%Docstring
Reads configuration from the given DOM element
%End
    QDomElement writeXml( QDomDocument &doc ) const;
%Docstring
Writes configuration to a new DOM element
%End

};

class QgsMeshRendererVectorWindBarbSettings
{
%Docstring(signature="appended")
Represents a mesh renderer settings for vector datasets displayed with
wind barbs

.. note::

   The API is considered EXPERIMENTAL and can be changed without a notice

.. versionadded:: 3.38
%End

%TypeHeaderCode
#include "qgsmeshrenderersettings.h"
%End
  public:
    enum class WindSpeedUnit
    {
      MetersPerSecond,
      KilometersPerHour,
      Knots,
      MilesPerHour,
      FeetPerSecond,
      OtherUnit
    };

    double magnitudeMultiplier() const;
%Docstring
Returns the multiplier for the magnitude to convert it to knots,
according to the units set with
:py:func:`~QgsMeshRendererVectorWindBarbSettings.setMagnitudeUnits` A
custom multiplier can be set with
:py:func:`~QgsMeshRendererVectorWindBarbSettings.setMagnitudeMultiplier`
for the case when units are set to OtherUnit
%End

    void setMagnitudeMultiplier( double magnitudeMultiplier );
%Docstring
Sets a multiplier for the magnitude to convert it to knots
%End

    double shaftLength() const;
%Docstring
Returns the shaft length (in millimeters)
%End

    void setShaftLength( double shaftLength );
%Docstring
Sets the shaft length (in millimeters)
%End

    Qgis::RenderUnit shaftLengthUnits() const;
%Docstring
Returns the units for the shaft length.

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

    void setShaftLengthUnits( Qgis::RenderUnit shaftLengthUnit );
%Docstring
Sets the units for the shaft length.

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

    WindSpeedUnit magnitudeUnits() const;
%Docstring
Returns the units that the data are in
%End

    void setMagnitudeUnits( WindSpeedUnit units );
%Docstring
Sets the units that the data are in
%End

    QDomElement writeXml( QDomDocument &doc ) const;
%Docstring
Writes configuration to a new DOM element
%End
    void readXml( const QDomElement &elem );
%Docstring
Reads configuration from the given DOM element
%End

};

class QgsMeshRendererVectorSettings
{
%Docstring(signature="appended")
Represents a renderer settings for vector datasets

.. note::

   The API is considered EXPERIMENTAL and can be changed without a notice

.. versionadded:: 3.2
%End

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

    enum Symbology /BaseType=IntEnum/
    {
      //! Displaying vector dataset with arrows
      Arrows,
      //! Displaying vector dataset with streamlines
      Streamlines,
      //! Displaying vector dataset with particle traces
      Traces,
      //! Displaying vector dataset with wind barbs
      WindBarbs
    };

    double lineWidth() const;
%Docstring
Returns line width of the arrow (in millimeters)
%End
    void setLineWidth( double lineWidth );
%Docstring
Sets line width of the arrow in pixels (in millimeters)
%End

    QColor color() const;
%Docstring
Returns color used for drawing arrows
%End
    void setColor( const QColor &color );
%Docstring
Sets color used for drawing arrows
%End

    double filterMin() const;
%Docstring
Returns filter value for vector magnitudes.

If magnitude of the vector is lower than this value, the vector is not
drawn. -1 represents that filtering is not active.
%End

    void setFilterMin( double filterMin );
%Docstring
Sets filter value for vector magnitudes.

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

    double filterMax() const;
%Docstring
Returns filter value for vector magnitudes.

If magnitude of the vector is higher than this value, the vector is not
drawn. -1 represents that filtering is not active.
%End

    void setFilterMax( double filterMax );
%Docstring
Sets filter value for vector magnitudes.

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

    bool isOnUserDefinedGrid() const;
%Docstring
Returns whether vectors are drawn on user-defined grid
%End
    void setOnUserDefinedGrid( bool enabled );
%Docstring
Toggles drawing of vectors on user defined grid
%End
    int userGridCellWidth() const;
%Docstring
Returns width in pixels of user grid cell
%End
    void setUserGridCellWidth( int width );
%Docstring
Sets width of user grid cell (in pixels)
%End
    int userGridCellHeight() const;
%Docstring
Returns height in pixels of user grid cell
%End
    void setUserGridCellHeight( int height );
%Docstring
Sets height of user grid cell (in pixels)
%End

    Symbology symbology() const;
%Docstring
Returns the displaying method used to render vector datasets

.. versionadded:: 3.12
%End

    void setSymbology( const Symbology &symbology );
%Docstring
Sets the displaying method used to render vector datasets

.. versionadded:: 3.12
%End

    QgsInterpolatedLineColor::ColoringMethod coloringMethod() const;
%Docstring
Returns the coloring method used to render vector datasets

.. versionadded:: 3.14
%End

    void setColoringMethod( const QgsInterpolatedLineColor::ColoringMethod &coloringMethod );
%Docstring
Sets the coloring method used to render vector datasets

.. versionadded:: 3.14
%End

    QgsColorRampShader colorRampShader() const;
%Docstring
Sets the color ramp shader used to render vector datasets

.. versionadded:: 3.14
%End

    void setColorRampShader( const QgsColorRampShader &colorRampShader );
%Docstring
Returns the color ramp shader used to render vector datasets

.. versionadded:: 3.14
%End

    QgsInterpolatedLineColor vectorStrokeColoring() const;
%Docstring
Returns the stroke coloring used to render vector datasets

.. versionadded:: 3.14
%End

    QgsMeshRendererVectorArrowSettings arrowSettings() const;
%Docstring
Returns settings for vector rendered with arrows

.. versionadded:: 3.12
%End

    void setArrowsSettings( const QgsMeshRendererVectorArrowSettings &arrowSettings );
%Docstring
Sets settings for vector rendered with arrows

.. versionadded:: 3.12
%End

    QgsMeshRendererVectorStreamlineSettings streamLinesSettings() const;
%Docstring
Returns settings for vector rendered with streamlines

.. versionadded:: 3.12
%End

    void setStreamLinesSettings( const QgsMeshRendererVectorStreamlineSettings &streamLinesSettings );
%Docstring
Sets settings for vector rendered with streamlines

.. versionadded:: 3.12
%End

    QgsMeshRendererVectorTracesSettings tracesSettings() const;
%Docstring
Returns settings for vector rendered with traces

.. versionadded:: 3.12
%End

    void setTracesSettings( const QgsMeshRendererVectorTracesSettings &tracesSettings );
%Docstring
Sets settings for vector rendered with traces

.. versionadded:: 3.12
%End

    QgsMeshRendererVectorWindBarbSettings windBarbSettings() const;
%Docstring
Returns settings for vector rendered with wind barbs

.. versionadded:: 3.38
%End

    void setWindBarbSettings( const QgsMeshRendererVectorWindBarbSettings &windBarbSettings );
%Docstring
Sets settings for vector rendered with wind barbs

.. versionadded:: 3.38
%End

    QDomElement writeXml( QDomDocument &doc, const QgsReadWriteContext &context = QgsReadWriteContext() ) const;
%Docstring
Writes configuration to a new DOM element
%End
    void readXml( const QDomElement &elem, const QgsReadWriteContext &context = QgsReadWriteContext() );
%Docstring
Reads configuration from the given DOM element
%End

};

class QgsMeshRendererSettings
{
%Docstring(signature="appended")
Represents all mesh renderer settings

.. note::

   The API is considered EXPERIMENTAL and can be changed without a notice

.. versionadded:: 3.4
%End

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

    QgsMeshRendererSettings();
%Docstring
Constructs renderer with default single layer averaging method
%End
    ~QgsMeshRendererSettings();

    QgsMeshRendererMeshSettings nativeMeshSettings() const;
%Docstring
Returns native mesh renderer settings
%End
    void setNativeMeshSettings( const QgsMeshRendererMeshSettings &settings );
%Docstring
Sets new native mesh renderer settings, triggers repaint
%End

    QgsMeshRendererMeshSettings triangularMeshSettings() const;
%Docstring
Returns triangular mesh renderer settings
%End
    void setTriangularMeshSettings( const QgsMeshRendererMeshSettings &settings );
%Docstring
Sets new triangular mesh renderer settings
%End

    QgsMeshRendererMeshSettings edgeMeshSettings() const;
%Docstring
Returns edge mesh renderer settings

.. versionadded:: 3.14
%End

    void setEdgeMeshSettings( const QgsMeshRendererMeshSettings &settings );
%Docstring
Sets new edge mesh renderer settings

.. versionadded:: 3.14
%End

    QgsMeshRendererScalarSettings scalarSettings( int groupIndex ) const;
%Docstring
Returns renderer settings
%End

    void setScalarSettings( int groupIndex, const QgsMeshRendererScalarSettings &settings );
%Docstring
Sets new renderer settings
%End

    bool hasScalarSettings( int groupIndex ) const;
%Docstring
Returns whether ``groupIndex`` has existing scalar settings

.. versionadded:: 3.30.2
%End

    bool removeScalarSettings( int groupIndex );
%Docstring
Removes scalar settings with ``groupIndex``

.. versionadded:: 3.30.2
%End

    QgsMeshRendererVectorSettings vectorSettings( int groupIndex ) const;
%Docstring
Returns renderer settings
%End
    void setVectorSettings( int groupIndex, const QgsMeshRendererVectorSettings &settings );
%Docstring
Sets new renderer settings
%End

    bool hasVectorSettings( int groupIndex ) const;
%Docstring
Returns whether ``groupIndex`` has existing vector settings

.. versionadded:: 3.30.2
%End

    bool removeVectorSettings( int groupIndex );
%Docstring
Removes vector settings for ``groupIndex``

.. versionadded:: 3.30.2
%End

    QgsMesh3DAveragingMethod *averagingMethod() const;
%Docstring
Returns averaging method for conversion of 3d stacked mesh data to 2d
data

Caller does not own the resulting pointer
%End

    void setAveragingMethod( QgsMesh3DAveragingMethod *method );
%Docstring
Sets averaging method for conversion of 3d stacked mesh data to 2d data

Ownership of the method is not transferred.
%End

    QDomElement writeXml( QDomDocument &doc, const QgsReadWriteContext &context = QgsReadWriteContext() ) const;
%Docstring
Writes configuration to a new DOM element
%End
    void readXml( const QDomElement &elem, const QgsReadWriteContext &context = QgsReadWriteContext() );
%Docstring
Reads configuration from the given DOM element
%End

    int activeScalarDatasetGroup() const;
%Docstring
Returns the active scalar dataset group

.. versionadded:: 3.14
%End

    void setActiveScalarDatasetGroup( int activeScalarDatasetGroup );
%Docstring
Sets the active scalar dataset group

.. versionadded:: 3.14
%End

    int activeVectorDatasetGroup() const;
%Docstring
Returns the active vector dataset group

.. versionadded:: 3.14
%End

    void setActiveVectorDatasetGroup( int activeVectorDatasetGroup );
%Docstring
Sets the active vector dataset group

.. versionadded:: 3.14
%End

    bool hasSettings( int datasetGroupIndex ) const;
%Docstring
Returns whether the group with ``index`` has render settings (scalar or
vector)

.. versionadded:: 3.22
%End

};

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