Inheritance diagram for vetWindow32:

Public Member Functions | |
| vetWindow32 (HINSTANCE hInstance=0) | |
| Default constructor initializes variables; if present, set parent instance and create window. | |
| ~vetWindow32 () | |
| Default destructor, release canvas. | |
| void | setParentHistance (HINSTANCE appHinstance) |
| Get application's handle. | |
| HINSTANCE | getParentHistance () |
| Get application's handle. | |
| VETRESULT | createWindow (unsigned int width, unsigned int height) |
| Initialize canvas, parent instance must be valid. | |
| VETRESULT | welcomeText () |
| Display some text. | |
| BOOL | setWindowPos (int X, int Y, int cx, int cy) |
| Set window's position (passed to SetWindowPos(..) ). | |
| BOOL | setWindowText (LPCTSTR lpString) |
| Set window's title. (passed to SetWindowText(..) ). | |
| HWND | dump_handle () |
| Dump window's handle. | |
| LPRECT | dump_WindowRect () |
| Dump canvas' RECT. | |
| HDC | dump_DC () |
| Dump canvas' handle (DC). | |
| VETRESULT | show (int nCmdShow=SW_SHOW) |
| Show the window, state is customizable. | |
| VETRESULT | hide () |
| Hide the window. | |
| VETRESULT | run () |
| Currently not used. | |
| VETRESULT | setHeight (unsigned int value) |
| Set current canvas' height. | |
| VETRESULT | setWidth (unsigned int value) |
| Set current canvas' width. | |
| unsigned int | getWidth () const |
| unsigned int | getHeight () const |
| VETRESULT | importFrom (vetFrameYUV420 &img) |
| Display frame, single pixel routine. | |
| VETRESULT | importFrom (vetFrameRGB24 &img) |
| Display frame, single pixel routine. | |
| VETRESULT | importFrom (vetFrameT< unsigned char > &img) |
| Display frame, conversion to vetFrameRGB24 and single pixel routine. | |
Protected Attributes | |
| HINSTANCE | parentHistance |
| Parent Application's instance address. | |
| HWND | myHandle |
| Current window's handle. | |
| RECT | myRect |
| Canvas size and position. | |
| HDC | hDisplay |
| Canvas. | |
| unsigned int | width |
| unsigned int | height |
Definition at line 59 of file vetWindow32.h.
|
|
Default constructor initializes variables; if present, set parent instance and create window.
Definition at line 28 of file vetWindow32.cpp. References createWindow(), height, INFO, myHandle, parentHistance, and width. |
|
||||||||||||
|
Initialize canvas, parent instance must be valid.
Definition at line 63 of file vetWindow32.cpp. References hDisplay, height, myHandle, myRect, parentHistance, VETRET_ILLEGAL_USE, VETRET_INTERNAL_ERR, VETRET_OK, and width. Referenced by vetWindow32(). |
|
|
Dump canvas' handle (DC).
Definition at line 181 of file vetWindow32.h. References hDisplay. |
|
|
Dump window's handle.
Definition at line 167 of file vetWindow32.h. References myHandle. |
|
|
Dump canvas' RECT.
Definition at line 174 of file vetWindow32.h. References myRect. |
|
|
Get application's handle.
Definition at line 117 of file vetWindow32.h. References parentHistance. |
|
|
Hide the window.
Definition at line 114 of file vetWindow32.cpp. References myHandle, VETRET_ILLEGAL_USE, and VETRET_OK. |
|
|
Display frame, conversion to vetFrameRGB24 and single pixel routine.
Implements vetOutput. Definition at line 234 of file vetWindow32.cpp. References INFO, and VETRET_NOT_IMPLEMENTED. |
|
|
Display frame, single pixel routine.
Implements vetOutput. Definition at line 207 of file vetWindow32.cpp. References vetFrameRGB24::data, hDisplay, vetFrame::height, INFO, VETRET_OK, VETRET_PARAM_ERR, and vetFrame::width. |
|
|
Display frame, single pixel routine.
Implements vetOutput. Definition at line 189 of file vetWindow32.cpp. References INFO, and VETRET_NOT_IMPLEMENTED. |
|
|
Currently not used.
Definition at line 204 of file vetWindow32.h. References VETRET_NOT_IMPLEMENTED. |
|
|
Set current canvas' height.
Implements vetOutput. Definition at line 157 of file vetWindow32.cpp. |
|
|
Get application's handle.
Definition at line 110 of file vetWindow32.h. References parentHistance. |
|
|
Set current canvas' width.
Implements vetOutput. Definition at line 170 of file vetWindow32.cpp. |
|
||||||||||||||||||||
|
Set window's position (passed to SetWindowPos(..) ).
Definition at line 151 of file vetWindow32.h. References myHandle. |
|
|
Set window's title. (passed to SetWindowText(..) ).
Definition at line 160 of file vetWindow32.h. References myHandle. |
|
|
Show the window, state is customizable.
Definition at line 98 of file vetWindow32.cpp. References myHandle, VETRET_ILLEGAL_USE, and VETRET_OK. |
|
|
Display some text.
Definition at line 131 of file vetWindow32.cpp. References myHandle, VETRET_ILLEGAL_USE, and VETRET_OK. |
1.4.4