Impact Acquire SDK C++
|
mvV4L2 related camera settings(Device specific interface layout only). More...
#include <mvIMPACT_acquire.h>
Public Member Functions | |
CameraSettingsV4L2Device (Device *pDev, const std::string &settingName="Base") | |
Constructs a new mvIMPACT::acquire::CameraSettingsV4L2Device object. | |
Component | getCustomFeatureIterator (void) const |
Returns an iterator to for iterating inside a device specific feature list. | |
HOBJ | hObj (void) const |
Returns a unique identifier for the component collection referenced by this object. | |
const ComponentCollection & | restoreDefault (void) const |
Restores the default for every component of this collection. | |
Public Attributes | |
PropertyI | aoiHeight |
An integer property defining the number of lines to capture. | |
PropertyI | aoiStartX |
An integer property defining the X-offset for each capture line. | |
PropertyI | aoiStartY |
An integer property defining the Y-offset. | |
PropertyI | aoiWidth |
An integer property defining the number of pixels to capture per line. | |
PropertyIBoolean | autoGain |
An enumerated integer property to switch on/off the auto gain. | |
PropertyIBoolean | autoWhiteBalance |
An enumerated integer property to switch on/off the auto white balance function of the V4L2-device. | |
PropertyI | backlightCompensation |
An integer property to adjust the backlight compensation. | |
PropertyS | basedOn |
A string property (read-only) containing the name of the setting this setting is based on. | |
PropertyI | blackLevel |
An integer property to adjust the black level. | |
PropertyI | blueBalance |
An integer property to adjust the blue balance. | |
PropertyI | brightness |
An integer property to adjust the brightness. | |
PropertyI | contrast |
An integer property to adjust the contrast. | |
PropertyI | exposure |
An integer property to adjust the exposure. | |
PropertyI | gain |
An integer property to adjust the gain. | |
PropertyI | gamma |
An integer property to adjust the gamma. | |
PropertyIBoolean | HFlip |
An enumerated integer property to mirror the frames horizontally. | |
PropertyI | hue |
An integer property to adjust the hue. | |
PropertyIBoolean | hueAuto |
An enumerated integer property to switch on/off auto hue. | |
PropertyI | imageHeight |
An integer property defining the height of the image supplied by the V4L2 device. | |
PropertyI | imageRequestTimeout_ms |
An integer property defining the maximum time to wait for an image in ms. | |
PropertyI | imageWidth |
An integer property defining the width of the image supplied by the V4L2 device. | |
PropertyI | pixelFormat |
An integer property defining the pixel format of captured frames. | |
PropertyI | powerLineFrequency |
An enumerated integer property to enable power line frequency filter. | |
PropertyI | redBalance |
An integer property to adjust the red balance. | |
PropertyI | saturation |
An integer property to adjust the saturation. | |
PropertyI | sharpness |
An integer property to adjust the sharpness. | |
PropertyIBoolean | VFlip |
An integer property to mirror the frames vertically. | |
PropertyI | videoStandard |
An integer property defining the video standard. | |
PropertyI | whiteBalanceTemperature |
An integer property to adjust white balance temperature. | |
Protected Attributes | |
HOBJ | m_hRoot |
mvV4L2 related camera settings(Device specific interface layout only).
|
inlineexplicit |
Constructs a new mvIMPACT::acquire::CameraSettingsV4L2Device object.
[in] | pDev | A pointer to a mvIMPACT::acquire::Device object obtained from a mvIMPACT::acquire::DeviceManager object. |
[in] | settingName | The name of the driver internal setting to access with this instance. A list of valid setting names can be obtained by a call to mvIMPACT::acquire::FunctionInterface::getAvailableSettings, new settings can be created with the function mvIMPACT::acquire::FunctionInterface::createSetting |
|
inline |
Returns an iterator to for iterating inside a device specific feature list.
This can be useful a device offers custom features that are not defined in the V4L2 standard and thus can't be known at compile time.
It allows to write code like this:
|
inlineinherited |
Returns a unique identifier for the component collection referenced by this object.
This handle will always reference an object of type mvIMPACT::acquire::ComponentList.
|
inlineinherited |
Restores the default for every component of this collection.
Calling this function will restore the default value for every component belonging to this collection.
|
inherited |
An integer property defining the number of lines to capture.
|
inherited |
An integer property defining the X-offset for each capture line.
Example: When setting this property to 5 the first pixel in each line of the resulting image will be pixel number 5 of each line transmitted by the camera.
|
inherited |
An integer property defining the Y-offset.
Example: When setting this property to 5 the first line of the resulting image will be line number 5 of the image transmitted by the camera.
|
inherited |
An integer property defining the number of pixels to capture per line.
PropertyIBoolean autoGain |
An enumerated integer property to switch on/off the auto gain.
This property represents a boolean-valued V4L2-control ID. Valid values for this property are defined by the enumeration mvIMPACT::acquire::TBoolean.
PropertyIBoolean autoWhiteBalance |
An enumerated integer property to switch on/off the auto white balance function of the V4L2-device.
This property represents a boolean-valued V4L2-control ID. Valid values for this property are defined by the enumeration mvIMPACT::acquire::TBoolean.
PropertyI backlightCompensation |
An integer property to adjust the backlight compensation.
This property represents a V4L2-control ID.
|
inherited |
A string property (read-only) containing the name of the setting this setting is based on.
PropertyI blackLevel |
An integer property to adjust the black level.
This property represents a V4L2-control ID.
PropertyI blueBalance |
An integer property to adjust the blue balance.
This property represents a V4L2-control ID.
PropertyI brightness |
An integer property to adjust the brightness.
This property represents a V4L2-control ID.
PropertyI contrast |
An integer property to adjust the contrast.
This property represents a V4L2-control ID.
PropertyI exposure |
An integer property to adjust the exposure.
This property represents a V4L2-control ID.
PropertyI gain |
An integer property to adjust the gain.
This property represents a V4L2-control ID.
PropertyI gamma |
An integer property to adjust the gamma.
This property represents a V4L2-control ID
PropertyIBoolean HFlip |
An enumerated integer property to mirror the frames horizontally.
This property represents a boolean-valued V4L2-control ID. Valid values for this property are defined by the enumeration mvIMPACT::acquire::TBoolean.
PropertyI hue |
An integer property to adjust the hue.
This property represents a V4L2-control ID.
PropertyIBoolean hueAuto |
An enumerated integer property to switch on/off auto hue.
This property represents a boolean-valued V4L2-control ID. Valid values for this property are defined by the enumeration mvIMPACT::acquire::TBoolean.
PropertyI imageHeight |
An integer property defining the height of the image supplied by the V4L2 device.
|
inherited |
An integer property defining the maximum time to wait for an image in ms.
When this property is set to 0 the timeout never elapses. If the timeout this property defines elapses the currently processed request will be returned to the user even if no data has been captured so far. The result structure of the request object should be examined in that case. Also this should be considered as an error from the users point of view in which case he should clean up the acquisition queue by calling mvIMPACT::acquire::FunctionInterface::imageRequestReset. Afterwards the capture loop can be restarted.
PropertyI imageWidth |
An integer property defining the width of the image supplied by the V4L2 device.
|
protectedinherited |
PropertyI pixelFormat |
An integer property defining the pixel format of captured frames.
Use this property to set the pixel format within the image buffer supplied by the V4L2-device. Available pixel formats depend on the V4L2-device and conform to v4l2_fourcc()
PropertyI powerLineFrequency |
An enumerated integer property to enable power line frequency filter.
This property represents a V4L2-control ID.
If supported, possible values conform to V4L2 API:
string representation | numerical representation |
V4L2_CID_POWER_LINE_FREQUENCY_DISABLED | 0 |
V4L2_CID_POWER_LINE_FREQUENCY_50HZ | 1 |
V4L2_CID_POWER_LINE_FREQUENCY_60HZ | 2 |
PropertyI redBalance |
An integer property to adjust the red balance.
This property represents a V4L2-control ID.
PropertyI saturation |
An integer property to adjust the saturation.
This property represents a V4L2-control ID.
PropertyI sharpness |
An integer property to adjust the sharpness.
This property represents a V4L2-control ID.
PropertyIBoolean VFlip |
An integer property to mirror the frames vertically.
This property represents a boolean-valued V4L2-control ID. Valid values for this property are defined by the enumeration mvIMPACT::acquire::TBoolean.
PropertyI videoStandard |
An integer property defining the video standard.
Use this property to configure the V4L2-device corresponding to the connected video source. Available video standards depend on the V4L2-device and conform to v4l2_std_id
PropertyI whiteBalanceTemperature |
An integer property to adjust white balance temperature.
This property represents a V4L2-control ID.