Variables | |
long | AOOCount |
Returns the number of overlay objects that have been installed (AvailableOverlayObjects, AOO). More... | |
long | AOOIndex |
It is used to number the availabe overlay objects. More... | |
BSTR | AOOName |
Returns the name of the available overlay object with the index(AOOIndex). More... | |
long | AOONumVertices |
Returns the number of externally visible vertices of the available overlay object with the index(AOOIndex). More... | |
long | AOONumVerticesUsed |
Returns the number of internally used vertices of the available overlay object with the index(AOOIndex). More... | |
long | AOOType |
Returns the type of the available overlay object with the index(AOOIndex). More... | |
Appearance | Appearance |
Determines the frame shape of a display object. More... | |
boolean | BevelInner |
Determines the appearance of the inner frame of a display object. More... | |
boolean | BevelOuter |
Determines the appearance of the outer frame of a display object. More... | |
long | BluePage |
Determines the image plane to be displayed in the blue channel. More... | |
CoordStyle | CoordStyle |
Determines the display style of the coordinate system. More... | |
boolean | DirectDrawEnabled |
Enables or disables the support of DirectDraw. More... | |
double | DisplayGain |
Determines the image gain for the display. More... | |
long | DisplayOffset |
Determines the image offset for the display. More... | |
long | DisplayRectPercentage |
Adjust the size of the border of the image that is displayed in the control. More... | |
boolean | DrawErase |
Determines the "painting color" used for the overlay bit of an overlay-capable image. More... | |
long | GreenPage |
Determines the image plane to be displayed in the green channel. More... | |
HighBitScaleMode | HighBitScaleMode |
Set the high bit scaling mode the display should use. More... | |
__int3264 | Image |
Determines the image object that is assigned to the Common Vision Display Control. More... | |
LeftButtonMode | LeftButtonMode |
Specifies what the response will be to a LeftButton event of the mouse. More... | |
boolean | ManualDisplayRefresh |
Indicates whether the display is refreshed manually or not. More... | |
MouseWheelMode | MouseWheelMode |
Specifies what the response will be to a MouseWheel event of the mouse. More... | |
boolean | OverlayDragAndDelete |
Indicates the behavior of the control when deleting or dragging an overlay. More... | |
long | RedPage |
Determines the image plane to be displayed in the red channel. More... | |
boolean | RestrictZoomPositions |
Set the current state of the zoom restriction mode. More... | |
RightButtonMode | RightButtonMode |
Sets or gets the functionality of the right mouse button. More... | |
boolean | RulerEnabled |
Controls whether a crosshair (ruler) will be displayed in the image for easier positioning or not. More... | |
boolean | ScrollBars |
Controls the display of scroll bars if the image content does not fit as a whole into the window. More... | |
boolean | ShowCoords |
Controls the display of the coordinate system. More... | |
boolean | StatusCurrentPos |
Controls the display of the current mouse cursor position in the status window of the display object. More... | |
boolean | StatusEmpty |
Controls whether an empty status field is shown in the display object. More... | |
boolean | StatusGrayValue |
Controls the display of the gray scale value at the current location of the mouse position in the status window. More... | |
boolean | StatusImageSize |
Controls the display of the current image size in the status window of the diplay object. More... | |
boolean | StatusScale |
Controls the display of the image scaling information (zoom factor) in the status window of the display object. More... | |
BSTR | StatusUserText |
Controls displaying of a text string in the status window of the display object. More... | |
boolean | SyncRefreshToMonitor |
Synced the final blit form the offsecreen memory of the VGA to the visible (primary) display surface to the beginning of the the vertical blank of the monitor. DirectDraw (version 8.1) have to be installed on the system. More... | |
|
readonly |
Returns the number of overlay objects that have been installed (AvailableOverlayObjects, AOO).
A list of all available plug-ins can be generated with the aid of this property.
[out] | AOOCount | Availabe overlay objects. |
long AOOIndex |
|
readonly |
|
readonly |
|
readonly |
|
readonly |
Determines the frame shape of a display object.
[in,out] | Appearance | Sets the style of the ccordinate system. For possible frame shapes refer to Appearance. |
boolean BevelInner |
Determines the appearance of the inner frame of a display object.
[in,out] | BevelInner | TRUE specifies that the inner frame is shaded, FALSE otherwise. |
TRUE
if inner frame is shaded, FALSE
otherwise. boolean BevelOuter |
Determines the appearance of the outer frame of a display object.
[in,out] | BevelOuter | TRUE specifies that the outer frame is shaded, FALSE otherwise. |
TRUE
if outer frame is shaded, FALSE
otherwise. long BluePage |
Determines the image plane to be displayed in the blue channel.
This function might be used if only one channel of a color image is to be displayed as a gray scale image.
[in,out] | BluePage | Image plane to be set as blue channel. |
Determines the display style of the coordinate system.
The coordinate system can be shown in the conventional way (x-axis to the right, y-axis to the bottom) or as a crosshair.
[in,out] | CoordStyle | Sets the style of the coordinate system. For possible styles refer to CoordStyle. |
boolean DirectDrawEnabled |
Enables or disables the support of DirectDraw.
Refer to the introduction for information on DirectDraw.
TRUE
when the GLobel Direct Draw is ENABled (via SetGlobalDirectDrawEnabled function). If this value is FALSE
, synchronisation of the ImageSnaped event with the message loop of the program will occur. Please see the Multithreading information in the Image Manager - Common Vision Blox Technology section of the documentation. FALSE
. [in,out] | DirectDrawEnableds | TRUE enables DirectDraw, FALSE disables DirectDraw. |
TRUE
if DirectDraw is enabled, FALSE
otherwise. double DisplayGain |
Determines the image gain for the display.
P'(x,y) = gain * P(x,y) - offset
[in,out] | DisplayGain | Sets the given value for the gain. Default value is 1.0. |
long DisplayOffset |
Determines the image offset for the display.
P'(x,y) = gain * P(x,y) - offset
[in,out] | DisplayOffset | Sets the given value for the offset. Default value is 0. |
long DisplayRectPercentage |
Adjust the size of the border of the image that is displayed in the control.
The painted image that is displayed in the display control has a border that is filled with the backcolor. The aspect ration of the painted image is allways the same as the aspect ratio of the input image specified by the Image property. The size of the border can be adjusted using this property. When setting the size to 100 the image will be painted using the complet width or height of the display control window. Wehn setting the size to 50 only 50% of the width or height are used.
[in,out] | DisplayRectPercentage | Percent of the width or the height of the display window that re used to paint the image. The value ranges from 10 to 100; |
boolean DrawErase |
Determines the "painting color" used for the overlay bit of an overlay-capable image.
All functions which draw in the overlay use the »painting color« that is currently set.
Only overlay pixels having the value 1 will be visible. Invisible overlay pixels having the value 0. This means that a visible overlay image is drawn by the function if the current »painting color« was set to 1. On the other hand overlay images can be repaint by setting the »painting color« was set to 0.
[in,out] | DrawErase | TRUE sets the »painting color« to 0, FALSE set the »painting color« to 1. |
TRUE
if "painting color" is 0, otherwise FALSE
when »painting color« is 1. long GreenPage |
Determines the image plane to be displayed in the green channel.
This function might be used if only one channel of a color image is to be displayed as a gray scale image.
[in,out] | GreenPage | Image plane to be set as green channel. |
Set the high bit scaling mode the display should use.
Please refer to the description of the HighBitScaleMode enum for the available values and their meaning.
Note that...
false
. [in,out] | HighBitScaleMode | Specify the mode to be used. |
__int3264 Image |
Determines the image object that is assigned to the Common Vision Display Control.
The image object manages the image information, e.g. the images from hard disk or a image acquisition device driver.
[in,out] | Image | Handle of the image object. |
Specifies what the response will be to a LeftButton event of the mouse.
[in,out] | LeftButtonMode | Sets the left button mode. For possible modes refer to LeftButtonModeEnumeration. |
boolean ManualDisplayRefresh |
Indicates whether the display is refreshed manually or not.
To increase the performance you can set the ManualDisplayRefresh property to TRUE
. In this case the control will not repaint the window automatically when adding/removing overlays from the display. Instead you have to call explicitly the Refresh method after you have added all overlays in order to repaint the display window.
Otherwise FALSE
indicates that the display window is automatically repainted if you add or remove an overlay. If you need to add a hugeg number of overlays (no matter which kind of overlay) the control will repaint for every single overlay and therefore it will be relatively slow.
[in,out] | ManualDisplayRefresh | TRUE specifies that the display will be refreshed manually using the Refresh method, FALSE otherwise. |
TRUE
means that the display have to be repaint explicitly calling the Refresh method. FALSE
means that the display will be refreshed automatically when a overlay is added or removed. Specifies what the response will be to a MouseWheel event of the mouse.
To zoom a display window using the mouse wheel, click first in the display control to put the focus on it. Than place the mouse cursor over the position you want to zoom or unzoom. Use the wheel to zoom in or out at this position. The maximum zoom factor using the mouse wheel is 64. to use finer zoom steps hold down the 'CTRL' key of the keyboard.
[in,out] | MouseWheelMode | Sets the mouse wheel mode. For possible modes refer to MouseWheelMode. |
boolean OverlayDragAndDelete |
Indicates the behavior of the control when deleting or dragging an overlay.
If this property is set to TRUE
the control produces in very rare cases a GPF if you delete an overlay from a seperate thread while you drag another overlay.
If the property is set to FALSE
a drag operation is canceled when you delete an overlay to pervent the GPF.
[in,out] | OverlayDragAndDelete | TRUE specifies that overlays can be deleted at any time from any thread, even while they are dragged. Caution: a GPF might be the result. FALSE means that a potential drag operation is canceled when deleting an overlay to prevent a possible GPF. using the Refresh method, FALSE otherwise. |
TRUE
means that the overlay can be deleted at any time. FALSE
means that deleting an overlay can be canceled if a GPF would occur. long RedPage |
Determines the image plane to be displayed in the red channel.
This function might be used if only one channel of a color image is to be displayed as a gray scale image or if RGB images are be displayed in the BGR format.
[in,out] | RedPage | Image plane to be set as red channel. |
boolean RestrictZoomPositions |
Set the current state of the zoom restriction mode.
When set to true, the display automatically applies a restriction to the possible center locations of the display zoom so that it cannot happen that a zoomed display consists of up to 75% background when zooming into one of the image's corners. This also means that when calling SetDisplayZoom or SetDisplayZoomEx and right after that GetDisplayZoom or GetDisplayZoomEx, the x/y position retrieved may not actually be the position that has just been set!
When calculating the positional restrictions on the zoom center, the current DisplayRectPercentage value is being taken into account and ideally the amount of border visible in the display will exactly match that percentage. It is, however, not always possible to achieve this ideal value because the zoom centers are only pixel accurate in the CVB display, which means that for higher zoom levels, the roundoff that causes a deviation from the ideal value is likely to become visible.
[in,out] | RestrictZoomPositions | switch the mode in which the zoom positions are restricted on or off. |
Sets or gets the functionality of the right mouse button.
RB_MENU | Clicking the right mouse button opens a context menu on which you can copy the image to the clipboard, save it or zoom it. |
RB_ZOOM | The image is zoomed with the aid of the right mouse button. |
RB_NONE; | The right mouse button has been disabled so that it does not have any function. This mode enables you to implement your own context menus. |
[in,out] | RightButtonMode | Sets the current right botton mode. For possible modes refer to RightButtonMode. |
boolean RulerEnabled |
Controls whether a crosshair (ruler) will be displayed in the image for easier positioning or not.
The crosshair is first located in the middle of the window and can then be moved interactively.
[in,out] | RulerEnabled | TRUE specifies that crosshair is enabled, FALSE otherwise. |
TRUE
if crosshair is enabled, FALSE
otherwise. boolean ScrollBars |
Controls the display of scroll bars if the image content does not fit as a whole into the window.
[in,out] | ScrollBars | TRUE specifies that scroll bars will be displayed, FALSE otherwise. |
TRUE
if scroll bars are displayed, FALSE
otherwise. boolean ShowCoords |
Controls the display of the coordinate system.
[in,out] | ShowCoords | TRUE specifies that the coordinate system displayed, FALSE otherwise. |
TRUE
if coordinate system is displayed, FALSE
otherwise. boolean StatusCurrentPos |
Controls the display of the current mouse cursor position in the status window of the display object.
[in,out] | StatusCurrentPos | TRUE specifies that the mouse cursor position will be displayed, FALSE otherwise. |
TRUE
if the mouse cursor position is displayed, FALSE
otherwise. boolean StatusEmpty |
Controls whether an empty status field is shown in the display object.
[in,out] | StatusEmpty | TRUE specifies that an empty status window will be diplayed, FALSE otherwise. |
TRUE
if empty status window is displayed, FALSE
otherwise. boolean StatusGrayValue |
Controls the display of the gray scale value at the current location of the mouse position in the status window.
[in,out] | StatusGrayValue | TRUE specifies that the gray scale value will be displayed, FALSE otherwise. |
TRUE
if the gray scale value is displayed, FALSE
otherwise. boolean StatusImageSize |
Controls the display of the current image size in the status window of the diplay object.
[in,out] | StatusImageSize | TRUE specifies that the current image size will be diplayed, FALSE otherwise. |
TRUE
if image size is displayed, FALSE
otherwise. boolean StatusScale |
Controls the display of the image scaling information (zoom factor) in the status window of the display object.
[in,out] | StatusScale | TRUE specifies that the scaling information is shown, FALSE otherwise. |
TRUE
if scaling information is shown, FALSE
otherwise. BSTR StatusUserText |
Controls displaying of a text string in the status window of the display object.
[in,out] | StatusUserText | Sets the text to be displayed in the status window. |
boolean SyncRefreshToMonitor |
Synced the final blit form the offsecreen memory of the VGA to the visible (primary) display surface to the beginning of the the vertical blank of the monitor. DirectDraw (version 8.1) have to be installed on the system.
As result the display does not show any artefacts related to the asynchronicity between monitor and camera vertical blank.
[in,out] | SyncRefreshToMonitor | TRUE specifies that the display refresh is synced to the VD of the monitor. FALSE means that the refresh is asynchronous to the VD of the monitor. |
TRUE
if the refresh is synced to the VD of the monitor, FALSE
otherwise.