16 #ifndef QGSGRAPHDIRECTOR_H
17 #define QGSGRAPHDIRECTOR_H
26 #include "qgis_analysis.h"
49 sipType = sipType_QgsVectorLayerDirector;
61 qDeleteAll( mStrategies );
74 const QVector< QgsPointXY > &additionalPoints,
75 QVector< QgsPointXY > &snappedPoints
SIP_OUT,
79 Q_UNUSED( additionalPoints )
80 Q_UNUSED( snappedPoints )
87 mStrategies.push_back( prop );
91 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)