EasyManuals Logo

THORLABS DCC1645C Description And Sdk Manual

THORLABS DCC1645C
513 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #180 background imageLoading...
Page #180 background image
© 2016 Thorlabs Scientific Imaging178
DCx Camera Functional Description and SDK Manual
hCam
Camera handle
supported by the graphics card.
More details
IS_SET_DM_DIRECT3D:
Tests if Direct3D is suppported.
IS_SET_DM_OPENGL:
Tests if OpenGL is supported.
Example
DR_GET_OVERLAY_DC
Direct3D only: Returns the device context (DC)
handle to the overlay area of the graphics card.
More details
In Direct3D mode, the DR_GET_OVERLAY_DC mode
returns the device context (DC) handle of the
overlay area. Using this handle, it is possible to
access the overlay using the Windows GDI
functionality. Thus, all Windows graphics
commands (e.g. Line, Circle, Rectangle, TextOut)
are available. To transfer the drawn elements to
the overlay, release the DC handle by calling
DR_RELEASE_OVERLAY_DC.
Example
DR_RELEASE_OVERLAY_DC
Direct3D only: Releases the device context (DC)
handle.
More details
Using DR_RELEASE_OVERLAY_DC, you can release
the DC handle and update the overlay data.
Example
DR_GET_MAX_OVERLAY_SIZE
Returns the width x and height y of the maximum
overlay area supported by the graphics card.
Example
DR_SET_OVERLAY_SIZE
Defines the size of the overlay area (default:
current camera image size). Example
DR_GET_OVERLAY_SIZE
Returns the size of the overlay area. (Sample:
see DR_SET_OVERLAY_SIZE)
DR_SET_OVERLAY_POSITION
Defines the position of the overlay area. Example
DR_GET_OVERLAY_KEY_COLOR
Returns the RGB values of the current key color
(default: black). Example
DR_SET_OVERLAY_KEY_COLOR
Defines the RGB values of the key color.
More details
The key color specifies where the camera image
will be visible in the overlay area. For example: if
you fill the complete overlay with the key color, the
whole camera image will be visible. If you fill part
of the overlay with a different color, the camera
image will be covered by the overlay in those
places.
The key color has no effect in semi-transparent
mode!

Table of Contents

Other manuals for THORLABS DCC1645C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCC1645C and is the answer not in the manual?

THORLABS DCC1645C Specifications

General IconGeneral
BrandTHORLABS
ModelDCC1645C
CategorySecurity Camera
LanguageEnglish

Related product manuals