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

FX::FXGLObject Class Reference

Basic OpenGL object. More...

#include <FXGLObject.h>

Inheritance diagram for FX::FXGLObject:
FX::FXObject FX::FXGLGroup

Public Types

enum  { ID_LAST =10000 }
 

Public Member Functions

 FXGLObject ()
 Constructors.
 
 FXGLObject (const FXGLObject &orig)
 Copy constructor.
 
virtual void bounds (FXRangef &box)
 Called by the viewer to get bounds for this object.
 
virtual void draw (FXGLViewer *viewer)
 Draw this object in a viewer.
 
virtual void hit (FXGLViewer *viewer)
 Draw this object for hit-testing purposes.
 
virtual FXGLObjectcopy ()
 Copy this object.
 
virtual FXGLObjectidentify (FXuint *path)
 Identify sub-object given path.
 
virtual FXbool canDrag () const
 Return true if this object can be dragged around.
 
virtual FXbool canDelete () const
 Return true if this object can be deleted from the scene.
 
virtual FXbool drag (FXGLViewer *viewer, FXint fx, FXint fy, FXint tx, FXint ty)
 Drag this object from one position to another.
 
virtual ~FXGLObject ()
 Destructor.
 
- Public Member Functions inherited from FX::FXObject
const FXchar * getClassName () const
 Get class name of some object.
 
FXbool isMemberOf (const FXMetaClass *metaclass) const
 Check if object is member of metaclass.
 
virtual long tryHandle (FXObject *sender, FXSelector sel, void *ptr)
 Try handle message safely, catching certain exceptions.
 
virtual long onDefault (FXObject *, FXSelector, void *)
 Called for unhandled messages.
 
virtual void save (FXStream &store) const
 Save object to stream.
 
virtual void load (FXStream &store)
 Load object from stream.
 
virtual ~FXObject ()
 Virtual destructor.
 

Detailed Description

Basic OpenGL object.


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

Copyright © 1997-2022 Jeroen van der Zijp