OpenGL Cube Object
Inheritance:
Public Methods
-
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
-
void setHeight(FXfloat h)
- Change height
-
void setDepth(FXfloat d)
- Change depth
-
virtual void save(FXStream& store) const
- Save to a stream
-
virtual void load(FXStream& store)
- Load from a stream
-
virtual ~FXGLCube()
- Destroy
Public Methods
-
virtual void bounds(FXRange& box)
-
virtual void draw(FXGLViewer* viewer)
-
virtual void hit(FXGLViewer* viewer)
-
virtual FXbool canDrag() const
-
virtual FXbool canDelete() const
-
virtual FXbool drag(FXGLViewer* viewer, FXint fx, FXint fy, FXint tx, FXint ty)
-
void setTipText(const FXString& text)
-
FXString getTipText() const
-
void setMaterial(FXint side, const FXMaterial &mtl)
-
void getMaterial(FXint side, FXMaterial &mtl) const
Public Methods
-
virtual FXGLObject* identify(FXuint* path)
Public Methods
-
const FXchar* getClassName() const
-
FXbool isMemberOf(const FXMetaClass* metaclass) const
Documentation
OpenGL Cube Object
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
void setHeight(FXfloat h)
- Change height
void setDepth(FXfloat d)
- Change depth
virtual void save(FXStream& store) const
- Save to a stream
virtual void load(FXStream& store)
- Load from a stream
virtual ~FXGLCube()
- Destroy
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.