![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
OpenGL Cube Object. More...
#include <FXGLCube.h>
Public Member Functions | |
| FXGLCube (FXfloat x, FXfloat y, FXfloat z, FXfloat w=1.0f, FXfloat h=1.0f, FXfloat d=1.0f) | |
| Construct with specified origin, width, height and depth. | |
| FXGLCube (FXfloat x, FXfloat y, FXfloat z, FXfloat w, FXfloat h, FXfloat d, const FXMaterial &mtl) | |
| Construct with specified origin, width, height, depth and material. | |
| FXGLCube (const FXGLCube &orig) | |
| Copy constructor. | |
| virtual FXGLObject * | copy () |
| Copy this object. | |
| virtual void | setWidth (FXfloat w) |
| Change width. | |
| FXfloat | getWidth () const |
| virtual void | setHeight (FXfloat h) |
| Change height. | |
| FXfloat | getHeight () const |
| virtual void | setDepth (FXfloat d) |
| Change depth. | |
| FXfloat | getDepth () const |
| virtual void | save (FXStream &store) const |
| Save to a stream. | |
| virtual void | load (FXStream &store) |
| Load from a stream. | |
| virtual | ~FXGLCube () |
| Destroy. | |
Public Attributes | |
| FXfloat | width |
| FXfloat | height |
| FXfloat | depth |
Protected Member Functions | |
| virtual void | drawshape (FXGLViewer *viewer) |
OpenGL Cube Object.
|
|