![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#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) | |
FXGLCube (FXfloat x, FXfloat y, FXfloat z, FXfloat w, FXfloat h, FXfloat d, const FXMaterial &mtl) | |
FXGLCube (const FXGLCube &orig) | |
virtual FXGLObject * | copy () |
virtual void | setWidth (FXfloat w) |
FXfloat | getWidth () const |
virtual void | setHeight (FXfloat h) |
FXfloat | getHeight () const |
virtual void | setDepth (FXfloat d) |
FXfloat | getDepth () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXGLCube () |
Public Attributes | |
FXfloat | width |
FXfloat | height |
FXfloat | depth |
FX::FXGLCube::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.
FX::FXGLCube::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.
FX::FXGLCube::FXGLCube | ( | const FXGLCube & | orig | ) |
Copy constructor.
virtual FX::FXGLCube::~FXGLCube | ( | ) | [virtual] |
Destroy.
virtual FXGLObject* FX::FXGLCube::copy | ( | ) | [virtual] |
virtual void FX::FXGLCube::setWidth | ( | FXfloat | w | ) | [virtual] |
Change width.
FXfloat FX::FXGLCube::getWidth | ( | ) | const [inline] |
virtual void FX::FXGLCube::setHeight | ( | FXfloat | h | ) | [virtual] |
Change height.
FXfloat FX::FXGLCube::getHeight | ( | ) | const [inline] |
virtual void FX::FXGLCube::setDepth | ( | FXfloat | d | ) | [virtual] |
Change depth.
FXfloat FX::FXGLCube::getDepth | ( | ) | const [inline] |
virtual void FX::FXGLCube::save | ( | FXStream & | store | ) | const [virtual] |
virtual void FX::FXGLCube::load | ( | FXStream & | store | ) | [virtual] |
![]() |