19 #ifndef QGSLABELSEARCHTREE_H
20 #define QGSLABELSEARCHTREE_H
22 #include "qgis_core.h"
82 QList< QgsLabelPosition > allLabels()
const;
95 bool insertLabel(
pal::LabelPosition *labelPos,
QgsFeatureId featureId,
const QString &layerName,
const QString &labeltext,
const QFont &labelfont,
bool diagram =
false,
bool pinned =
false,
const QString &providerId = QString(),
bool isUnplaced =
false,
long long linkedId = 0 )
SIP_SKIP;
115 QList<const QgsCalloutPosition *> calloutsInRectangle(
const QgsRectangle &rectangle )
const;
125 QList<QgsLabelPosition *> groupedLabelPositions(
long long groupId )
const SIP_SKIP;
135 long long mNextFeatureId = 1;
136 QHash< long long, QList< QgsLabelPosition * > > mLinkedLabelHash;
137 std::vector< std::unique_ptr< QgsLabelPosition > > mOwnedPositions;
139 std::vector< std::unique_ptr< QgsCalloutPosition > > mOwnedCalloutPositions;
141 QTransform mTransform;
151 #endif // QGSLABELTREE_H