16#ifndef QGSGRAPHDIRECTOR_H
17#define QGSGRAPHDIRECTOR_H
26#include "qgis_analysis.h"
48 sipType = sipType_QgsVectorLayerDirector;
59 qDeleteAll( mStrategies );
74 Q_UNUSED( additionalPoints )
75 Q_UNUSED( snappedPoints )
82 mStrategies.push_back( prop );
86 virtual QString
name()
const = 0;
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Determine interface for creating a graph.
Determine making the graph.
void addStrategy(QgsNetworkStrategy *prop)
Add optimization strategy.
~QgsGraphDirector() override
QList< QgsNetworkStrategy * > mStrategies
virtual void makeGraph(QgsGraphBuilderInterface *builder, const QVector< QgsPointXY > &additionalPoints, QVector< QgsPointXY > &snappedPoints, QgsFeedback *feedback=nullptr) const
Make a graph using QgsGraphBuilder.
virtual QString name() const =0
Returns director name.
QgsNetworkStrategy defines strategy used for calculation of the edge cost.
Point geometry type, with support for z-dimension and m-values.
Determine making the graph from vector line layer.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)