VC Sizeable Display Example

<< Click to Display Table of Contents >>

Navigation:  Image Manager > Example Applications > Visual C++ >

VC Sizeable Display Example

 

Aim

The Common Vision Blox (CVB) VC Sizeable Display example demonstrates a CVB display dynamically adjusted in size to the size of the window.

 

Instructions

Load an image or image acquisition driver ( *.vin) or any other image source using the 'Load Image' button, then resize the window and the display size is adjusted dynamically.

A right mouse click give you the menu of the CV display which allows changing zoom modes, left button modes and other display properties.

 

The example allows also to show the property page of the CV Grabber Control which is used for switching ports or boards, setting trigger modes and so on.

 

The 'Direct Draw' checkbox enables a fast display using Direct Draw.

For further information concerning Direct Draw see the Common Vision Blox documentation (DirectDrawEnabled and SetGlobalDirectDrawEnabled).

 

Location

Startmenu:        Common Vision Blox -> Image Manager-> Visual C++ -> VC Sizeable Display

Path:        %CVB%Tutorial\Image Manager\VC\VCSizeableDisplay

 

Functions Used

LoadImageByDialog, 

SaveImageByDialog, 

PingPongEnabled, 

SetGlobalPingPongEnabled, 

DirectDrawEnabled, 

GetIsGrabber, 

SetImage / GetImage, 

SetGrab / GetGrab, 

Refresh, 

SetTriggerMode, 

GetLicenseInfo, 

GetSerialNumber, 

Get2GrabStatus