24 #ifndef FXGLCYLINDER_H
25 #define FXGLCYLINDER_H
58 void setRadius(
FXfloat r){ radius=r; }
59 FXfloat getRadius()
const {
return radius; }
62 void setHeight(
FXfloat h){ height=h; }
63 FXfloat getHeight()
const {
return height; }
66 virtual void save(FXStream& store)
const;
69 virtual void load(FXStream& store);
71 virtual ~FXGLCylinder();
Definition: FXGLViewer.h:79
Basic OpenGL object.
Definition: FXGLObject.h:39
OpenGL viewer widget.
Definition: FXGLViewer.h:100
#define FXAPI
Definition: fxdefs.h:122
OpenGL Cylinder Object.
Definition: FXGLCylinder.h:35
FXfloat height
Definition: FXGLCylinder.h:38
OpenGL Shape Object.
Definition: FXGLShape.h:64
FXfloat radius
Definition: FXGLCylinder.h:39
float FXfloat
Definition: fxdefs.h:398
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92