#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 () |
void | SetWindowInfo (char *) |
void | SetParentInfo (char *) |
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 |
|
Erase the window. Normally nor called by the user. Reimplemented from vtkImageWindow. |
|
Flush and swap buffers if necessary. Double buffering is not supported in this class. Implements 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. |
|
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. |
|
Set/Get the position in screen coordinates of the window. Implements vtkImageWindow. |
|
Returns the size of a window in pixels Implements vtkImageWindow. |
|
Set/Get the window id and parent window id. |
|
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. |
|
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. |
|
Creates a Win32 window or sets up an existing window. Implements vtkImageWindow. |
|
Creates a vtkImageWindow with background erasing disabled and gray scale hint off 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. |
|
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. |
|
Set the desired background color for the window. |
|
These are here for using a tk window. Implements vtkImageWindow. |
|
Sets the HWND id of the window that WILL BE created. Reimplemented from vtkImageWindow. |
|
Set the position of the window on the screen Implements vtkImageWindow. |
|
Set/Get the current size of the window. Implements vtkImageWindow. |
|
These methods can be used by MFC applications to support print preview and printing, or more general rendering into memory. |
|
Set this ImageWindow's window id to a pre-existing window. Reimplemented from vtkImageWindow. |
|
Swap the front and back buffers. Normally not called by the user. Double buffering is not supported in this class. Implements vtkImageWindow. |