QGIS API Documentation 4.3.0-Master (c0a40176c6f)
Loading...
Searching...
No Matches
qgsvectorfieldvaluesource.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgsvectorfieldvaluesource.cpp
3 -----------------------------
4 begin : September 2026
5 copyright : (C) 2026 by Stefanos Natsis
6 email : uclaros 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
17
18#include "qgsrasterinterface.h"
19
21
23{
24 Q_UNUSED( extent )
25 return {};
26}
27
28std::unique_ptr<QgsRasterInterface> QgsVectorFieldValueSource::magnitudeSource( const QgsRenderContext &context, QSize size ) const
29{
30 Q_UNUSED( context )
31 Q_UNUSED( size )
32 return nullptr;
33}
A rectangle specified with double values.
Contains information about the context of a rendering operation.
virtual QgsRectangle extent() const =0
Returns the extent of the data, in map coordinates.
virtual std::unique_ptr< QgsRasterInterface > magnitudeSource(const QgsRenderContext &context, QSize size) const
Returns a raster interface exposing the magnitude of the vector field as a single band,...
virtual ~QgsVectorFieldValueSource()
virtual QVector< QgsPointXY > seedPoints(const QgsRectangle &extent) const
Returns the natural seeding positions of the data within extent, in map coordinates.