QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Member Functions | List of all members
QgsTiledSceneNode Class Reference

Allows representing QgsTiledSceneTiles in a hierarchical tree. More...

#include <qgstiledscenenode.h>

Public Member Functions

 QgsTiledSceneNode (const QgsTiledSceneNode &other)=delete
 QgsTiledSceneNode cannot be copied. More...
 
 QgsTiledSceneNode (QgsTiledSceneTile *tile)
 Constructor for QgsTiledSceneNode, for the specified tile. More...
 
 ~QgsTiledSceneNode ()
 
void addChild (QgsTiledSceneNode *child)
 Adds a child to this node. More...
 
QList< QgsTiledSceneNode * > children () const
 Returns this node's children. More...
 
QgsTiledSceneNodeoperator= (const QgsTiledSceneNode &other)=delete
 QgsTiledSceneNode cannot be copied. More...
 
QgsTiledSceneNodeparentNode () const
 Returns the parent of this node. More...
 
QgsTiledSceneTiletile ()
 Returns the tile associated with the node. More...
 

Detailed Description

Allows representing QgsTiledSceneTiles in a hierarchical tree.

Note
Not available in Python bindings
Since
QGIS 3.34

Definition at line 35 of file qgstiledscenenode.h.

Constructor & Destructor Documentation

◆ QgsTiledSceneNode() [1/2]

QgsTiledSceneNode::QgsTiledSceneNode ( QgsTiledSceneTile tile)

Constructor for QgsTiledSceneNode, for the specified tile.

Ownership of tile is transferred to the node.

Definition at line 21 of file qgstiledscenenode.cpp.

◆ QgsTiledSceneNode() [2/2]

QgsTiledSceneNode::QgsTiledSceneNode ( const QgsTiledSceneNode other)
delete

QgsTiledSceneNode cannot be copied.

◆ ~QgsTiledSceneNode()

QgsTiledSceneNode::~QgsTiledSceneNode ( )

Definition at line 27 of file qgstiledscenenode.cpp.

Member Function Documentation

◆ addChild()

void QgsTiledSceneNode::addChild ( QgsTiledSceneNode child)

Adds a child to this node.

Ownership of child is transferred to this node, and the parent for child will automatically be set to this node.

Definition at line 38 of file qgstiledscenenode.cpp.

◆ children()

QList< QgsTiledSceneNode * > QgsTiledSceneNode::children ( ) const
inline

Returns this node's children.

Definition at line 74 of file qgstiledscenenode.h.

◆ operator=()

QgsTiledSceneNode & QgsTiledSceneNode::operator= ( const QgsTiledSceneNode other)
delete

QgsTiledSceneNode cannot be copied.

◆ parentNode()

QgsTiledSceneNode * QgsTiledSceneNode::parentNode ( ) const
inline

Returns the parent of this node.

Definition at line 69 of file qgstiledscenenode.h.

◆ tile()

QgsTiledSceneTile * QgsTiledSceneNode::tile ( )

Returns the tile associated with the node.

Definition at line 33 of file qgstiledscenenode.cpp.


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