QGIS API Documentation 4.3.0-Master (16649ce5cc6)
Loading...
Searching...
No Matches
qgsmeshtracerenderer.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsmeshtracerenderer.h
3 -------------------------
4 begin : November 2019
5 copyright : (C) 2019 by Vincent Cloarec
6 email : vcloarec 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 QGSMESHTRACERENDERER_H
19#define QGSMESHTRACERENDERER_H
20
21#include "qgis.h"
22#include "qgis_core.h"
24
25#include <QSize>
26#include <QVector>
27
39{
40 public:
46 Q_DECL_DEPRECATED QgsMeshVectorTraceAnimationGenerator( QgsMeshLayer *layer, const QgsRenderContext &rendererContext ) SIP_DEPRECATED;
47
49 void setFPS( int FPS ) { setFramesPerSecond( FPS ); }
50
52 void setMaxSpeedPixel( int max ) { setMaximumSpeedPixel( max ); }
53};
54
55#endif // QGSMESHTRACERENDERER_H
Represents a mesh layer supporting display of data on structured or unstructured meshes.
Q_DECL_DEPRECATED QgsMeshVectorTraceAnimationGenerator(QgsMeshLayer *layer, const QgsRenderContext &rendererContext)
Constructor to use with Python binding.
void setFPS(int FPS)
Sets the number of frames per seconds that will be rendered.
void setMaxSpeedPixel(int max)
Sets the max number of pixels that can be go through by the particles in 1 second.
Contains information about the context of a rendering operation.
QgsVectorFieldTraceAnimationGenerator(std::unique_ptr< QgsVectorFieldValueSource > source, const QgsRenderContext &rendererContext, const QgsVectorFieldSettings &vectorSettings, bool minimizeFieldSize=true)
Constructs a generator sampling the vector field from source, which is taken ownership of.
void setMaximumSpeedPixel(int pixels)
Sets the max number of pixels that can be go through by the particles in 1 second.
void setFramesPerSecond(int frames)
Sets the number of frames per seconds that will be rendered.
#define SIP_DEPRECATED
Definition qgis_sip.h:113
#define SIP_NODEFAULTCTORS
Definition qgis_sip.h:108