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

FX::FXGLCylinder Class Reference

OpenGL Cylinder Object. More...

#include <FXGLCylinder.h>

Inheritance diagram for FX::FXGLCylinder:
FX::FXGLShape FX::FXGLObject FX::FXObject

List of all members.

Public Member Functions

 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.
virtual void setRadius (FXfloat r)
 Change radius.
FXfloat getRadius () const
virtual 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.

Public Attributes

FXfloat height
FXfloat radius

Protected Member Functions

virtual void drawshape (FXGLViewer *viewer)

Detailed Description

OpenGL Cylinder Object.


The documentation for this class was generated from the following file:

Copyright © 1997-2011 Jeroen van der Zijp