QGIS API Documentation
3.8.0-Zanzibar (11aff65)
|
Determine making the graph. More...
#include <qgsgraphdirector.h>
Public Member Functions | |
~QgsGraphDirector () override | |
void | addStrategy (QgsNetworkStrategy *prop) |
Add optimization strategy. More... | |
virtual void | makeGraph (QgsGraphBuilderInterface *builder, const QVector< QgsPointXY > &additionalPoints, QVector< QgsPointXY > &snappedPoints, QgsFeedback *feedback=nullptr) const |
Make a graph using QgsGraphBuilder. More... | |
virtual QString | name () const =0 |
Returns director name. More... | |
Protected Attributes | |
QList< QgsNetworkStrategy * > | mStrategies |
Determine making the graph.
QgsGraphBuilder and QgsGraphDirector implemented using "builder" design patter.
Definition at line 43 of file qgsgraphdirector.h.
|
inlineoverride |
Definition at line 59 of file qgsgraphdirector.h.
|
inline |
Add optimization strategy.
Definition at line 85 of file qgsgraphdirector.h.
|
inlinevirtual |
Make a graph using QgsGraphBuilder.
builder | the graph builder |
additionalPoints | list of points that should be snapped to the graph |
snappedPoints | list of snapped points |
feedback | feedback object for reporting progress |
Reimplemented in QgsVectorLayerDirector.
Definition at line 73 of file qgsgraphdirector.h.
|
pure virtual |
Returns director name.
Implemented in QgsVectorLayerDirector.
|
protected |
Definition at line 94 of file qgsgraphdirector.h.