Documentation for vtkWin32OpenGLRenderWindow

vtkWin32OpenGLRenderWindow - OpenGL rendering window

Super Class: vtkRenderWindow

Description:

vtkWin32OpenGLRenderWindow is a concrete implementation of the abstract class vtkRenderWindow. vtkWin32OpenGLRenderer interfaces to the standard OpenGL graphics library in the Windows/NT environment..

 

Methods:

void vtkWin32OpenGLRenderWindow ()
void vtkWin32OpenGLRenderWindow ()
static vtkWin32OpenGLRenderWindow *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void Start ()
void Frame ()
void WindowConfigure ()
void WindowInitialize ()
void Initialize ()
void SetFullScreen (int )
void WindowRemap ()
void PrefFullScreen ()
void SetSize (int ,int )
int *GetSize ()
void SetPosition (int ,int )
int *GetScreenSize ()
int *GetPosition ()
void SetWindowName (char *)
void SetWindowInfo (char *)
void SetMultiSamples (int )
int GetMultiSamples ()
void StereoUpdate ()
unsigned char *GetPixelData (int ,int ,int ,int ,int )
void SetPixelData (int ,int ,int ,int ,unsigned char * ,int )
float *GetRGBAPixelData (int ,int ,int ,int ,int )
void SetRGBAPixelData (int ,int ,int ,int ,float * ,int ,int )
void ReleaseRGBAPixelData (float *)
float *GetZbufferData (int ,int ,int ,int )
void SetZbufferData (int ,int ,int ,int ,float *)
void MakeCurrent ()
int GetEventPending ()
void SetupMemoryRendering (int ,int ,unknown )
void ResumeScreenRendering ()
unknown GetMemoryDC ()
void OpenGLInit ()
void SetupPalette (unknown )
void SetupPixelFormat (unknown ,unknown ,int ,int ,int )
void Clean ()

 

Detailed Method Descriptions:

Begin the rendering process.

void Start ()

End the rendering process and display the image.

void Frame ()

Specify various window parameters.

void WindowConfigure ()

Initialize the window for rendering.

void WindowInitialize ()

Initialize the rendering window.

void Initialize ()

Change the window to fill the entire screen.

void SetFullScreen (int )

Remap the window.

void WindowRemap ()

Set the preferred window size to full screen.

void PrefFullScreen ()

Set the size of the window.

void SetSize (int ,int )

Get the current size of the window.

int *GetSize ()

Set the position of the window.

void SetPosition (int ,int )

Return the scrren size.

int *GetScreenSize ()

Get the position in screen coordinates of the window.

int *GetPosition ()

Set the name of the window. This appears at the top of the window normally.

void SetWindowName (char *)

Set this RenderWindow's window id to a pre-existing window.

void SetWindowInfo (char *)

Update system if needed due to stereo rendering.

void StereoUpdate ()

Set/Get the pixel data of an image, transmitted as RGBRGB...

unsigned char *GetPixelData (int ,int ,int ,int ,int )
void SetPixelData (int ,int ,int ,int ,unsigned char * ,int )

Set/Get the pixel data of an image, transmitted as RGBARGBA...

float *GetRGBAPixelData (int ,int ,int ,int ,int )
void SetRGBAPixelData (int ,int ,int ,int ,float * ,int ,int )
void ReleaseRGBAPixelData (float *)

Set/Get the zbuffer data from an image

float *GetZbufferData (int ,int ,int ,int )
void SetZbufferData (int ,int ,int ,int ,float *)

Make this windows OpenGL context the current context.

void MakeCurrent ()

Check to see if an event is pending for this window. This is a useful check to abort a long render.

int GetEventPending ()

These methods can be used by MFC applications to support print preview and printing, or more general rendering into memory.

void SetupMemoryRendering (int ,int ,unknown )
void ResumeScreenRendering ()
unknown GetMemoryDC ()

Initialize OpenGL for this window.

void OpenGLInit ()
void SetupPalette (unknown )
void SetupPixelFormat (unknown ,unknown ,int ,int ,int )

Clean up device contexts, rendering contexts, etc.

void Clean ()