QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
Allows representing QgsTiledSceneTiles in a hierarchical tree. More...
#include <qgstiledscenenode.h>
Public Member Functions | |
QgsTiledSceneNode (const QgsTiledSceneNode &other)=delete | |
QgsTiledSceneNode cannot be copied. | |
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 cannot be copied. | |
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 cannot be copied.
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 74 of file qgstiledscenenode.h.
|
delete |
QgsTiledSceneNode cannot be copied.
|
inline |
Returns the parent of this node.
Definition at line 69 of file qgstiledscenenode.h.
QgsTiledSceneTile * QgsTiledSceneNode::tile | ( | ) |
Returns the tile associated with the node.
Definition at line 33 of file qgstiledscenenode.cpp.