QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
Allows representing QgsTiledSceneTiles in a hierarchical tree. More...
#include <qgstiledscenenode.h>
Public Member Functions | |
QgsTiledSceneNode (const QgsTiledSceneNode &other)=delete | |
QgsTiledSceneNode (QgsTiledSceneTile *tile) | |
Constructor for QgsTiledSceneNode, for the specified tile. | |
~QgsTiledSceneNode () | |
void | addChild (QgsTiledSceneNode *child) |
Adds a child to this node. | |
QList< QgsTiledSceneNode * > | children () const |
Returns this node's children. | |
QgsTiledSceneNode & | operator= (const QgsTiledSceneNode &other)=delete |
QgsTiledSceneNode * | parentNode () const |
Returns the parent of this node. | |
QgsTiledSceneTile * | tile () |
Returns the tile associated with the node. | |
Allows representing QgsTiledSceneTiles in a hierarchical tree.
Definition at line 35 of file qgstiledscenenode.h.
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.
|
delete |
QgsTiledSceneNode::~QgsTiledSceneNode | ( | ) |
Definition at line 27 of file qgstiledscenenode.cpp.
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.
|
inline |
Returns this node's children.
Definition at line 72 of file qgstiledscenenode.h.
|
delete |
|
inline |
Returns the parent of this node.
Definition at line 67 of file qgstiledscenenode.h.
QgsTiledSceneTile * QgsTiledSceneNode::tile | ( | ) |
Returns the tile associated with the node.
Definition at line 33 of file qgstiledscenenode.cpp.