#include <vuBasicUtility.h>
Inheritance diagram for vuBasicGLCanvas:
Protected Member Functions | |
virtual void | OnChar (wxKeyEvent &event) |
This handler is called on keypress. | |
Private Member Functions | |
vuBasicGLCanvas (vuBasicUtility *parent) | |
constructor, | |
virtual bool | glInit () |
initializes m_Parent, the BasicUtility associated with this class | |
virtual void | render () |
renders m_parant | |
virtual void | resize () |
resizes m_parent | |
virtual void | OnMouse (wxMouseEvent &ev) |
passes the mouse event to OnMouse | |
Private Attributes | |
vuBasicUtility * | m_Parent |
the utility that this is a wrapper for | |
Friends | |
class | vuBasicUtility |
This class has the same functionality as the vuGLCanvas. It's purpose is to redirect the gl methods to the vuBasicGLCanvas class.
Definition at line 263 of file vuBasicUtility.h.
|
constructor, passes parent to the constructors of vuGLCanvas and m_Parent Definition at line 19 of file vuBasicUtility.cpp. |
|
initializes m_Parent, the BasicUtility associated with this class
Reimplemented from vuGLCanvas. Definition at line 31 of file vuBasicUtility.cpp. References vuBasicUtility::glInit(), and m_Parent. |
Here is the call graph for this function:
|
This handler is called on keypress. it calls the handler of the parent window vuBasicUtility::OnChar() . We have to do this ourselves although due to the wxWindows specifications this should happen outomaticly if there would be no handler in this class. However... To customize the keyboard handler override OnChar in your Utility (which should be derived from vuBasicUtility). Definition at line 51 of file vuBasicUtility.cpp. References m_Parent, and vuBasicUtility::OnChar(). |
Here is the call graph for this function:
|
passes the mouse event to OnMouse
Definition at line 46 of file vuBasicUtility.cpp. References vuBasicUtility::glOnMouse(), and m_Parent. |
Here is the call graph for this function:
|
renders m_parant
Reimplemented from vuGLCanvas. Definition at line 36 of file vuBasicUtility.cpp. References vuBasicUtility::glRender(), and m_Parent. |
Here is the call graph for this function:
|
resizes m_parent
Reimplemented from vuGLCanvas. Definition at line 41 of file vuBasicUtility.cpp. References vuBasicUtility::glResize(), and m_Parent. |
Here is the call graph for this function:
|
Definition at line 266 of file vuBasicUtility.h. |
|
the utility that this is a wrapper for
Definition at line 306 of file vuBasicUtility.h. Referenced by glInit(), OnChar(), OnMouse(), render(), and resize(). |