QtBase  v6.3.1
Classes | Public Member Functions | List of all members
QGraphicsSceneBspTree Class Reference

#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
 

Detailed Description

Definition at line 69 of file qgraphicsscene_bsp_p.h.

Constructor & Destructor Documentation

◆ QGraphicsSceneBspTree()

QGraphicsSceneBspTree::QGraphicsSceneBspTree ( )

Definition at line 85 of file qgraphicsscene_bsp.cpp.

◆ ~QGraphicsSceneBspTree()

QGraphicsSceneBspTree::~QGraphicsSceneBspTree ( )

Definition at line 93 of file qgraphicsscene_bsp.cpp.

Member Function Documentation

◆ clear()

void QGraphicsSceneBspTree::clear ( )

Definition at line 112 of file qgraphicsscene_bsp.cpp.

Here is the call graph for this function:

◆ debug()

QString QGraphicsSceneBspTree::debug ( int  index) const

Definition at line 162 of file qgraphicsscene_bsp.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ firstChildIndex()

int QGraphicsSceneBspTree::firstChildIndex ( int  index) const
inline

Definition at line 95 of file qgraphicsscene_bsp_p.h.

Here is the caller graph for this function:

◆ initialize()

void QGraphicsSceneBspTree::initialize ( const QRectF rect,
int  depth 
)

Definition at line 100 of file qgraphicsscene_bsp.cpp.

Here is the call graph for this function:

◆ insertItem()

void QGraphicsSceneBspTree::insertItem ( QGraphicsItem item,
const QRectF rect 
)

Definition at line 119 of file qgraphicsscene_bsp.cpp.

◆ items()

QList< QGraphicsItem * > QGraphicsSceneBspTree::items ( const QRectF rect,
bool  onlyTopLevelItems = false 
) const

Definition at line 145 of file qgraphicsscene_bsp.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ leafCount()

int QGraphicsSceneBspTree::leafCount ( ) const

Definition at line 157 of file qgraphicsscene_bsp.cpp.

◆ parentIndex()

int QGraphicsSceneBspTree::parentIndex ( int  index) const
inline

Definition at line 98 of file qgraphicsscene_bsp_p.h.

◆ removeItem()

void QGraphicsSceneBspTree::removeItem ( QGraphicsItem item,
const QRectF rect 
)

Definition at line 125 of file qgraphicsscene_bsp.cpp.

Here is the caller graph for this function:

◆ removeItems()

void QGraphicsSceneBspTree::removeItems ( const QSet< QGraphicsItem * > &  items)

Definition at line 131 of file qgraphicsscene_bsp.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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