mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	And hookup for point cloud identification. We actually already correctly handled z range filtering for point cloud identify, because that method is using the canvas' render context and filtering by the corresponding z range. But this new approach makes things more flexible and usable for different layer types.
		
			
				
	
	
		
			83 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			83 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/qgsidentifycontext.h                                        *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsIdentifyContext
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
Identify contexts are used to encapsulate the settings to be used to perform
 | 
						|
an identify action.
 | 
						|
 | 
						|
.. versionadded:: 3.16.1
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgsidentifycontext.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
 | 
						|
    QgsIdentifyContext();
 | 
						|
%Docstring
 | 
						|
Constructor for QgsIdentifyContext
 | 
						|
%End
 | 
						|
 | 
						|
    void setTemporalRange( const QgsDateTimeRange &range );
 | 
						|
%Docstring
 | 
						|
Set datetime ``range`` to be used with the identify action.
 | 
						|
 | 
						|
.. seealso:: :py:func:`temporalRange`
 | 
						|
 | 
						|
.. seealso:: :py:func:`isTemporal`
 | 
						|
%End
 | 
						|
 | 
						|
    const QgsDateTimeRange &temporalRange() const;
 | 
						|
%Docstring
 | 
						|
Returns the datetime range to be used with the identify action.
 | 
						|
 | 
						|
.. seealso:: :py:func:`setTemporalRange`
 | 
						|
 | 
						|
.. seealso:: :py:func:`isTemporal`
 | 
						|
%End
 | 
						|
 | 
						|
    bool isTemporal() const;
 | 
						|
%Docstring
 | 
						|
Returns ``True`` if the temporal range setting is enabled.
 | 
						|
%End
 | 
						|
 | 
						|
    QgsDoubleRange zRange() const;
 | 
						|
%Docstring
 | 
						|
Returns the range of z-values to identify within, or an infinite range if no filtering by
 | 
						|
z should be applied.
 | 
						|
 | 
						|
.. seealso:: :py:func:`setZRange`
 | 
						|
 | 
						|
.. versionadded:: 3.38
 | 
						|
%End
 | 
						|
 | 
						|
    void setZRange( const QgsDoubleRange &range );
 | 
						|
%Docstring
 | 
						|
Sets the ``range`` of z-values to identify within.
 | 
						|
 | 
						|
Set to an infinite range if no filtering by z should be applied.
 | 
						|
 | 
						|
.. seealso:: :py:func:`zRange`
 | 
						|
 | 
						|
.. versionadded:: 3.38
 | 
						|
%End
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/qgsidentifycontext.h                                        *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |