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

FXGLCone Class Reference

OpenGL Cone Object.

#include <FXGLCone.h>

Inheritance diagram for FXGLCone:

FXGLShape FXGLObject FXObject List of all members.

Public Methods

 FXGLCone ()
virtual void drawshape (FXGLViewer *viewer)
 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 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 ~FXGLCone ()
 Destroy.


Public Attributes

FXfloat height
FXfloat radius