![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qgraphicsscene_bsp_p.h>
Classes | |
| struct | Node |
Public Member Functions | |
| QGraphicsSceneBspTree () | |
| ~QGraphicsSceneBspTree () | |
| void | initialize (const QRectF &rect, int depth) |
| void | clear () |
| void | insertItem (QGraphicsItem *item, const QRectF &rect) |
| void | removeItem (QGraphicsItem *item, const QRectF &rect) |
| void | removeItems (const QSet< QGraphicsItem * > &items) |
| QList< QGraphicsItem * > | items (const QRectF &rect, bool onlyTopLevelItems=false) const |
| int | leafCount () const |
| int | firstChildIndex (int index) const |
| int | parentIndex (int index) const |
| QString | debug (int index) const |
Definition at line 30 of file qgraphicsscene_bsp_p.h.
| QT_BEGIN_NAMESPACE QGraphicsSceneBspTree::QGraphicsSceneBspTree | ( | ) |
Definition at line 13 of file qgraphicsscene_bsp.cpp.
| QGraphicsSceneBspTree::~QGraphicsSceneBspTree | ( | ) |
Definition at line 18 of file qgraphicsscene_bsp.cpp.
| void QGraphicsSceneBspTree::clear | ( | ) |
Definition at line 34 of file qgraphicsscene_bsp.cpp.
| QString QGraphicsSceneBspTree::debug | ( | int | index | ) | const |
Definition at line 94 of file qgraphicsscene_bsp.cpp.
References QGraphicsSceneBspTree::Node::Horizontal, QGraphicsSceneBspTree::Node::Leaf, and QGraphicsSceneBspTree::Node::type.
|
inline |
Definition at line 56 of file qgraphicsscene_bsp_p.h.
Definition at line 22 of file qgraphicsscene_bsp.cpp.
| void QGraphicsSceneBspTree::insertItem | ( | QGraphicsItem * | item, |
| const QRectF & | rect ) |
Definition at line 41 of file qgraphicsscene_bsp.cpp.
| QList< QGraphicsItem * > QGraphicsSceneBspTree::items | ( | const QRectF & | rect, |
| bool | onlyTopLevelItems = false ) const |
Definition at line 69 of file qgraphicsscene_bsp.cpp.
| int QGraphicsSceneBspTree::leafCount | ( | ) | const |
Definition at line 89 of file qgraphicsscene_bsp.cpp.
|
inline |
Definition at line 59 of file qgraphicsscene_bsp_p.h.
| void QGraphicsSceneBspTree::removeItem | ( | QGraphicsItem * | item, |
| const QRectF & | rect ) |
Definition at line 48 of file qgraphicsscene_bsp.cpp.
| void QGraphicsSceneBspTree::removeItems | ( | const QSet< QGraphicsItem * > & | items | ) |
Definition at line 55 of file qgraphicsscene_bsp.cpp.