#include <vtkWin32OpenGLImageWindow.h>
Inheritance diagram for vtkWin32OpenGLImageWindow:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkWin32OpenGLImageWindow * | GetOutput () |
virtual void | MakeDefaultWindow () |
void | SwapBuffers () |
void | Frame () |
void | Render () |
virtual void | SetSize (int, int) |
virtual int * | GetSize () |
virtual void | SetPosition (int, int) |
virtual int * | GetPosition () |
virtual void | SetWindowName (char *) |
virtual void * | GetGenericDisplayId () |
virtual void * | GetGenericWindowId () |
virtual void * | GetGenericParentId () |
virtual void * | GetGenericContext () |
virtual void | SetDisplayId (void *) |
virtual HWND | GetWindowId () |
void | SetWindowId (void *foo) |
virtual void | SetWindowId (HWND) |
virtual void | SetParentId (HWND) |
void | SetParentId (void *foo) |
void | SetContextId (HGLRC) |
void | SetDeviceContext (HDC) |
virtual void | SetNextWindowId (HWND) |
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, int blend=0) |
virtual void | ReleaseRGBAPixelData (float *data) |
void | MakeCurrent () |
void | SetupMemoryRendering (int x, int y, HDC prn) |
void | ResumeScreenRendering () |
HDC | GetMemoryDC () |
unsigned char * | GetMemoryData () |
virtual void | OpenGLInit () |
virtual void | SetupPalette (HDC hDC) |
virtual void | SetupPixelFormat (HDC hDC, DWORD dwFlags, int debug, int bpp=16, int zbpp=16) |
void | Clean () |
Static Public Methods | |
vtkWin32OpenGLImageWindow * | New () |
int | IsTypeOf (const char *type) |
vtkWin32OpenGLImageWindow * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkWin32OpenGLImageWindow () | |
~vtkWin32OpenGLImageWindow () | |
vtkWin32OpenGLImageWindow (const vtkWin32OpenGLImageWindow &) | |
void | operator= (const vtkWin32OpenGLImageWindow &) |
virtual LRESULT | MessageProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) |
Static Protected Methods | |
LRESULT APIENTRY | WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) |
Protected Attributes | |
HINSTANCE | ApplicationInstance |
HPALETTE | Palette |
HPALETTE | OldPalette |
HGLRC | ContextId |
HDC | DeviceContext |
HWND | WindowId |
HWND | ParentId |
HWND | NextWindowId |
int | OwnWindow |
int | ScreenSize [2] |
BITMAPINFO | MemoryDataHeader |
HBITMAP | MemoryBuffer |
unsigned char * | MemoryData |
HDC | MemoryHdc |
int | ScreenMapped |
int | ScreenWindowSize [2] |
HDC | ScreenDeviceContext |
int | ScreenDoubleBuffer |
HGLRC | ScreenContextId |
vtkWin32OpenGLImageWindow is a concrete implementation of the abstract class vtkImageWindow. vtkWin32OpenGLImageer interfaces to the standard OpenGL graphics library in the Windows/NT environment..
Definition at line 58 of file vtkWin32OpenGLImageWindow.h.
|
|
|
|
|
Definition at line 154 of file vtkWin32OpenGLImageWindow.h. |
|
Creates a vtkImageWindow with background erasing disabled and gray scale hint off Reimplemented from vtkImageWindow. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImageWindow. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImageWindow. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImageWindow. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImageWindow. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkImageWindow. |
|
Definition at line 66 of file vtkWin32OpenGLImageWindow.h. |
|
Initialize the window for rendering. Reimplemented from vtkImageWindow. |
|
Swap the front and back buffers if double buffering is being used. Reimplemented from vtkImageWindow. |
|
Flush the buffer and swap if necessary Reimplemented from vtkImageWindow. |
|
Draw the contents of the window Reimplemented from vtkImageWindow. |
|
Set the size of the window. Reimplemented from vtkImageWindow. |
|
Get the current size of the window. Reimplemented from vtkImageWindow. |
|
Set the position of the window. Reimplemented from vtkImageWindow. |
|
Get the position in screen coordinates of the window. Reimplemented from vtkImageWindow. |
|
Set the name of the window. This appears at the top of the window normally. Reimplemented from vtkWindow. |
|
Reimplemented from vtkImageWindow. Definition at line 97 of file vtkWin32OpenGLImageWindow.h. |
|
Reimplemented from vtkImageWindow. Definition at line 98 of file vtkWin32OpenGLImageWindow.h. |
|
Reimplemented from vtkImageWindow. Definition at line 99 of file vtkWin32OpenGLImageWindow.h. |
|
Reimplemented from vtkImageWindow. Definition at line 100 of file vtkWin32OpenGLImageWindow.h. |
|
These are here for using a tk window. Reimplemented from vtkImageWindow. Definition at line 101 of file vtkWin32OpenGLImageWindow.h. |
|
Get the window id. |
|
Reimplemented from vtkImageWindow. Definition at line 105 of file vtkWin32OpenGLImageWindow.h. |
|
Set the window id to a pre-existing window. |
|
Set the window's parent id to a pre-existing window. |
|
Reimplemented from vtkImageWindow. Definition at line 112 of file vtkWin32OpenGLImageWindow.h. |
|
|
|
|
|
Set the window id of the new window once a WindowRemap is done. |
|
Set/Get the pixel data of an image, transmitted as RGBRGB... Reimplemented from vtkWindow. |
|
|
|
Set/Get the pixel data of an image, transmitted as RGBARGBA... |
|
|
|
|
|
Make this windows OpenGL context the current context. Reimplemented from vtkImageWindow. |
|
These methods can be used by MFC applications to support print preview and printing, or more general rendering into memory. |
|
|
|
|
|
Definition at line 140 of file vtkWin32OpenGLImageWindow.h. |
|
Initialize OpenGL for this window. |
|
|
|
|
|
Clean up device contexts, rendering contexts, etc. |
|
Definition at line 155 of file vtkWin32OpenGLImageWindow.h. |
|
|
|
|
|
Definition at line 157 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 158 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 159 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 160 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 161 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 162 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 163 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 164 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 165 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 166 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 169 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 170 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 171 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 172 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 174 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 175 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 176 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 177 of file vtkWin32OpenGLImageWindow.h. |
|
Definition at line 178 of file vtkWin32OpenGLImageWindow.h. |