FXGLCone

class FXGLCone

OpenGL Cone Object

Inheritance:


Public Methods

[more] FXGLCone(FXfloat x, FXfloat y, FXfloat z, FXfloat h=1.0f, FXfloat r=1.0f)
Construct with specified origin, height and radius
[more] FXGLCone(FXfloat x, FXfloat y, FXfloat z, FXfloat h, FXfloat r, const FXMaterial& mtl)
Construct with specified origin, height, radius and material
[more] FXGLCone(const FXGLCone& orig)
Copy constructor
[more]virtual FXGLObject* copy()
Copy this object
[more]void setRadius(FXfloat r)
Change radius
[more]void setHeight(FXfloat h)
Change height
[more]virtual void save(FXStream& store) const
Save to a stream
[more]virtual void load(FXStream& store)
Load from a stream
[more]virtual ~FXGLCone()
Destroy


Inherited from FXGLShape:

Public Methods

ovirtual void bounds(FXRange& box)
ovirtual void draw(FXGLViewer* viewer)
ovirtual void hit(FXGLViewer* viewer)
ovirtual FXbool canDrag() const
ovirtual FXbool canDelete() const
ovirtual FXbool drag(FXGLViewer* viewer, FXint fx, FXint fy, FXint tx, FXint ty)
ovoid setTipText(const FXString& text)
oFXString getTipText() const
ovoid setMaterial(FXint side, const FXMaterial &mtl)
ovoid getMaterial(FXint side, FXMaterial &mtl) const


Inherited from FXGLObject:

Public Methods

ovirtual FXGLObject* identify(FXuint* path)


Inherited from FXObject:

Public Methods

oconst FXchar* getClassName() const
oFXbool isMemberOf(const FXMetaClass* metaclass) const


Documentation

OpenGL Cone Object
o FXGLCone(FXfloat x, FXfloat y, FXfloat z, FXfloat h=1.0f, FXfloat r=1.0f)
Construct with specified origin, height and radius

o FXGLCone(FXfloat x, FXfloat y, FXfloat z, FXfloat h, FXfloat r, const FXMaterial& mtl)
Construct with specified origin, height, radius and material

o FXGLCone(const FXGLCone& orig)
Copy constructor

ovirtual FXGLObject* copy()
Copy this object

ovoid setRadius(FXfloat r)
Change radius

ovoid setHeight(FXfloat h)
Change height

ovirtual void save(FXStream& store) const
Save to a stream

ovirtual void load(FXStream& store)
Load from a stream

ovirtual ~FXGLCone()
Destroy


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.