Generic CAM 0.1-PreAlpha

OpenGLCanvas Class Reference

Extending wxGLCanvas with some useful features. More...

#include <OpenGLCanvas.h>

Inheritance diagram for OpenGLCanvas:
Collaboration diagram for OpenGLCanvas:

List of all members.

Public Member Functions

 OpenGLCanvas (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=_T("OpenGLCanvas"))
virtual ~OpenGLCanvas ()
void SetController (Control3D &control)
virtual void Render ()
virtual void InitGL ()
virtual void SetupLighting ()

Public Attributes

bool stereoMode

Protected Member Functions

void OnPaint (wxPaintEvent &WXUNUSED(event))
void OnSize (wxSizeEvent &event)
void OnEraseBackground (wxEraseEvent &WXUNUSED(event))
void OnEnterWindow (wxMouseEvent &WXUNUSED(event))
void OnMouseEvent (wxMouseEvent &event)
void OnTimer (wxTimerEvent &event)

Detailed Description

Extending wxGLCanvas with some useful features.


Constructor & Destructor Documentation

OpenGLCanvas::OpenGLCanvas ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = 0,
const wxString &  name = _T("OpenGLCanvas") 
)
OpenGLCanvas::~OpenGLCanvas ( ) [virtual]

Member Function Documentation

void OpenGLCanvas::InitGL ( ) [virtual]
void OpenGLCanvas::OnEnterWindow ( wxMouseEvent &  WXUNUSEDevent) [protected]
void OpenGLCanvas::OnEraseBackground ( wxEraseEvent &  WXUNUSEDevent) [protected]
void OpenGLCanvas::OnMouseEvent ( wxMouseEvent &  event) [protected]
void OpenGLCanvas::OnPaint ( wxPaintEvent &  WXUNUSEDevent) [protected]
void OpenGLCanvas::OnSize ( wxSizeEvent &  event) [protected]
void OpenGLCanvas::OnTimer ( wxTimerEvent &  event) [protected]
void OpenGLCanvas::Render ( ) [virtual]

Reimplemented in DataCanvas, MainCanvas, and ToolCanvas.

void OpenGLCanvas::SetController ( Control3D control)
void OpenGLCanvas::SetupLighting ( ) [virtual]

Member Data Documentation


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