Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FXGLCylinder Class Reference

OpenGL Cylinder Object.

#include <FXGLCylinder.h>

Inheritance diagram for FXGLCylinder:

FXGLShape FXGLObject FXObject List of all members.

Public Methods

 FXGLCylinder ()
virtual void drawshape (FXGLViewer *viewer)
 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 FXGLObjectcopy ()
 Copy this object.

void setRadius (FXfloat r)
 Change radius.

FXfloat getRadius () const
void setHeight (FXfloat h)
 Change height.

FXfloat getHeight () const
virtual void save (FXStream &store) const
 Save to a stream.

virtual void load (FXStream &store)
 Load from a stream.

virtual ~FXGLCylinder ()

Public Attributes

FXfloat height
FXfloat radius