|
Impact Acquire SDK C++
|
A class that can be used to display images in a window. More...
#include <mvIMPACT_acquire_display.h>
Public Member Functions | |
| ImageDisplay & | GetImageDisplay (void) |
| Returns a reference to the actual display object associated with this window. | |
| TPreProcessMessage | GetMessageHandler (void) const |
| Returns the current message handler for this window. | |
| ImageDisplayWindow (const std::string &title) | |
| Creates a new window that can be used to display image data and displays it. | |
| void | SetMessageHandler (TPreProcessMessage handler) |
| Installs a callback to handle the window messages. | |
| void | SetRefreshTime (int time_ms) |
| Defines the refresh time in ms. | |
| ~ImageDisplayWindow () | |
| destroys the display window and frees resources. | |
A class that can be used to display images in a window.
Every instance of this class will create and display its own independent window. Internally it uses an instance of mvIMPACT::acquire::display::ImageDisplay to display image data. The internal display object can be accessed by calling mvIMPACT::acquire::display::ImageDisplayWindow::GetImageDisplay().
|
inlineexplicit |
Creates a new window that can be used to display image data and displays it.
This is an example of how to use the GetImageDisplay class. More details about this example.
| [in] | title | The title of the window (will be displayed in the windows title bar). |
|
inline |
destroys the display window and frees resources.
|
inline |
Returns a reference to the actual display object associated with this window.
|
inline |
Returns the current message handler for this window.
|
inline |
Installs a callback to handle the window messages.
| [in] | handler | Pointer to a function which is called by the windows procedure before the display update is done. If zero is passed here even the internal default handler will be disabled and WM_SIZE and WM_LBUTTONDBLCLK will no longer be handled internally. |
|
inline |
Defines the refresh time in ms.
This function can be used to define a refresh period that - when elapsed - will automatically repaint the window.
| [in] | time_ms | The refresh period for the window in ms. Passing 0 will disable the automatic repaint behaviour. |