|
QGIS API Documentation
2.14.0-Essen
|
#include <qgsgeometrycache.h>
Public Member Functions | |
| QgsGeometryCache () | |
| QgsGeometryMap & | cachedGeometries () |
| const QgsRectangle & | cachedGeometriesRect () |
| void | cacheGeometry (QgsFeatureId fid, const QgsGeometry &geom) |
| store a geometry in the cache More... | |
| void | deleteCachedGeometries () |
| Deletes the geometries in mCachedGeometries. More... | |
| bool | geometry (QgsFeatureId fid, QgsGeometry &geometry) |
| fetch geometry from cache, return true if successful More... | |
| void | removeGeometry (QgsFeatureId fid) |
| get rid of the cached geometry More... | |
| void | setCachedGeometriesRect (const QgsRectangle &extent) |
Protected Attributes | |
| QgsGeometryMap | mCachedGeometries |
| Cache of the committed geometries retrieved for the current display More... | |
| QgsRectangle | mCachedGeometriesRect |
| Extent for which there are cached geometries. More... | |
Definition at line 24 of file qgsgeometrycache.h.
| QgsGeometryCache::QgsGeometryCache | ( | ) |
Definition at line 19 of file qgsgeometrycache.cpp.
|
inline |
Definition at line 29 of file qgsgeometrycache.h.
|
inline |
Definition at line 44 of file qgsgeometrycache.h.
| void QgsGeometryCache::cacheGeometry | ( | QgsFeatureId | fid, |
| const QgsGeometry & | geom | ||
| ) |
store a geometry in the cache
Definition at line 35 of file qgsgeometrycache.cpp.
| void QgsGeometryCache::deleteCachedGeometries | ( | ) |
Deletes the geometries in mCachedGeometries.
Definition at line 41 of file qgsgeometrycache.cpp.
| bool QgsGeometryCache::geometry | ( | QgsFeatureId | fid, |
| QgsGeometry & | geometry | ||
| ) |
fetch geometry from cache, return true if successful
Definition at line 23 of file qgsgeometrycache.cpp.
|
inline |
get rid of the cached geometry
Definition at line 38 of file qgsgeometrycache.h.
|
inline |
Definition at line 43 of file qgsgeometrycache.h.
|
protected |
Cache of the committed geometries retrieved for the current display
Definition at line 49 of file qgsgeometrycache.h.
|
protected |
Extent for which there are cached geometries.
Definition at line 52 of file qgsgeometrycache.h.
1.8.11