Man Page for vtkWin32OpenGLRenderWindow
Table of Contents
NAME
vtkWin32OpenGLRenderWindow - OpenGL rendering window
SYNOPSIS
#include "/opt/vtk-c++/graphics/vtkWin32OpenGLRenderWindow.h"
class VTK_EXPORT vtkWin32OpenGLRenderWindow : public vtkRenderWindow
HINSTANCE ApplicationInstance;
HPALETTE Palette;
- HGLRC
- ContextId;
HDC DeviceContext; hsr
BOOL MFChandledWindow; hsr
- HWND
- WindowId;
- HWND
- ParentId;
- HWND
- NextWindowId;
- int
- OwnWindow;
- int
- ScreenSize[2];
- int
- MultiSamples;
vtkWin32OpenGLRenderWindow();
~vtkWin32OpenGLRenderWindow();
static vtkWin32OpenGLRenderWindow *New() {return new vtkWin32OpenGLRenderWindow;};
const char *GetClassName() {return "vtkWin32OpenGLRenderWindow";};
void PrintSelf(ostream& os, vtkIndent indent);
void Start(void);
void Frame(void);
void WindowConfigure(void);
void WindowInitialize(void);
void Initialize(void);
virtual void SetFullScreen(int);
void WindowRemap(void);
void PrefFullScreen(void);
void SetSize(int,int);
int *GetSize();
void SetPosition(int,int);
int *GetScreenSize();
int *GetPosition();
void SetWindowInfo(char *);
- HWND
- GetWindowId();
- void
- SetWindowId(void *foo) {this->SetWindowId((HWND)foo);};
- void
- SetWindowId(HWND);
- void
- SetParentId(void *foo) {this->SetParentId((HWND)foo);};
- void
- SetParentId(HWND);
void SetContextId(HGLRC); hsr
void SetDeviceContext(HDC); hsr
- void
- SetNextWindowId(HWND);
void SetDisplayId(void *) {};
void SetMultiSamples(int);
int GetMultiSamples();
virtual void StereoUpdate();
virtual unsigned char *GetPixelData(int x,int y,int x2,int y2,int front);
virtual void SetPixelData(int x,int y,int x2,int y2,unsigned char *,int front);
virtual float *GetRGBAPixelData(int x,int y,int x2,int y2,int front);
virtual void SetRGBAPixelData(int x,int y,int x2,int y2,float *,int front);
virtual float *GetZbufferData( int x1, int y1, int x2, int y2 );
virtual void SetZbufferData( int x1, int y1, int x2, int y2, float *buffer );
void MakeCurrent();
virtual int GetEventPending();
DESCRIPTION
vtkWin32OpenGLRenderWindow is a concrete implementation of the abstract class vtkRenderWindow. vtkWin32OpenGLRenderer interfaces to the standard OpenGL graphics library in the Windows/NT environment..
SUMMARY
virtual unsigned char *GetPixelData(int x,int y,int x2,int y2,int front); Set/Get the pixel data of an image, transmitted as RGBRGB...
virtual float *GetRGBAPixelData(int x,int y,int x2,int y2,int front);
Set/Get the pixel data of an image, transmitted as RGBARGBA...
virtual float *GetZbufferData( int x1, int y1, int x2, int y2 );
Set/Get the zbuffer data from an image
void Start(void)
Begin the rendering process.
void Frame(void)
End the rendering process and display the image.
void StereoUpdate(void)
Update system if needed due to stereo rendering.
void WindowConfigure()
Specify various window parameters.
void WindowInitialize (void)
Initialize the window for rendering.
void Initialize (void)
Initialize the rendering window.
int *GetSize(void)
Get the current size of the window.
int *GetPosition(void)
Get the position in screen coordinates of the window.
void SetFullScreen(int arg)
Change the window to fill the entire screen.
void PrefFullScreen()
Set the preferred window size to full screen.
void WindowRemap()
Remap the window.
HWND GetWindowId()
Get the window id.
void SetWindowId(HWND arg)
Set the window id to a pre-existing window.
void SetWindowInfo(char *info)
Set this RenderWindow's X window id to a pre-existing window.
void SetParentId(HWND arg)
Set the window id to a pre-existing window.
void SetNextWindowId(HWND arg)
Set the window id of the new window once a WindowRemap is done.
Table of Contents