![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
OpenGL Sphere Object. More...
#include <FXGLSphere.h>
Public Types | |
| enum | { ID_LAST = FXGLShape::ID_LAST } |
Public Member Functions | |
| FXGLSphere (FXfloat x, FXfloat y, FXfloat z, FXfloat r=1.0f) | |
| Construct with specified origin and radius. | |
| FXGLSphere (FXfloat x, FXfloat y, FXfloat z, FXfloat r, const FXMaterial &mtl) | |
| Construct with specified origin, radius and material. | |
| FXGLSphere (const FXGLSphere &orig) | |
| Copy constructor. | |
| virtual FXGLObject * | copy () |
| Copy this object. | |
| virtual void | setRadius (FXfloat r) |
| Change radius. | |
| FXfloat | getRadius () const |
| void | setSlices (FXint s) |
| Change slices. | |
| FXint | getSlices () const |
| void | setStacks (FXint s) |
| Change stacks. | |
| FXint | getStacks () const |
| virtual void | save (FXStream &store) const |
| Save to a stream. | |
| virtual void | load (FXStream &store) |
| Load from a stream. | |
| virtual | ~FXGLSphere () |
| Destroy. | |
Public Attributes | |
| FXfloat | radius |
| FXint | slices |
| FXint | stacks |
Protected Member Functions | |
| virtual void | drawshape (FXGLViewer *viewer) |
OpenGL Sphere Object.
|
|