QGIS API Documentation 3.99.0-Master (357b655ed83)
Loading...
Searching...
No Matches
QgsHighlightsRenderView Class Reference

Container class that holds different objects related to highlighting identified features. More...

#include <qgshighlightsrenderview.h>

Inheritance diagram for QgsHighlightsRenderView:

Public Member Functions

 QgsHighlightsRenderView (const QString &viewName, Qt3DRender::QRenderTarget *target, Qt3DRender::QCamera *camera)
 Constructor.
Qt3DRender::QLayer * highlightsLayer ()
 Returns a layer that should be attached to entities meant to be rendered by QgsHighlightsRenderView.
void updateWindowResize (int width, int height) override
 Called when 3D window is resized.
Public Member Functions inherited from QgsAbstractRenderView
 QgsAbstractRenderView (const QgsAbstractRenderView &other)=delete
 Disabled copy constructor.
 QgsAbstractRenderView (const QString &viewName)
 Constructor for QgsAbstractRenderView with the specified parent object.
virtual ~QgsAbstractRenderView ()
 Default destructor.
virtual bool isEnabled () const
 Returns true if render view is enabled.
QgsAbstractRenderViewoperator= (const QgsAbstractRenderView &other)=delete
 Disabled operator=.
virtual void setEnabled (bool enable)
 Enable or disable via enable the render view sub tree.
QPointer< Qt3DRender::QFrameGraphNode > topGraphNode () const
 Returns the top node of this render view branch. Will be used to register the render view.

Static Public Member Functions

static int silhouetteWidth ()
 Returns the width of the generated silhouette effect in pixels.

Additional Inherited Members

Protected Attributes inherited from QgsAbstractRenderView
Qt3DRender::QSubtreeEnabler * mRendererEnabler = nullptr
QPointer< Qt3DRender::QFrameGraphNode > mRoot
QString mViewName

Detailed Description

Container class that holds different objects related to highlighting identified features.

Note
Not available in Python bindings
Since
QGIS 4.0

Definition at line 41 of file qgshighlightsrenderview.h.

Constructor & Destructor Documentation

◆ QgsHighlightsRenderView()

QgsHighlightsRenderView::QgsHighlightsRenderView ( const QString & viewName,
Qt3DRender::QRenderTarget * target,
Qt3DRender::QCamera * camera )

Constructor.

Definition at line 39 of file qgshighlightsrenderview.cpp.

Member Function Documentation

◆ highlightsLayer()

Qt3DRender::QLayer * QgsHighlightsRenderView::highlightsLayer ( )
inline

Returns a layer that should be attached to entities meant to be rendered by QgsHighlightsRenderView.

Definition at line 50 of file qgshighlightsrenderview.h.

◆ silhouetteWidth()

int QgsHighlightsRenderView::silhouetteWidth ( )
inlinestatic

Returns the width of the generated silhouette effect in pixels.

Definition at line 53 of file qgshighlightsrenderview.h.

◆ updateWindowResize()

void QgsHighlightsRenderView::updateWindowResize ( int width,
int height )
overridevirtual

Called when 3D window is resized.

Render views may update their textures accordingly. Default implementation does nothing.

Reimplemented from QgsAbstractRenderView.

Definition at line 187 of file qgshighlightsrenderview.cpp.


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