Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

DirectShowAMCameraControlMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class DirectShow MBS Win Plugin 12.4 No Yes No Yes, Windows only No
Function: This interface provides local or remote control over a camera.
Notes:
Applications can use this interface to control camera settings such as zoom, pan, aperture adjustment, or shutter speed. To obtain this interface, query the filter that controls the camera.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Flags

Constant Value Description
kFlagsAuto 1 The setting is controlled automatically.
kFlagsManual 2 The setting is controlled manually.

Properties

Constant Value Description
kPropertyExposure 4 Identifies the exposure setting, in log base 2 seconds. In other words, for values less than zero, the exposure time is 1/2n seconds, and for values zero or above, the exposure time is 2n seconds. For example:

ValueSeconds
-31/8
-21/4
-11/2
01
12
24
kPropertyFocus 6 Specifies the camera's focus setting, as the distance to the optimally focused target, in millimeters. The range and default value are specific to the device.
kPropertyIris 5 Specifies the camera's iris setting, in units of fstop * 10.
kPropertyPan 0 Identifies the camera's pan setting, in degrees. Values range from –180 to +180, with the default set to zero. Positive values are clockwise from the origin (the camera rotates clockwise when viewed from above), and negative values are counterclockwise from the origin.
kPropertyRoll 2 Identifies the camera's roll setting, in degrees. Values range from –180 to +180, with the default set to zero. Positive values cause a clockwise rotation of the camera along the image-viewing axis, and negative values cause a counterclockwise rotation of the camera.
kPropertyTilt 1 Identifies the camera's tilt setting, in degrees. Values range from –180 to +180, with the default set to zero. Positive values point the imaging plane up, and negative values point the imaging plane down.
kPropertyZoom 3 Identifies the camera's zoom setting, in millimeters. Values range from 10 to 600, and the default is specific to the device.

This class has no sub classes.

Some methods using this class:


The items on this page are in the following plugins: MBS Win Plugin.


DirectorySizeMBS   -   DirectShowAMCrossbarMBS




Links
MBS FileMaker blog