#include <GLDrawable.h>
Inheritance diagram for GLDrawable:
Public Member Functions | |
GLDrawable () | |
virtual | ~GLDrawable () |
virtual void | draw ()=0 |
GLDrawable::GLDrawable | ( | ) |
Default constructor.
GLDrawable::~GLDrawable | ( | ) | [virtual] |
Virtual destructor.
virtual void GLDrawable::draw | ( | ) | [pure virtual] |
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.
Implemented in QCameraInterpolationTool, QCameraKeyPathEditorImpl, STLightList, STQGLViewerBoundingBox, STDisplayList, STQGLExampleWiredSphere, STQGLExampleSolidSphere, STQGLExampleInitNode, and STQGLExampleLightNode.