![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXGLCube.h>
Inheritance diagram for FXGLCube:
Public Methods | |
FXGLCube () | |
virtual void | drawshape (FXGLViewer *viewer) |
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. | |
void | setWidth (FXfloat w) |
Change width. | |
FXfloat | getWidth () const |
void | setHeight (FXfloat h) |
Change height. | |
FXfloat | getHeight () const |
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 |