6 #include <osg/GraphicsContext>
7 #include <osgViewer/GraphicsWindow>
8 #include <vlutil/vlPerformanceStats.h>
78 void oglInitialize(
bool doubleBuffer,
bool stereo,
unsigned int colorBits,
79 unsigned int depthBits,
unsigned int stencilBits,
bool vsync);
100 afx_msg
void OnSize(UINT nType,
int cx,
int cy);
101 afx_msg
void OnDraw(CDC *pDC);
102 afx_msg
int OnCreate(LPCREATESTRUCT lpCreateStruct);
103 afx_msg
void OnMouseMove(UINT nFlags, CPoint point);
105 afx_msg
void OnLButtonUp(UINT nFlags, CPoint point);
107 afx_msg
void OnRButtonUp(UINT nFlags, CPoint point);
109 afx_msg
void OnMButtonUp(UINT nFlags, CPoint point);
111 DECLARE_MESSAGE_MAP()
142 virtual bool valid()
const;
143 virtual bool realizeImplementation();
145 virtual void closeImplementation();
146 virtual void grabFocus();
147 virtual void grabFocusIfPointerInWindow();
148 virtual bool makeCurrentImplementation();
149 virtual bool releaseContextImplementation();
150 virtual void swapBuffersImplementation();
151 virtual void requestWarpPointer(
float x,
float y );
152 virtual void useCursor(
bool onOff );