QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
16 #ifndef QGSVECTORLAYERRENDERER_H
17 #define QGSVECTORLAYERRENDERER_H
65 QTimer *mTimer =
nullptr;
98 void prepareLabeling(
QgsVectorLayer *layer, QSet<QString> &attributeNames );
99 void prepareDiagrams(
QgsVectorLayer *layer, QSet<QString> &attributeNames );
174 #endif // QGSVECTORLAYERRENDERER_H
QgsVectorSimplifyMethod mSimplifyMethod
This class contains information how to simplify geometries fetched from a vector layer.
QSet< QString > mAttrNames
QgsFeatureRenderer * mRenderer
A map clipping region (in map coordinates and CRS).
std::unique_ptr< QgsVectorLayerRendererInterruptionChecker > mInterruptionChecker
QgsWkbTypes::GeometryType mGeometryType
QgsVectorLayerFeatureSource * mSource
The QgsVectorLayerDiagramProvider class implements support for diagrams within the labeling engine.
Container of fields for a vector layer.
bool mVertexMarkerOnlyForSelection
QgsVectorLayerRenderer(QgsVectorLayer *layer, QgsRenderContext &context)
Contains information about the context of a rendering operation.
QgsGeometry mLabelClipFeatureGeom
The QgsVectorLayerLabelProvider class implements a label provider for vector layers.
Base class for utility classes that encapsulate information necessary for rendering of map layers.
QgsVectorLayer * mLayer
The rendered layer.
QgsVectorLayerRendererInterruptionChecker(const QgsRenderContext &context)
Constructor.
QList< QgsMapClippingRegion > mClippingRegions
QList< int > QgsAttributeList
Base class for feedback objects to be used for cancellation of something running in a worker thread.
QgsGeometry mClipFeatureGeom
Stores the settings for rendering of all diagrams for a layer.
Evaluates and returns the diagram settings relating to a diagram for a specific feature.
QPainter::CompositionMode mFeatureBlendMode
bool mDiagrams
used with new labeling engine (QgsPalLabeling): whether diagrams are enabled
QSet< QgsFeatureId > QgsFeatureIds
QgsVectorLayerDiagramProvider * mDiagramProvider
used with new labeling engine (QgsLabelingEngine): provider for diagrams.
bool mLabeling
used with old labeling engine (QgsPalLabeling): whether labeling is enabled
Interruption checker used by QgsVectorLayerRenderer::render()
GeometryType
The geometry types are used to group QgsWkbTypes::Type in a coarse way.
A geometry is the spatial representation of a feature.
Represents a vector layer which manages a vector based data sets.
QgsFeatureRenderer * featureRenderer()
Returns the feature renderer.
Partial snapshot of vector layer's state (only the members necessary for access to features)
QgsGeometry mClipFilterGeom
QgsFeatureIds mSelectedFeatureIds
QgsVectorLayerLabelProvider * mLabelProvider
used with new labeling engine (QgsLabelingEngine): provider for labels.
bool mApplyClipGeometries
bool mApplyLabelClipGeometries
Wrapper for iterator of features from vector data provider or vector layer.
QgsFeedback * feedback() const override
Access to feedback object of the layer renderer (may be nullptr)
bool render() override
Do the rendering (based on data stored in the class)
Implementation of threaded rendering for vector layers.
~QgsVectorLayerRenderer() override