QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
QgsLabelingResults Class Reference

Class that stores computed placement from labeling engine. More...

#include <qgspallabeling.h>

Collaboration diagram for QgsLabelingResults:
Collaboration graph
[legend]

Public Member Functions

 QgsLabelingResults ()
 
 ~QgsLabelingResults ()
 
QList< QgsLabelPositionlabelsAtPosition (const QgsPoint &p) const
 return infos about labels at a given (map) position More...
 
QList< QgsLabelPositionlabelsWithinRect (const QgsRectangle &r) const
 return infos about labels within a given (map) rectangle More...
 

Private Member Functions

 QgsLabelingResults (const QgsLabelingResults &)
 

Private Attributes

QgsLabelSearchTreemLabelSearchTree
 

Friends

class QgsPalLabeling
 

Detailed Description

Class that stores computed placement from labeling engine.

Note
added in 2.4

Definition at line 685 of file qgspallabeling.h.

Constructor & Destructor Documentation

QgsLabelingResults::QgsLabelingResults ( )

Definition at line 5063 of file qgspallabeling.cpp.

References mLabelSearchTree.

QgsLabelingResults::~QgsLabelingResults ( )

Definition at line 5068 of file qgspallabeling.cpp.

References mLabelSearchTree.

QgsLabelingResults::QgsLabelingResults ( const QgsLabelingResults )
inlineprivate

Definition at line 697 of file qgspallabeling.h.

Member Function Documentation

QList< QgsLabelPosition > QgsLabelingResults::labelsAtPosition ( const QgsPoint p) const

return infos about labels at a given (map) position

Definition at line 5074 of file qgspallabeling.cpp.

References QgsLabelSearchTree::label(), and mLabelSearchTree.

Referenced by QgsPalLabeling::labelsAtPosition().

QList< QgsLabelPosition > QgsLabelingResults::labelsWithinRect ( const QgsRectangle r) const

return infos about labels within a given (map) rectangle

Definition at line 5092 of file qgspallabeling.cpp.

References QgsLabelSearchTree::labelsInRect(), and mLabelSearchTree.

Referenced by QgsPalLabeling::labelsWithinRect().

Friends And Related Function Documentation

friend class QgsPalLabeling
friend

Definition at line 701 of file qgspallabeling.h.

Member Data Documentation

QgsLabelSearchTree* QgsLabelingResults::mLabelSearchTree
private

The documentation for this class was generated from the following files: