This class contains information how to simplify geometries fetched from a vector layer.
More...
#include <qgsvectorsimplifymethod.h>
Detailed Description
This class contains information how to simplify geometries fetched from a vector layer.
- Note
- added in 2.2
Member Enumeration Documentation
Simplification flags for fast rendering of features.
- Enumerator:
NoSimplification |
No simplification can be applied.
|
GeometrySimplification |
The geometries can be simplified using the current map2pixel context state.
|
AntialiasingSimplification |
The geometries can be rendered with 'AntiAliasing' disabled because of it is '1-pixel size'.
|
FullSimplification |
All simplification hints can be applied ( Geometry + AA-disabling )
|
Constructor & Destructor Documentation
QgsVectorSimplifyMethod::QgsVectorSimplifyMethod |
( |
| ) |
|
construct a default object
Member Function Documentation
bool QgsVectorSimplifyMethod::forceLocalOptimization |
( |
| ) |
const |
|
inline |
Gets where the simplification executes, after fetch the geometries from provider, or when supported, in provider before fetch the geometries.
float QgsVectorSimplifyMethod::maximumScale |
( |
| ) |
const |
|
inline |
Gets the maximum scale at which the layer should be simplified.
void QgsVectorSimplifyMethod::setForceLocalOptimization |
( |
bool |
localOptimization | ) |
|
|
inline |
Sets where the simplification executes, after fetch the geometries from provider, or when supported, in provider before fetch the geometries.
void QgsVectorSimplifyMethod::setMaximumScale |
( |
float |
maximumScale | ) |
|
|
inline |
Sets the maximum scale at which the layer should be simplified.
void QgsVectorSimplifyMethod::setSimplifyHints |
( |
SimplifyHints |
simplifyHints | ) |
|
|
inline |
Sets the simplification hints of the vector layer managed.
void QgsVectorSimplifyMethod::setThreshold |
( |
float |
threshold | ) |
|
|
inline |
Sets the simplification threshold of the vector layer managed.
SimplifyHints QgsVectorSimplifyMethod::simplifyHints |
( |
| ) |
const |
|
inline |
Gets the simplification hints of the vector layer managed.
float QgsVectorSimplifyMethod::threshold |
( |
| ) |
const |
|
inline |
Gets the simplification threshold of the vector layer managed.
The documentation for this class was generated from the following files: