|
QGIS API Documentation
2.6.0-Brighton
|
#include <qgsgeometrycache.h>
Public Member Functions | |
| QgsGeometryCache () | |
| ~QgsGeometryCache () | |
| QgsGeometryMap & | cachedGeometries () |
| bool | geometry (QgsFeatureId fid, QgsGeometry &geometry) |
| fetch geometry from cache, return true if successful | |
| void | cacheGeometry (QgsFeatureId fid, const QgsGeometry &geom) |
| store a geometry in the cache | |
| void | removeGeometry (QgsFeatureId fid) |
| get rid of the cached geometry | |
| void | deleteCachedGeometries () |
| Deletes the geometries in mCachedGeometries. | |
| void | setCachedGeometriesRect (const QgsRectangle &extent) |
| const QgsRectangle & | cachedGeometriesRect () |
Protected Attributes | |
| QgsGeometryMap | mCachedGeometries |
| cache of the committed geometries retrieved for the current display | |
| QgsRectangle | mCachedGeometriesRect |
| extent for which there are cached geometries | |
| QgsGeometryCache::QgsGeometryCache | ( | ) |
| QgsGeometryCache::~QgsGeometryCache | ( | ) |
|
inline |
|
inline |
| void QgsGeometryCache::cacheGeometry | ( | QgsFeatureId | fid, |
| const QgsGeometry & | geom | ||
| ) |
store a geometry in the cache
| void QgsGeometryCache::deleteCachedGeometries | ( | ) |
Deletes the geometries in mCachedGeometries.
| bool QgsGeometryCache::geometry | ( | QgsFeatureId | fid, |
| QgsGeometry & | geometry | ||
| ) |
fetch geometry from cache, return true if successful
|
inline |
get rid of the cached geometry
|
inline |
|
protected |
cache of the committed geometries retrieved for the current display
|
protected |
extent for which there are cached geometries
1.8.1.2