Impact Acquire SDK .NET
ImageDisplayWindow Class Reference

A class that can be used to display images in a window. More...

Inheritance diagram for ImageDisplayWindow:
[legend]

Public Member Functions

void Dispose ()
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 
 ImageDisplayWindow (String title)
 Creates a new window that can be used to display image data and displays it.
 
void SetRefreshTime (int time_ms)
 Defines the refresh time in ms.
 

Public Attributes

readonly ImageDisplay imageDisplay = new ImageDisplay()
 Returns a reference to the actual display object associated with this window.
 

Detailed Description

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 mv.impact.acquire.display.ImageDisplay to display image data. The internal display object can be accessed by calling mv.impact.acquire.display.ImageDisplayWindow.imageDisplay.

Examples
CaptureToUserMemory.cs, ContinuousCapture.cs, ContinuousCaptureAllDevices.cs, ContinuousCaptureSimple.cs, GenICamCommonSettingsUsage.cs, GenICamInterfaceLayout.cs, Properties.cs, SingleCapture.cs, and SingleCaptureStorage.cs.

Constructor & Destructor Documentation

◆ ImageDisplayWindow()

ImageDisplayWindow ( String title)
inline

Creates a new window that can be used to display image data and displays it.

Parameters
[in]titleThe title of the window (will be displayed in the windows title bar).

Member Function Documentation

◆ Dispose()

void Dispose ( )
inline

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

See the frameworks documentation about the System.IDisposable interface for more information.

Examples
ContinuousCapture.cs, GenICamCommonSettingsUsage.cs, and GenICamInterfaceLayout.cs.

◆ SetRefreshTime()

void SetRefreshTime ( int time_ms)
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.

Parameters
[in]time_msThe refresh period for the window in ms. Passing 0 will disable the automatic repaint behaviour.

Member Data Documentation

◆ imageDisplay

Returns a reference to the actual display object associated with this window.

Examples
ContinuousCapture.cs, GenICamCommonSettingsUsage.cs, GenICamInterfaceLayout.cs, Properties.cs, SingleCapture.cs, and SingleCaptureStorage.cs.