FEMSuite
Public Member Functions | List of all members
BasicGLPane Class Reference
Inheritance diagram for BasicGLPane:
Inheritance graph
[legend]
Collaboration diagram for BasicGLPane:
Collaboration graph
[legend]

Public Member Functions

 BasicGLPane (wxFrame *parent, int *args)
 
wxGLContext * GetContext () const
 
void Resized (wxSizeEvent &evt)
 
int GetWidth ()
 
int GetHeight ()
 
virtual void Render (wxPaintEvent &evt)
 
void Prepare3DViewport (int topleft_x, int topleft_y, int bottomrigth_x, int bottomrigth_y)
 
void Prepare2DViewport (int topleft_x, int topleft_y, int bottomrigth_x, int bottomrigth_y)
 
virtual void MouseMoved (wxMouseEvent &event)
 
virtual void MouseDown (wxMouseEvent &event)
 
virtual void MouseWheelMoved (wxMouseEvent &event)
 
virtual void MouseReleased (wxMouseEvent &event)
 
virtual void RightClick (wxMouseEvent &event)
 
virtual void MouseLeftWindow (wxMouseEvent &event)
 
virtual void KeyPressed (wxKeyEvent &event)
 
virtual void KeyReleased (wxKeyEvent &event)
 
 wxDECLARE_EVENT_TABLE ()
 

Member Function Documentation

void BasicGLPane::Prepare2DViewport ( int  topleft_x,
int  topleft_y,
int  bottomrigth_x,
int  bottomrigth_y 
)

Inits the OpenGL viewport for drawing in 2D.

void BasicGLPane::Prepare3DViewport ( int  topleft_x,
int  topleft_y,
int  bottomrigth_x,
int  bottomrigth_y 
)

Inits the OpenGL viewport for drawing in 3D.


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