QGIS API Documentation
4.3.0-Master (9dce731a7a1)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
mesh
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"
23
#include "
qgsvectorfieldtraceanimationgenerator.h
"
24
25
#include <QSize>
26
#include <QVector>
27
38
class
CORE_EXPORT
QgsMeshVectorTraceAnimationGenerator
:
public
QgsVectorFieldTraceAnimationGenerator
SIP_NODEFAULTCTORS
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
QgsMeshLayer
Represents a mesh layer supporting display of data on structured or unstructured meshes.
Definition
qgsmeshlayer.h:105
QgsMeshVectorTraceAnimationGenerator::QgsMeshVectorTraceAnimationGenerator
Q_DECL_DEPRECATED QgsMeshVectorTraceAnimationGenerator(QgsMeshLayer *layer, const QgsRenderContext &rendererContext)
Constructor to use with Python binding.
Definition
qgsmeshtracerenderer.cpp:20
QgsMeshVectorTraceAnimationGenerator::setFPS
void setFPS(int FPS)
Sets the number of frames per seconds that will be rendered.
Definition
qgsmeshtracerenderer.h:49
QgsMeshVectorTraceAnimationGenerator::setMaxSpeedPixel
void setMaxSpeedPixel(int max)
Sets the max number of pixels that can be go through by the particles in 1 second.
Definition
qgsmeshtracerenderer.h:52
QgsRenderContext
Contains information about the context of a rendering operation.
Definition
qgsrendercontext.h:63
QgsVectorFieldTraceAnimationGenerator::QgsVectorFieldTraceAnimationGenerator
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.
Definition
qgsvectorfieldtraceanimationgenerator.cpp:28
QgsVectorFieldTraceAnimationGenerator::setMaximumSpeedPixel
void setMaximumSpeedPixel(int pixels)
Sets the max number of pixels that can be go through by the particles in 1 second.
Definition
qgsvectorfieldtraceanimationgenerator.cpp:143
QgsVectorFieldTraceAnimationGenerator::setFramesPerSecond
void setFramesPerSecond(int frames)
Sets the number of frames per seconds that will be rendered.
Definition
qgsvectorfieldtraceanimationgenerator.cpp:133
qgis.h
SIP_DEPRECATED
#define SIP_DEPRECATED
Definition
qgis_sip.h:113
SIP_NODEFAULTCTORS
#define SIP_NODEFAULTCTORS
Definition
qgis_sip.h:108
qgsvectorfieldtraceanimationgenerator.h
Generated on
for QGIS API Documentation by
1.17.0