#include <QSceneTreeRenderer.h>
Inheritance diagram for QSceneTreeRenderer:

Public Slots | |
| virtual void | sltManageSelection (QMouseEvent *pqEvent) |
| virtual void | sltManageRelease (QMouseEvent *pqEvent) |
| virtual void | sltManageMove (QMouseEvent *pqEvent) |
| virtual void | sltInitializeGL () |
| virtual void | sltPaintGL () |
Public Member Functions | |
| QSceneTreeRenderer (QGLViewer *pViewer) | |
| ~QSceneTreeRenderer () | |
| virtual void | requestUpdate () |
Protected Slots | |
| virtual void | sltPollUpdate () |
Protected Member Functions | |
| virtual GLuint | processHits (GLint hits, GLuint buffer[]) |
| void | traverseTree (int &nId, QSceneTreeNode *node) |
Protected Attributes | |
| QGLViewer *const | m_pViewer |
| bool | m_fNeedUpdate |
| QTimer * | m_pTimer |
| bool | m_fLeftButtonPressed |
| bool | m_fMiddleButtonPressed |
| bool | m_fRightButtonPressed |
| int | m_nMousePosX |
| int | m_nMousePosY |
| unsigned int | m_nChosen |
|
|
|
|
|
|
|
||||||||||||
|
processHits prints out the contents of the selection array. |
|
|
Requests an update from the QGLViewer, i.e. emit PaintGL. Update requests come up the scene tree and should be queued and periodically satisfied. Reimplemented from QSceneTreeNode. |
|
|
Initializes GL state - a sane default is provided. |
|
|
Manages the move events in selection mode. Reimplemented in CSceneTreeRenderer. |
|
|
Manages the release events in selection mode. |
|
|
Manages the select events in selection mode. Reimplemented in CSceneTreeRenderer. |
|
|
Renders the scenetree in depth first order (children in their natural list order). You usually dont want to override this. |
|
|
|
|
||||||||||||
|
the recursion for the tree traversal. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in CSceneTreeRenderer. |
1.3-rc3