#include <STQGLExampleObjects.h>
Inheritance diagram for STQGLExampleSphere:

Public Member Functions | |
| STQGLExampleSphere (const CP3D &cCenter, float radius, int n1, int n2, float red, float green, float blue, float lw=2.5) | |
| virtual void | setCenter (const CP3D &cCenter) |
| virtual const CP3D | getCenter () |
| virtual CBoundingBox3D | getBoundingBox () const |
| virtual bool | event (const QEvent *pqEvent) |
Protected Attributes | |
| float | m_radius |
| float | m_lw |
| float | m_red |
| float | m_green |
| float | m_blue |
| int | m_n1 |
| int | m_n2 |
|
||||||||||||||||||||||||||||||||||||
|
Default constructor. |
|
|
Reimplented method. Here it manages all double-clicks over a scene object by popping up a dialog. Reimplemented from QSceneTreeDrawable. |
|
|
Returns the bounding box of the sphere. Reimplemented from QSceneTreeNode. |
|
|
Returns the center coordinates. |
|
|
Defines the global coordinates of the sphere. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3-rc3