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

FX::FXGLCone Class Reference

OpenGL Cone Object. More...

#include <FXGLCone.h>

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

List of all members.

Public Member Functions

 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.
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.
virtual ~FXGLCone ()
 Destroy.

Public Attributes

FXfloat height
FXfloat radius

Protected Member Functions

virtual void drawshape (FXGLViewer *viewer)

Detailed Description

OpenGL Cone Object.


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

Copyright © 1997-2011 Jeroen van der Zijp