#include <Direct2dViewer.h>
|
| Direct2dViewer () |
| Initialize members.
|
|
| ~Direct2dViewer () |
| Release resources.
|
|
HRESULT | start2dViewer (HWND hWndParent, void *bitmapAddr, UINT width, UINT height) |
| Starts 2d viewer with a initial bitmap. Use this to start 2d viewer. Call constructor before.
|
|
void | showNewBitmap (void *addr, UINT width, UINT height) |
| Show a new bitmap in 2d viewer.
|
|
void | repaintWindow () |
| Reload the displayed bitmap in 2d viewer.
|
|
HWND | getWindowHandler () |
| Returns the window handler of 2d viewer.
|
|
void | SetGammaValue (UINT16 white, UINT16 black) |
| Set gamma value.
|
|
UINT16 | GetGammaWhite () |
| return gamma value white
|
|
UINT16 | GetGammaBlack () |
| return gamma value black
|
|
◆ Direct2dViewer()
Direct2dViewer::Direct2dViewer |
( |
| ) |
|
◆ ~Direct2dViewer()
Direct2dViewer::~Direct2dViewer |
( |
| ) |
|
◆ GetGammaBlack()
UINT16 Direct2dViewer::GetGammaBlack |
( |
| ) |
|
◆ GetGammaWhite()
UINT16 Direct2dViewer::GetGammaWhite |
( |
| ) |
|
◆ getWindowHandler()
HWND Direct2dViewer::getWindowHandler |
( |
| ) |
|
Returns the window handler of 2d viewer.
◆ repaintWindow()
void Direct2dViewer::repaintWindow |
( |
| ) |
|
Reload the displayed bitmap in 2d viewer.
◆ SetGammaValue()
void Direct2dViewer::SetGammaValue |
( |
UINT16 | white, |
|
|
UINT16 | black ) |
Set gamma value.
- Parameters
-
[in] | white | set value for maximum brightness. Default: 0xFFFF (16 bit), 0x3FFF (14 bit) |
[in] | black | set value for minimum brightness. Default: 0 |
◆ showNewBitmap()
void Direct2dViewer::showNewBitmap |
( |
void * | addr, |
|
|
UINT | width, |
|
|
UINT | height ) |
Show a new bitmap in 2d viewer.
- Parameters
-
addr | Address to first byte of bitmap data. |
width | Width of bitmap. |
height | Height of bitmap. |
◆ start2dViewer()
HRESULT Direct2dViewer::start2dViewer |
( |
HWND | hWndParent, |
|
|
void * | bitmapAddr, |
|
|
UINT | width, |
|
|
UINT | height ) |
Starts 2d viewer with a initial bitmap. Use this to start 2d viewer. Call constructor before.
- Parameters
-
hWndParent | Window handler of parent window. |
bitmapAddr | Address to first byte of bitmap data. |
width | Width of bitmap. |
height | Height of bitmap. |
The documentation for this class was generated from the following files: