QtBase
v6.3.1
|
#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 69 of file qgraphicsscene_bsp_p.h.
QGraphicsSceneBspTree::QGraphicsSceneBspTree | ( | ) |
Definition at line 85 of file qgraphicsscene_bsp.cpp.
QGraphicsSceneBspTree::~QGraphicsSceneBspTree | ( | ) |
Definition at line 93 of file qgraphicsscene_bsp.cpp.
void QGraphicsSceneBspTree::clear | ( | ) |
QString QGraphicsSceneBspTree::debug | ( | int | index | ) | const |
Definition at line 162 of file qgraphicsscene_bsp.cpp.
|
inline |
void QGraphicsSceneBspTree::insertItem | ( | QGraphicsItem * | item, |
const QRectF & | rect | ||
) |
Definition at line 119 of file qgraphicsscene_bsp.cpp.
QList< QGraphicsItem * > QGraphicsSceneBspTree::items | ( | const QRectF & | rect, |
bool | onlyTopLevelItems = false |
||
) | const |
Definition at line 145 of file qgraphicsscene_bsp.cpp.
int QGraphicsSceneBspTree::leafCount | ( | ) | const |
Definition at line 157 of file qgraphicsscene_bsp.cpp.
|
inline |
Definition at line 98 of file qgraphicsscene_bsp_p.h.
void QGraphicsSceneBspTree::removeItem | ( | QGraphicsItem * | item, |
const QRectF & | rect | ||
) |
void QGraphicsSceneBspTree::removeItems | ( | const QSet< QGraphicsItem * > & | items | ) |
Definition at line 131 of file qgraphicsscene_bsp.cpp.