16 #ifndef QGSVECTORSIMPLIFYMETHOD_H 17 #define QGSVECTORSIMPLIFYMETHOD_H 34 GeometrySimplification = 1,
35 AntialiasingSimplification = 2,
36 FullSimplification = 3,
41 void setSimplifyHints( const SimplifyHints& simplifyHints ) { mSimplifyHints = simplifyHints; }
48 inline float threshold()
const {
return mThreshold; }
62 SimplifyHints mSimplifyHints;
66 bool mLocalOptimization;
71 Q_DECLARE_OPERATORS_FOR_FLAGS( QgsVectorSimplifyMethod::SimplifyHints )
73 #endif // QGSVECTORSIMPLIFYMETHOD_H void setForceLocalOptimization(bool localOptimization)
Sets where the simplification executes, after fetch the geometries from provider, or when supported...
SimplifyHint
Simplification flags for fast rendering of features.
float maximumScale() const
Gets the maximum scale at which the layer should be simplified.
float threshold() const
Gets the simplification threshold of the vector layer managed.
void setMaximumScale(float maximumScale)
Sets the maximum scale at which the layer should be simplified.
This class contains information how to simplify geometries fetched from a vector layer.
bool forceLocalOptimization() const
Gets where the simplification executes, after fetch the geometries from provider, or when supported...
SimplifyHints simplifyHints() const
Gets the simplification hints of the vector layer managed.
void setThreshold(float threshold)
Sets the simplification threshold of the vector layer managed.