#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 |
| QSceneTreeRenderer::QSceneTreeRenderer | ( | QGLViewer * | pViewer | ) |
| QSceneTreeRenderer::~QSceneTreeRenderer | ( | ) |
| GLuint QSceneTreeRenderer::processHits | ( | GLint | hits, | |
| GLuint | buffer[] | |||
| ) | [protected, virtual] |
processHits prints out the contents of the selection array.
| void QSceneTreeRenderer::requestUpdate | ( | ) | [virtual] |
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.
| void QSceneTreeRenderer::sltInitializeGL | ( | ) | [virtual, slot] |
Initializes GL state - a sane default is provided.
| void QSceneTreeRenderer::sltManageMove | ( | QMouseEvent * | pqEvent | ) | [virtual, slot] |
Manages the move events in selection mode.
Reimplemented in CSceneTreeRenderer.
| void QSceneTreeRenderer::sltManageRelease | ( | QMouseEvent * | pqEvent | ) | [virtual, slot] |
Manages the release events in selection mode.
| void QSceneTreeRenderer::sltManageSelection | ( | QMouseEvent * | pqEvent | ) | [virtual, slot] |
Manages the select events in selection mode.
Reimplemented in CSceneTreeRenderer.
| void QSceneTreeRenderer::sltPaintGL | ( | ) | [virtual, slot] |
Renders the scenetree in depth first order (children in their natural list order). You usually dont want to override this.
| void QSceneTreeRenderer::sltPollUpdate | ( | ) | [protected, virtual, slot] |
| void QSceneTreeRenderer::traverseTree | ( | int & | nId, | |
| QSceneTreeNode * | node | |||
| ) | [protected] |
the recursion for the tree traversal.
bool QSceneTreeRenderer::m_fLeftButtonPressed [protected] |
bool QSceneTreeRenderer::m_fMiddleButtonPressed [protected] |
bool QSceneTreeRenderer::m_fNeedUpdate [protected] |
bool QSceneTreeRenderer::m_fRightButtonPressed [protected] |
unsigned int QSceneTreeRenderer::m_nChosen [protected] |
int QSceneTreeRenderer::m_nMousePosX [protected] |
int QSceneTreeRenderer::m_nMousePosY [protected] |
QTimer* QSceneTreeRenderer::m_pTimer [protected] |
QGLViewer* const QSceneTreeRenderer::m_pViewer [protected] |
Reimplemented in CSceneTreeRenderer.
1.4.7