16#ifndef QGSMAPCLIPPINGREGION_H 
   17#define QGSMAPCLIPPINGREGION_H 
   52      : mGeometry( geometry )
 
 
   99    bool restrictToLayers() 
const;
 
  107    void setRestrictToLayers( 
bool enabled );
 
  119    void setRestrictedLayers( 
const QList< QgsMapLayer * > &layers );
 
  131    QList< QgsMapLayer * > restrictedLayers() 
const;
 
  136    bool appliesToLayer( 
const QgsMapLayer *layer ) 
const;
 
  143    bool mRestrictToLayers = 
false;
 
  146    FeatureClippingType mFeatureClip = FeatureClippingType::ClipToIntersection;
 
 
A geometry is the spatial representation of a feature.
 
A map clipping region (in map coordinates and CRS).
 
FeatureClippingType
Feature clipping behavior, which controls how features from vector layers will be clipped.
 
void setFeatureClip(FeatureClippingType type)
Sets the feature clipping type.
 
FeatureClippingType featureClip() const
Returns the feature clipping type.
 
QgsMapClippingRegion(const QgsGeometry &geometry)
Constructor for a map clipping region, with the specified geometry in the destination map CRS.
 
Base class for all map layer types.
 
QList< QgsWeakMapLayerPointer > QgsWeakMapLayerPointerList
A list of weak pointers to QgsMapLayers.