Basic OpenGL object
Inheritance:
Public Methods
-
FXGLObject()
- Constructors
-
FXGLObject(const FXGLObject& orig)
- Copy constructor
-
virtual void bounds(FXRange& 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 FXGLObject* copy()
- Copy this object
-
virtual FXGLObject* identify(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 Methods
-
const FXchar* getClassName() const
-
FXbool isMemberOf(const FXMetaClass* metaclass) const
-
virtual void save(FXStream& store) const
-
virtual void load(FXStream& store)
Documentation
Basic OpenGL object
FXGLObject()
- Constructors
FXGLObject(const FXGLObject& orig)
- Copy constructor
virtual void bounds(FXRange& 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 FXGLObject* copy()
- Copy this object
virtual FXGLObject* identify(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
- Direct child classes:
- FXGLShape
FXGLPoint
FXGLLine
FXGLGroup
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.