Impact Acquire SDK Python
ImageDisplayWindow Class Reference

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

Inheritance diagram for ImageDisplayWindow:
[legend]

Public Member Functions

 __init__ (self, title)
 Creates a new window that can be used to display image data and displays it.
 
 GetImageDisplay (self)
 Returns a reference to the actual display object associated with this window.
 
 SetRefreshTime (self, time_ms)
 Defines the refresh time in ms.
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

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 mvIMPACT.acquire.ImageDisplay to display image data. The internal display object can be accessed by calling mvIMPACT.acquire.ImageDisplayWindow.GetImageDisplay().

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
title )

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.

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

Member Function Documentation

◆ GetImageDisplay()

GetImageDisplay ( self)

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

◆ SetRefreshTime()

SetRefreshTime ( self,
time_ms )

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
time_ms[in] The refresh period for the window in ms. Passing 0 will disable the automatic repaint behaviour.

Property Documentation

◆ thisown

thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static