246 DCx camera
© 2010 Thorlabs
7.3.80
is_SetDisplayMode
Syntax
INT is_SetDisplayMode (HIDS hCam, INT Mode)
Description
Using is_SetDisplayMode(), you can set the way in which images will be displayed on the screen.
For live videos including overlays, you can use the Direct3D mode. This mode is not supported by all
graphics cards. The graphics card must have sufficient extended memory because Direct3D mode
requires additional memory up to the size needed for the current screen resolution.
For further information on the display modes of the DCx camera camera, see the How To Proceed:
Image Display section.
We recommend that you call the following functions exclusively from a single thread in order to
avoid unpredictable behaviour of the application.
is_InitCamera()
is_SetDisplayMode()
is_ExitCamera()
See also Programming: Thread Programming .
Input Parameters
Captures an image in system memory (RAM). Using
is_RenderBitmap() , you can define the image
display(default).
Image display in Direct3D mode
IS_SET_DM_DIRECT3D |
IS_SET_DM_MONO
Monochrome image display in Direct3D mode
Returns the current setting.
The new Direct3D mode completely replaces the BackBuffer and Overlay Surface display modes
from DirectDraw. It is advisable not to use these modes any longer (see also Obsolete Functions
). To activate the obsolete modes, do the following:
IS_SET_DM_DIRECTDRAW |
IS_SET_DM_BACKBUFFER
Image display in DirectDraw BackBuffer mode
IS_SET_DM_DIRECTDRAW |
IS_SET_DM_ALLOW_OVERLAY
Image display in DirectDraw Overlay Surface mode
Real-time scaling in Overlay Surface mode
90
192
246
143
342
205
316