FXGLObject

class FXGLObject

Basic OpenGL object

Inheritance:


Public Methods

[more] FXGLObject()
Constructors
[more] FXGLObject(const FXGLObject& orig)
Copy constructor
[more]virtual void bounds(FXRange& box)
Called by the viewer to get bounds for this object
[more]virtual void draw(FXGLViewer* viewer)
Draw this object in a viewer
[more]virtual void hit(FXGLViewer* viewer)
Draw this object for hit-testing purposes
[more]virtual FXGLObject* copy()
Copy this object
[more]virtual FXGLObject* identify(FXuint* path)
Identify sub-object given path
[more]virtual FXbool canDrag() const
Return true if this object can be dragged around
[more]virtual FXbool canDelete() const
Return true if this object can be deleted from the scene
[more]virtual FXbool drag(FXGLViewer* viewer, FXint fx, FXint fy, FXint tx, FXint ty)
Drag this object from one position to another
[more]virtual ~FXGLObject()
Destructor


Inherited from FXObject:

Public Methods

oconst FXchar* getClassName() const
oFXbool isMemberOf(const FXMetaClass* metaclass) const
ovirtual void save(FXStream& store) const
ovirtual void load(FXStream& store)


Documentation

Basic OpenGL object
o FXGLObject()
Constructors

o FXGLObject(const FXGLObject& orig)
Copy constructor

ovirtual void bounds(FXRange& box)
Called by the viewer to get bounds for this object

ovirtual void draw(FXGLViewer* viewer)
Draw this object in a viewer

ovirtual void hit(FXGLViewer* viewer)
Draw this object for hit-testing purposes

ovirtual FXGLObject* copy()
Copy this object

ovirtual FXGLObject* identify(FXuint* path)
Identify sub-object given path

ovirtual FXbool canDrag() const
Return true if this object can be dragged around

ovirtual FXbool canDelete() const
Return true if this object can be deleted from the scene

ovirtual FXbool drag(FXGLViewer* viewer, FXint fx, FXint fy, FXint tx, FXint ty)
Drag this object from one position to another

ovirtual ~FXGLObject()
Destructor


Direct child classes:
FXGLShape
FXGLPoint
FXGLLine
FXGLGroup

Alphabetic index HTML hierarchy of classes or Java



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