#include <vtkWin32ImageWindow.h>
Inheritance diagram for vtkWin32ImageWindow:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SwapBuffers () |
void | Frame () |
vtkWin32ImageWindow * | GetOutput () |
HWND | GetWindowId () |
void | SetWindowId (void *id) |
void | SetParentId (void *id) |
void | SetWindowId (HWND) |
void | SetParentId (HWND) |
void | SetDeviceContext (void *dc) |
void | SetDeviceContext (HDC) |
void | SetDisplayId (void *foo) |
void * | GetGenericDisplayId () |
void * | GetGenericWindowId () |
void * | GetGenericParentId () |
void * | GetGenericContext () |
void | SetSize (int, int) |
int * | GetSize () |
int * | GetPosition () |
void | SetPosition (int, int) |
void | SetBackgroundColor (float r, float g, float b) |
void | EraseWindow () |
unsigned char * | GetDIBPtr () |
unsigned char * | GetPixelData (int x1, int y1, int x2, int y2, int) |
void | MakeDefaultWindow () |
void | SetupMemoryRendering (int x, int y, HDC prn) |
void | ResumeScreenRendering () |
HDC | GetMemoryDC () |
unsigned char * | GetMemoryData () |
Static Public Methods | |
vtkWin32ImageWindow * | New () |
int | IsTypeOf (const char *type) |
vtkWin32ImageWindow * | SafeDownCast (vtkObject *o) |
Public Attributes | |
HINSTANCE | ApplicationInstance |
HPALETTE | Palette |
HDC | DeviceContext |
HWND | WindowId |
HWND | ParentId |
Protected Methods | |
vtkWin32ImageWindow () | |
~vtkWin32ImageWindow () | |
vtkWin32ImageWindow (const vtkWin32ImageWindow &) | |
void | operator= (const vtkWin32ImageWindow &) |
Protected Attributes | |
BITMAPINFO | MemoryDataHeader |
HBITMAP | MemoryBuffer |
unsigned char * | MemoryData |
HDC | MemoryHdc |
int | ScreenMapped |
int | ScreenWindowSize [2] |
HDC | ScreenDeviceContext |
int | OwnWindow |
unsigned char * | DIBPtr |
int | SwapFlag |
HDC | CompatHdc |
HDC | OldHdc |
HBITMAP | BackBuffer |
BITMAPINFO | DataHeader |
Definition at line 60 of file vtkWin32ImageWindow.h.
|
|
|
|
|
Definition at line 134 of file vtkWin32ImageWindow.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. |
|
Swap the front and back buffers. Normally not called by the user. Double buffering is not supported in this class. Reimplemented from vtkImageWindow. |
|
Flush and swap buffers if necessary. Double buffering is not supported in this class. Reimplemented from vtkImageWindow. |
|
Definition at line 82 of file vtkWin32ImageWindow.h. |
|
Set/Get the window id and parent window id. |
|
Reimplemented from vtkImageWindow. Definition at line 88 of file vtkWin32ImageWindow.h. |
|
Reimplemented from vtkImageWindow. Definition at line 89 of file vtkWin32ImageWindow.h. |
|
|
|
|
|
Definition at line 93 of file vtkWin32ImageWindow.h. |
|
|
|
These are here for using a tk window. Reimplemented from vtkImageWindow. Definition at line 95 of file vtkWin32ImageWindow.h. |
|
Reimplemented from vtkImageWindow. Definition at line 97 of file vtkWin32ImageWindow.h. |
|
Reimplemented from vtkImageWindow. Definition at line 99 of file vtkWin32ImageWindow.h. |
|
Reimplemented from vtkImageWindow. Definition at line 100 of file vtkWin32ImageWindow.h. |
|
Reimplemented from vtkImageWindow. Definition at line 101 of file vtkWin32ImageWindow.h. |
|
Set/Get the current size of the window. Reimplemented from vtkImageWindow. |
|
Returns the size of a window in pixels Reimplemented from vtkImageWindow. |
|
Set/Get the position in screen coordinates of the window. Reimplemented from vtkImageWindow. |
|
Set the position of the window on the screen Reimplemented from vtkImageWindow. |
|
Set the desired background color for the window. |
|
Erase the window. Normally nor called by the user. Reimplemented from vtkImageWindow. |
|
|
|
Get the pixel data of an image, transmitted as RGBRGBRGB. The front argument indicates if the front buffer should be used or the back buffer. It is the caller's responsibility to delete the resulting array. It is very important to realize that the memory in this array is organized from the bottom of the window to the top. The origin of the screen is in the lower left corner. The y axis increases as you go up the screen. So the storage of pixels is from left to right and from bottom to top. Reimplemented from vtkWindow. |
|
Creates a Win32 window or sets up an existing window. 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 129 of file vtkWin32ImageWindow.h. |
|
Definition at line 135 of file vtkWin32ImageWindow.h. |
|
Definition at line 63 of file vtkWin32ImageWindow.h. |
|
Definition at line 64 of file vtkWin32ImageWindow.h. |
|
Definition at line 65 of file vtkWin32ImageWindow.h. |
|
Definition at line 66 of file vtkWin32ImageWindow.h. |
|
Definition at line 67 of file vtkWin32ImageWindow.h. |
|
Definition at line 138 of file vtkWin32ImageWindow.h. |
|
Definition at line 139 of file vtkWin32ImageWindow.h. |
|
Definition at line 140 of file vtkWin32ImageWindow.h. |
|
Definition at line 141 of file vtkWin32ImageWindow.h. |
|
Definition at line 142 of file vtkWin32ImageWindow.h. |
|
Definition at line 143 of file vtkWin32ImageWindow.h. |
|
Definition at line 144 of file vtkWin32ImageWindow.h. |
|
Definition at line 146 of file vtkWin32ImageWindow.h. |
|
Definition at line 148 of file vtkWin32ImageWindow.h. |
|
Definition at line 149 of file vtkWin32ImageWindow.h. |
|
Definition at line 150 of file vtkWin32ImageWindow.h. |
|
Definition at line 151 of file vtkWin32ImageWindow.h. |
|
Definition at line 152 of file vtkWin32ImageWindow.h. |
|
Definition at line 153 of file vtkWin32ImageWindow.h. |