32 #ifndef __vtkWin32OpenGLRenderWindow_h
33 #define __vtkWin32OpenGLRenderWindow_h
47 virtual void Start(
void);
53 virtual void WindowInitialize(
void);
59 virtual void Initialize(
void);
74 virtual void PrefFullScreen(
void);
120 virtual HWND GetWindowId();
133 void SetContextId(HGLRC);
134 void SetDeviceContext(HDC);
175 void SetupMemoryRendering(
int x,
int y, HDC prn);
176 void SetupMemoryRendering(HBITMAP hbmp);
177 void ResumeScreenRendering(
void);
184 virtual void SetupPalette(HDC hDC);
185 virtual void SetupPixelFormat(HDC hDC, DWORD dwFlags,
int debug,
186 int bpp=16,
int zbpp=16);
231 int ScreenWindowSize[2];
240 virtual LRESULT MessageProc(HWND hWnd, UINT message,
241 WPARAM wParam, LPARAM lParam);
243 static LRESULT APIENTRY WndProc(HWND hWnd, UINT message,
244 WPARAM wParam, LPARAM lParam);
251 void ResizeWhileOffscreen(
int xsize,
int ysize);
254 void InitializeApplication();
255 void CleanUpOffScreenRendering(
void);
256 void CreateOffScreenDC(
int xsize,
int ysize, HDC aHdc);
257 void CreateOffScreenDC(HBITMAP hbmp, HDC aHdc);
258 void CreateOffScreenWindow(
int width,
int height);
259 void SaveScreenRendering();
260 void CleanUpRenderers();