ui::GLCanvas Class Reference

Inheritance diagram for ui::GLCanvas:

Inheritance graph
[legend]
Collaboration diagram for ui::GLCanvas:

Collaboration graph
[legend]
List of all members.

Detailed Description

Panel with a custom OpenGL context. This class should be inherited to do custom OpenGL Rendering.


Public Member Functions

 GLCanvas (int width, int height)
int getViewportHeight () const
int getViewportWidth () const
void setViewportWidth (int width)
void setViewportHeight (int height)
void paintSelectionComponent (Graphics &g)
virtual void renderSelection ()
virtual void render ()=0


Member Function Documentation

void ui::GLCanvas::paintSelectionComponent Graphics g  )  [virtual]
 

This method paints a unique colored rectangle to the screen for use by the picking engine. You can override this method to do custom selection rendering, for example for pictures.

Parameters:
g Graphics reference used for painting.

Reimplemented from ui::Component.


Generated on Mon Jun 20 19:41:50 2005 for UI by doxygen 1.3.1 using KingsTools