29 #ifndef __vtkWin32OpenGLRenderWindow_h
30 #define __vtkWin32OpenGLRenderWindow_h
44 virtual void Start(
void);
50 virtual void WindowInitialize(
void);
56 virtual void Initialize(
void);
71 virtual void PrefFullScreen(
void);
117 virtual HWND GetWindowId();
130 void SetContextId(HGLRC);
131 void SetDeviceContext(HDC);
172 void SetupMemoryRendering(
int x,
int y, HDC prn);
173 void SetupMemoryRendering(HBITMAP hbmp);
174 void ResumeScreenRendering(
void);
181 virtual void SetupPalette(HDC hDC);
182 virtual void SetupPixelFormat(HDC hDC, DWORD dwFlags,
int debug,
183 int bpp=16,
int zbpp=16);
228 int ScreenWindowSize[2];
237 virtual LRESULT MessageProc(HWND hWnd, UINT message,
238 WPARAM wParam, LPARAM lParam);
240 static LRESULT APIENTRY WndProc(HWND hWnd, UINT message,
241 WPARAM wParam, LPARAM lParam);
248 void ResizeWhileOffscreen(
int xsize,
int ysize);
251 void InitializeApplication();
252 void CleanUpOffScreenRendering(
void);
253 void CreateOffScreenDC(
int xsize,
int ysize, HDC aHdc);
254 void CreateOffScreenDC(HBITMAP hbmp, HDC aHdc);
255 void CreateOffScreenWindow(
int width,
int height);
256 void SaveScreenRendering();
257 void CleanUpRenderers();