39 #include <QStringList> 124 void removeLayer(
Layer *layer );
138 typedef bool ( *FnIsCancelled )(
void* ctx );
141 void registerCancellationCallback( FnIsCancelled fnCancelled,
void* context );
144 inline bool isCancelled() {
return fnIsCancelled ? fnIsCancelled( fnIsCancelledContext ) :
false; }
146 Problem* extractProblem(
double bbox[4] );
155 void setShowPartial(
bool show );
162 bool getShowPartial();
170 void setPointP(
int point_p );
178 void setLineP(
int line_p );
186 void setPolyP(
int poly_p );
261 FnIsCancelled fnIsCancelled;
263 void* fnIsCancelledContext;
274 Problem* extract(
double lambda_min,
double phi_min,
275 double lambda_max,
double phi_max );
282 void setPopmusicR(
int r );
288 void setMinIt(
int min_it );
294 void setMaxIt(
int max_it );
300 void setTenure(
int tenure );
306 void setEjChainDeg(
int degree );
312 void setCandListSize(
double fact );
329 Q_DECLARE_OPERATORS_FOR_FLAGS( pal::LineArrangementFlags )
A set of features which influence the labelling process.
Main Pal labelling class.
bool isCancelled()
Check whether the job has been cancelled.
is slower and best than TABU, worse and faster than TABU_CHAIN
is a little bit better than CHAIN but slower
GEOSContextHandle_t geosContext()
Get GEOS context handle to be used in all GEOS library calls with reentrant API.
Main class to handle feature.
The QgsAbstractLabelProvider class is an interface class.
Placement
Placement modes which determine how label candidates are generated for a feature. ...
Summary statistics of labelling problem.
Representation of a labeling problem.
LineArrangementFlag
Enumeration line arrangement flags.
SearchMethod
Search method to use.
is the worst but fastest method