![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXGLSphere.h>

Public Member Functions | |
| FXGLSphere (FXfloat x, FXfloat y, FXfloat z, FXfloat r=1.0f) | |
| FXGLSphere (FXfloat x, FXfloat y, FXfloat z, FXfloat r, const FXMaterial &mtl) | |
| FXGLSphere (const FXGLSphere &orig) | |
| virtual FXGLObject * | copy () |
| void | setRadius (FXfloat r) |
| FXfloat | getRadius () const |
| void | setSlices (FXint s) |
| FXint | getSlices () const |
| void | setStacks (FXint s) |
| FXint | getStacks () const |
| virtual void | save (FXStream &store) const |
| virtual void | load (FXStream &store) |
| virtual | ~FXGLSphere () |
Public Attributes | |
| FXfloat | radius |
| FXint | slices |
| FXint | stacks |
Construct with specified origin and radius.
| FX::FXGLSphere::FXGLSphere | ( | FXfloat | x, | |
| FXfloat | y, | |||
| FXfloat | z, | |||
| FXfloat | r, | |||
| const FXMaterial & | mtl | |||
| ) |
Construct with specified origin, radius and material.
| FX::FXGLSphere::FXGLSphere | ( | const FXGLSphere & | orig | ) |
Copy constructor.
| virtual FX::FXGLSphere::~FXGLSphere | ( | ) | [virtual] |
Destroy.
| virtual FXGLObject* FX::FXGLSphere::copy | ( | ) | [virtual] |
| void FX::FXGLSphere::setRadius | ( | FXfloat | r | ) | [inline] |
Change radius.
| FXfloat FX::FXGLSphere::getRadius | ( | ) | const [inline] |
| void FX::FXGLSphere::setSlices | ( | FXint | s | ) | [inline] |
Change slices.
| FXint FX::FXGLSphere::getSlices | ( | ) | const [inline] |
| void FX::FXGLSphere::setStacks | ( | FXint | s | ) | [inline] |
Change stacks.
| FXint FX::FXGLSphere::getStacks | ( | ) | const [inline] |
| virtual void FX::FXGLSphere::save | ( | FXStream & | store | ) | const [virtual] |
| virtual void FX::FXGLSphere::load | ( | FXStream & | store | ) | [virtual] |
|
|