Inheritance diagram for vetWindowGTK:

Public Member Functions | |
| vetWindowGTK (GtkWidget *mainWindow=NULL) | |
| Default constructor initializes variables and canvas. | |
| vetWindowGTK (unsigned int width, unsigned int height, GtkWidget *mainWindow=NULL) | |
| Default constructor initializes variables. | |
| ~vetWindowGTK () | |
| Default destructor, wait for pending events and flush. | |
| VETRESULT | run () |
| Currently not used. | |
| VETRESULT | show (bool doShowWindow=true) |
| Show canvas and if selected also main window. | |
| VETRESULT | hide (bool doHideWindow=true) |
| Hide canvas and if selected also main window. | |
| GtkWidget * | dump_canvas () |
| Dump canvas' address. | |
| GtkWidget * | dump_window () |
| Dump (main) window's address. | |
| void | setDithering (int value=0) |
| Set display dithering mode. | |
| int | getDithering () |
| Get current display dithering value. | |
| VETRESULT | setFrameRate (float fps=0) |
| Set display frame rate (elaboration time is not subtracted). | |
| unsigned int | getWidth () const |
| Get current canvas' width. | |
| unsigned int | getHeight () const |
| Get current canvas' height. | |
| VETRESULT | setHeight (unsigned int value) |
| Set current canvas' height. | |
| VETRESULT | setWidth (unsigned int value) |
| Set current canvas' width. | |
| VETRESULT | importFrom (vetFrameYUV420 &img) |
| Display frame, conversion to vetFrameRGB24 and data-copy routine. | |
| VETRESULT | importFrom (vetFrameRGB24 &img) |
| Display frame, data-copy routine. (optimized). | |
| VETRESULT | importFrom (vetFrameT< unsigned char > &img) |
| Display frame, conversion to vetFrameRGB24 and single channel data-copy routine. | |
Protected Member Functions | |
| int | init () |
| Initialize canvas. | |
Protected Attributes | |
| GtkWidget * | image |
| Canvas' handle (created by this class). | |
| GtkWidget * | window |
| Window's handle (passed or created). | |
| GdkRgbDither | currDith |
| Current Dithering setting: 0 => GDK_RGB_DITHER_NONE (default) 1 => GDK_RGB_DITHER_NORMAL 2 => GDK_RGB_DITHER_MAX. | |
| unsigned int | width |
| Canvas' width. | |
| unsigned int | height |
| Canvas' height. | |
| long | v_sleeptime |
| Milliseconds to wait after frame (re)drawing. | |
Definition at line 79 of file vetWindowGTK.h.
|
|
Default constructor initializes variables and canvas.
Definition at line 38 of file vetWindowGTK.cpp. References height, image, INFO, init(), setDithering(), v_sleeptime, width, and window. |
|
||||||||||||||||
|
Default constructor initializes variables.
Definition at line 59 of file vetWindowGTK.cpp. References height, image, INFO, init(), setDithering(), v_sleeptime, width, and window. |
|
|
Dump canvas' address.
Definition at line 180 of file vetWindowGTK.h. References image. |
|
|
Dump (main) window's address.
Definition at line 187 of file vetWindowGTK.h. References window. |
|
|
Get current display dithering value.
Definition at line 205 of file vetWindowGTK.h. References currDith. |
|
|
Get current canvas' height.
Definition at line 228 of file vetWindowGTK.h. References height. |
|
|
Get current canvas' width.
Definition at line 221 of file vetWindowGTK.h. References width. |
|
|
Hide canvas and if selected also main window.
Definition at line 204 of file vetWindowGTK.cpp. |
|
|
Display frame, conversion to vetFrameRGB24 and single channel data-copy routine.
Implements vetOutput. Definition at line 305 of file vetWindowGTK.cpp. References image, INFO, VETRET_INTERNAL_ERR, and VETRET_NOT_IMPLEMENTED. |
|
|
Display frame, data-copy routine. (optimized).
Implements vetOutput. Definition at line 274 of file vetWindowGTK.cpp. References currDith, vetFrameRGB24::data, vetFrame::height, image, INFO, VETRET_INTERNAL_ERR, VETRET_OK, and vetFrame::width. |
|
|
Display frame, conversion to vetFrameRGB24 and data-copy routine.
Implements vetOutput. Definition at line 247 of file vetWindowGTK.cpp. References vetFrame::height, image, INFO, VETRET_INTERNAL_ERR, VETRET_OK_DEPRECATED, and vetFrame::width. |
|
|
Initialize canvas.
Definition at line 88 of file vetWindowGTK.cpp. References destroy(), expose(), height, image, VETRET_OK, width, and window. Referenced by vetWindowGTK(). |
|
|
Currently not used.
Definition at line 153 of file vetWindowGTK.h. References VETRET_NOT_IMPLEMENTED. |
|
|
Set display dithering mode.
Definition at line 221 of file vetWindowGTK.cpp. References currDith. Referenced by vetWindowGTK(). |
|
|
Set display frame rate (elaboration time is not subtracted).
Definition at line 164 of file vetWindowGTK.cpp. References v_sleeptime, VETRET_OK, and VETRET_PARAM_ERR. |
|
|
Set current canvas' height.
Implements vetOutput. Definition at line 124 of file vetWindowGTK.cpp. References height, image, VETRET_ILLEGAL_USE, VETRET_OK, and width. |
|
|
Set current canvas' width.
Implements vetOutput. Definition at line 142 of file vetWindowGTK.cpp. References height, image, VETRET_ILLEGAL_USE, VETRET_OK, and width. |
|
|
Show canvas and if selected also main window.
Definition at line 185 of file vetWindowGTK.cpp. |
1.4.4