#include <GLDrawable.h>
Inheritance diagram for GLDrawable::
Public Methods | |
GLDrawable () | |
virtual | ~GLDrawable () |
virtual void | draw ()=0 |
|
Default constructor. |
|
Virtual destructor. |
|
Must be implemented by the inherited class. This method should draw the object to the current OpenGL context and gets called with the GL model matrix set up for the local reference frame of the node. You ought to leave the GL state as it comes in (usually). glPush* and glPop* are your friends. Reimplemented in QCameraInterpolationTool, QCameraKeyPathEditorImpl, STLightList, STQGLViewerBoundingBox, STDisplayList, STQGLExampleWiredSphere, STQGLExampleSolidSphere, STQGLExampleInitNode, and STQGLExampleLightNode. |