QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
Identify contexts are used to encapsulate the settings to be used to perform an identify action. More...
#include <qgsidentifycontext.h>
Public Member Functions | |
QgsIdentifyContext ()=default | |
bool | isTemporal () const |
Returns true if the temporal range setting is enabled. | |
void | setTemporalRange (const QgsDateTimeRange &range) |
Set datetime range to be used with the identify action. | |
void | setZRange (const QgsDoubleRange &range) |
Sets the range of z-values to identify within. | |
const QgsDateTimeRange & | temporalRange () const |
Returns the datetime range to be used with the identify action. | |
QgsDoubleRange | zRange () const |
Returns the range of z-values to identify within, or an infinite range if no filtering by z should be applied. | |
Identify contexts are used to encapsulate the settings to be used to perform an identify action.
Definition at line 31 of file qgsidentifycontext.h.
|
default |
bool QgsIdentifyContext::isTemporal | ( | ) | const |
Returns true
if the temporal range setting is enabled.
Definition at line 29 of file qgsidentifycontext.cpp.
void QgsIdentifyContext::setTemporalRange | ( | const QgsDateTimeRange & | range | ) |
Set datetime range to be used with the identify action.
Definition at line 19 of file qgsidentifycontext.cpp.
void QgsIdentifyContext::setZRange | ( | const QgsDoubleRange & | range | ) |
Sets the range of z-values to identify within.
Set to an infinite range if no filtering by z should be applied.
Definition at line 39 of file qgsidentifycontext.cpp.
const QgsDateTimeRange & QgsIdentifyContext::temporalRange | ( | ) | const |
Returns the datetime range to be used with the identify action.
Definition at line 24 of file qgsidentifycontext.cpp.
QgsDoubleRange QgsIdentifyContext::zRange | ( | ) | const |
Returns the range of z-values to identify within, or an infinite range if no filtering by z should be applied.
Definition at line 34 of file qgsidentifycontext.cpp.