Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXGLShape.h>
Inheritance diagram for FX::FXGLShape:
Public Member Functions | |
FXGLShape (FXfloat x, FXfloat y, FXfloat z, FXuint opts) | |
FXGLShape (FXfloat x, FXfloat y, FXfloat z, FXuint opts, const FXMaterial &front, const FXMaterial &back) | |
FXGLShape (const FXGLShape &orig) | |
virtual void | bounds (FXRangef &box) |
virtual void | draw (FXGLViewer *viewer) |
virtual void | hit (FXGLViewer *viewer) |
virtual FXGLObject * | copy () |
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 |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
See also:
|
Construct with specified origin and options.
|
|
Construct with specified origin, options and front and back materials.
|
|
Copy constructor.
|
|
Called by the viewer to get bounds for this object.
Reimplemented from FX::FXGLObject. |
|
Draw this object in a viewer.
Reimplemented from FX::FXGLObject. |
|
Draw this object for hit-testing purposes.
Reimplemented from FX::FXGLObject. |
|
Copy this object.
Reimplemented from FX::FXGLObject. Reimplemented in FX::FXGLCone, FX::FXGLCube, FX::FXGLCylinder, FX::FXGLSphere, and FX::FXGLTriangleMesh. |
|
Return true if this object can be dragged around.
Reimplemented from FX::FXGLObject. |
|
Return true if this object can be deleted from the scene.
Reimplemented from FX::FXGLObject. |
|
Drag this object from one position to another.
Reimplemented from FX::FXGLObject. |
|
Set the tool tip message for this object.
|
|
Get the tool tip message for this object.
|
|
Set the material for specified side (where side = 0 or 1).
|
|
Get the material for specified side (where side = 0 or 1).
|
|
Save shape to a stream.
Reimplemented from FX::FXObject. Reimplemented in FX::FXGLCone, FX::FXGLCube, FX::FXGLCylinder, FX::FXGLSphere, and FX::FXGLTriangleMesh. |
|
Load shape from a stream.
Reimplemented from FX::FXObject. Reimplemented in FX::FXGLCone, FX::FXGLCube, FX::FXGLCylinder, FX::FXGLSphere, and FX::FXGLTriangleMesh. |
Copyright © 1997-2004 Jeroen van der Zijp |