#include <GOpenGLForm.h>
Inheritance diagram for GBE::GOpenGLForm:


Public Member Functions | |
| GOpenGLForm (const GCS::GVector3 &position=GCS::GVector3(0, 0, 0), const GCS::GVector3 &rotation=GCS::GVector3(0, 0, 0), double radius=1) | |
| virtual | ~GOpenGLForm () |
| virtual void | transform () const |
| virtual void | render () const |
| virtual double | getRadiusMax () const |
| virtual double | getRadiusMin () const |
Public Attributes | |
| double | Radius |
| float | RGBA [4] |
You can use it by just calling transform() and render() in a valid OpenGL context.
This class is intended as a base class for all forms that are OpenGL capable.
|
||||||||||||||||
|
Constructor with optional parameters.
|
|
|
Virtual destructor for clean subclassing.
|
|
|
Returns the Radius.
Implements GCS::GForm. |
|
|
Returns the Radius.
Implements GCS::GForm. |
|
|
Renders the form, by default a sphere. |
|
|
Transforms the current matrix according to position, rotation and radius. |
|
|
The radius of the form (by default a sphere).
|
|
|
The Red, Green, Blue and Alpha colour values of the form. |
1.3.6