OpenGL Cone Object
Inheritance:
Public Methods
-
FXGLCone(FXfloat x, FXfloat y, FXfloat z, FXfloat h=1.0f, FXfloat r=1.0f)
- Construct with specified origin, height and radius
-
FXGLCone(FXfloat x, FXfloat y, FXfloat z, FXfloat h, FXfloat r, const FXMaterial& mtl)
- Construct with specified origin, height, radius and material
-
FXGLCone(const FXGLCone& orig)
- Copy constructor
-
virtual FXGLObject* copy()
- Copy this object
-
void setRadius(FXfloat r)
- Change radius
-
void setHeight(FXfloat h)
- Change height
-
virtual void save(FXStream& store) const
- Save to a stream
-
virtual void load(FXStream& store)
- Load from a stream
-
virtual ~FXGLCone()
- 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 Cone Object
FXGLCone(FXfloat x, FXfloat y, FXfloat z, FXfloat h=1.0f, FXfloat r=1.0f)
- Construct with specified origin, height and radius
FXGLCone(FXfloat x, FXfloat y, FXfloat z, FXfloat h, FXfloat r, const FXMaterial& mtl)
- Construct with specified origin, height, radius and material
FXGLCone(const FXGLCone& orig)
- Copy constructor
virtual FXGLObject* copy()
- Copy this object
void setRadius(FXfloat r)
- Change radius
void setHeight(FXfloat h)
- Change height
virtual void save(FXStream& store) const
- Save to a stream
virtual void load(FXStream& store)
- Load from a stream
virtual ~FXGLCone()
- Destroy
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.