OpenGL Sphere Object
Inheritance:
Public Methods
-
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
-
void setRadius(FXfloat r)
- Change radius
-
void setSlices(FXint s)
- Change slices
-
void setStacks(FXint s)
- Change stacks
-
virtual void save(FXStream& store) const
- Save to a stream
-
virtual void load(FXStream& store)
- Load from a stream
-
virtual ~FXGLSphere()
- 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 Sphere Object
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
void setRadius(FXfloat r)
- Change radius
void setSlices(FXint s)
- Change slices
void setStacks(FXint s)
- Change stacks
virtual void save(FXStream& store) const
- Save to a stream
virtual void load(FXStream& store)
- Load from a stream
virtual ~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++.