FXGLSphere

class FXGLSphere

OpenGL Sphere Object

Inheritance:


Public Methods

[more] FXGLSphere(FXfloat x, FXfloat y, FXfloat z, FXfloat r=1.0f)
Construct with specified origin and radius
[more] FXGLSphere(FXfloat x, FXfloat y, FXfloat z, FXfloat r, const FXMaterial& mtl)
Construct with specified origin, radius and material
[more] FXGLSphere(const FXGLSphere& orig)
Copy constructor
[more]virtual FXGLObject* copy()
Copy this object
[more]void setRadius(FXfloat r)
Change radius
[more]void setSlices(FXint s)
Change slices
[more]void setStacks(FXint s)
Change stacks
[more]virtual void save(FXStream& store) const
Save to a stream
[more]virtual void load(FXStream& store)
Load from a stream
[more]virtual ~FXGLSphere()
Destroy


Inherited from FXGLShape:

Public Methods

ovirtual void bounds(FXRange& box)
ovirtual void draw(FXGLViewer* viewer)
ovirtual void hit(FXGLViewer* viewer)
ovirtual FXbool canDrag() const
ovirtual FXbool canDelete() const
ovirtual FXbool drag(FXGLViewer* viewer, FXint fx, FXint fy, FXint tx, FXint ty)
ovoid setTipText(const FXString& text)
oFXString getTipText() const
ovoid setMaterial(FXint side, const FXMaterial &mtl)
ovoid getMaterial(FXint side, FXMaterial &mtl) const


Inherited from FXGLObject:

Public Methods

ovirtual FXGLObject* identify(FXuint* path)


Inherited from FXObject:

Public Methods

oconst FXchar* getClassName() const
oFXbool isMemberOf(const FXMetaClass* metaclass) const


Documentation

OpenGL Sphere Object
o FXGLSphere(FXfloat x, FXfloat y, FXfloat z, FXfloat r=1.0f)
Construct with specified origin and radius

o FXGLSphere(FXfloat x, FXfloat y, FXfloat z, FXfloat r, const FXMaterial& mtl)
Construct with specified origin, radius and material

o FXGLSphere(const FXGLSphere& orig)
Copy constructor

ovirtual FXGLObject* copy()
Copy this object

ovoid setRadius(FXfloat r)
Change radius

ovoid setSlices(FXint s)
Change slices

ovoid setStacks(FXint s)
Change stacks

ovirtual void save(FXStream& store) const
Save to a stream

ovirtual void load(FXStream& store)
Load from a stream

ovirtual ~FXGLSphere()
Destroy


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.