OpenGL Cylinder Object
Inheritance:
Public Methods
-
FXGLCylinder(FXfloat x, FXfloat y, FXfloat z, FXfloat h=1.0f, FXfloat r=1.0f)
- Construct with specified origin, height and radius
-
FXGLCylinder(FXfloat x, FXfloat y, FXfloat z, FXfloat h, FXfloat r, const FXMaterial& mtl)
- Construct with specified origin, height, radius and material
-
FXGLCylinder(const FXGLCylinder& 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
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 Cylinder Object
FXGLCylinder(FXfloat x, FXfloat y, FXfloat z, FXfloat h=1.0f, FXfloat r=1.0f)
- Construct with specified origin, height and radius
FXGLCylinder(FXfloat x, FXfloat y, FXfloat z, FXfloat h, FXfloat r, const FXMaterial& mtl)
- Construct with specified origin, height, radius and material
FXGLCylinder(const FXGLCylinder& 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
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.