Impact Acquire SDK C++
|
A class to access frame grabber related camera settings(Device specific interface layout only) (deprecated. More...
#include <mvIMPACT_acquire.h>
Public Member Functions | |
CameraSettingsFrameGrabber (Device *pDev, const std::string &settingName="Base") | |
Constructs a new mvIMPACT::acquire::CameraSettingsFrameGrabber object. | |
unsigned int | getTriggerControlCount (void) const |
Returns the number of mvIMPACT::acquire::TriggerControls available for this device. | |
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. | |
const TriggerControl * | triggerControl (const std::string &name) const |
Returns a const pointer to a mvIMPACT::acquire::TriggerControl object or NULL if the name passed to the function does not specify a valid trigger control. | |
const TriggerControl * | triggerControl (unsigned int nr) const |
Returns a const pointer to a mvIMPACT::acquire::TriggerControl object. | |
virtual | ~CameraSettingsFrameGrabber () |
Public Attributes | |
PropertyIAcquisitionField | acquisitionField |
An enumerated integer property defining which frame(s) of an interlaced video signal will be digitised or triggers the start of the acquisition. | |
PropertyI | aoiHeight |
An integer property defining the number of lines to capture. | |
PropertyICameraAoiMode | aoiMode |
An enumerated integer property defining the used AOI mode for the image 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. | |
PropertyS | basedOn |
A string property (read-only) containing the name of the setting this setting is based on. | |
PropertyI | contrast_pc |
An integer property defining the contrast value to be applied to the image data by the frame grabber in per cent. | |
PropertyF | gain_dB |
A float property defining the gain in dB. | |
PropertyI | hue_pc |
An integer property defining the hue value to be applied to the image data by the frame grabber in per cent. | |
PropertyI | imageRequestTimeout_ms |
An integer property defining the maximum time to wait for an image in ms. | |
PropertyIInterlacedMode | interlacedMode |
An enumerated integer property defining how the image from the camera shall be captured. | |
PropertyILineCounter | lineCounter |
An enumerated integer property defining the way line counter information is handled by the device. | |
PropertyI | luminance_pc |
An integer property defining the luminance value to be applied to the image data by the frame grabber in per cent. | |
PropertyI | offset_mV |
An integer property defining the offset in milli-Volt. | |
PropertyIImageBufferPixelFormat | pixelFormat |
An enumerated integer property defining the pixel format used to transfer the image data into the target systems host memory. | |
PropertyI | saturation_pc |
An integer property defining the saturation value to be applied to the image data by the frame grabber in per cent. | |
PropertyIScanClock | scanClock |
An enumerated integer property defining the scan clock mode used for the current acquisition. | |
PropertyI | scanRate_kHz |
An integer property defining the current scan frequency of the capture device. | |
PropertyIDeviceScanRateMode | scanRateMode |
An enumerated integer property defining the scan rate mode for this setting. | |
PropertyICameraSerialPortBaudRate | serialPortBaudrate |
An enumerated integer property defining the baud rate of the serial communication port between frame grabber and camera. | |
PropertyI | softwareTriggerPeriod_ms |
An integer property defining the software simulated trigger period. | |
PropertyIDeviceTriggerMode | triggerMode |
An enumerated integer property defining the behaviour of the frame grabbers trigger input. | |
PropertyI | type |
An enumerated integer property defining the camera description used for the image acquisition. | |
Protected Attributes | |
HOBJ | m_hRoot |
A class to access frame grabber related camera settings(Device specific interface layout only) (deprecated.
This class contains properties to control the way the a frame grabber behaves in connection with the connected camera.
|
explicit |
Constructs a new mvIMPACT::acquire::CameraSettingsFrameGrabber object.
[in] A pointer to a mvIMPACT::acquire::Device object obtained from a mvIMPACT::acquire::DeviceManager object. [in] 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
|
inlinevirtual |
|
inline |
Returns the number of mvIMPACT::acquire::TriggerControls available for this device.
This might be 0 if the device either does not support this feature.
|
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.
|
inline |
Returns a const pointer to a mvIMPACT::acquire::TriggerControl object or NULL if the name passed to the function does not specify a valid trigger control.
[in] | name | The name of the trigger control |
|
inline |
Returns a const pointer to a mvIMPACT::acquire::TriggerControl object.
If nr references an invalid pin an STL out_of_range exception will be thrown.
[in] | nr | The number of the trigger control |
PropertyIAcquisitionField acquisitionField |
An enumerated integer property defining which frame(s) of an interlaced video signal will be digitised or triggers the start of the acquisition.
Valid values for this property are defined by the enumeration mvIMPACT::acquire::TAcquisitionField.
|
inherited |
An integer property defining the number of lines to capture.
PropertyICameraAoiMode aoiMode |
An enumerated integer property defining the used AOI mode for the image capture.
Valid values for this property are defined by the enumeration mvIMPACT::acquire::TCameraAoiMode.
|
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.
|
inherited |
A string property (read-only) containing the name of the setting this setting is based on.
PropertyI contrast_pc |
An integer property defining the contrast value to be applied to the image data by the frame grabber in per cent.
PropertyF gain_dB |
A float property defining the gain in dB.
This is the gain applied during the analogue to digital conversion inside the frame grabber, not applied inside the camera.
gain_dB
is Example:
I.e. increasing the gain setting by 6dB corresponds to factor of 2.
The formula for given gain_x is
Where:
gain_dB:
Balluff gain value (logarithmic)
gain_x:
multiplicative gain
^
: power function
PropertyI hue_pc |
An integer property defining the hue value to be applied to the image data by the frame grabber in per cent.
|
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.
PropertyIInterlacedMode interlacedMode |
An enumerated integer property defining how the image from the camera shall be captured.
If a video signal is transmitted to the capture device in an interlaced format, the device can either capture each individual frame, or merge two frames together into a complete image.
This property will be invisible when the camera description selected by the property mvIMPACT::acquire::CameraSettingsFrameGrabber::type does define it property mvIMPACT::acquire::CameraDescriptionBase::interlacedType to be mvIMPACT::acquire::citNone as the decision whether an interlaced image shall be reconstructed from frames or left as individual frame is redundant if the video source transmits full frames only.
The visibility of a property can be checked by calling mvIMPACT::acquire::Component::isVisible
Valid values for this property are defined by the enumeration mvIMPACT::acquire::TInterlacedMode.
PropertyILineCounter lineCounter |
An enumerated integer property defining the way line counter information is handled by the device.
This is interesting for line scan camera applications. Valid values for this property are defined by the enumeration mvIMPACT::acquire::TLineCounter.
PropertyI luminance_pc |
An integer property defining the luminance value to be applied to the image data by the frame grabber in per cent.
|
protectedinherited |
PropertyI offset_mV |
An integer property defining the offset in milli-Volt.
This is the analogue offset applied during the analogue to digital conversion inside the frame grabber, not applied inside the camera.
|
inherited |
An enumerated integer property defining the pixel format used to transfer the image data into the target systems host memory.
Support for this property has been added in version 1.11.0 of Impact Acquire thus old driver versions will raise an exception if an application accesses the property without checking if the property is present.
By default this property will be set to mvIMPACT::acquire::ibpfAuto. This will result in the previous driver behaviour where depending on the various post processing steps that are enabled or disabled the driver will decide which transfer format will be used. However sometimes this could result in a transfer format, which is not ideal for the application (e.g. when a post processing step of the application needs RGBx888Packed but the systems bandwidth is limited the application might want to transfer the data in YUV422 packed and then use the fast format conversion algorithm in the driver). This can be achieved by explicitly setting mvIMPACT::acquire::CameraSettingsBase::pixelFormat to mvIMPACT::acquire::ibpfYUV422Packed and mvIMPACT::acquire::ImageDestination::pixelFormat to mvIMPACT::acquire::ibpfRGBx888Packed.
Valid values for this property are defined by the enumeration mvIMPACT::acquire::TImageBufferPixelFormat.
PropertyI saturation_pc |
An integer property defining the saturation value to be applied to the image data by the frame grabber in per cent.
PropertyIScanClock scanClock |
An enumerated integer property defining the scan clock mode used for the current acquisition.
Valid values for this property are defined by the enumeration mvIMPACT::acquire::TScanClock.
PropertyI scanRate_kHz |
An integer property defining the current scan frequency of the capture device.
This property is only visible if the mvIMPACT::acquire::CameraSettingsFrameGrabber::scanRateMode property is NOT in an auto mode.
PropertyIDeviceScanRateMode scanRateMode |
An enumerated integer property defining the scan rate mode for this setting.
Valid values for this property are defined by the enumeration mvIMPACT::acquire::TDeviceScanRateMode.
PropertyICameraSerialPortBaudRate serialPortBaudrate |
An enumerated integer property defining the baud rate of the serial communication port between frame grabber and camera.
Currently this property is only available for CameraLink® frame grabbers.
Valid values for this property are defined by the enumeration mvIMPACT::acquire::TCameraSerialPortBaudRate.
PropertyI softwareTriggerPeriod_ms |
An integer property defining the software simulated trigger period.
When mvIMPACT::acquire::CameraSettingsFrameGrabber::triggerMode is set to mvIMPACT::acquire::dtmPeriodically this property defines the interval between two consecutive external trigger events simulated by the driver.
Currently this property is only available for mvTITAN and mvGAMMA frame grabbers.
PropertyIDeviceTriggerMode triggerMode |
An enumerated integer property defining the behaviour of the frame grabbers trigger input.
PropertyI type |
An enumerated integer property defining the camera description used for the image acquisition.
This property ALWAYS defines a translation dictionary containing a string representation and a numerical value for the camera descriptions available for the device. The string representation of the camera description will be built from the property name of the class this camera description belongs to (e.g. 'Standard', 'NonStandard' or 'CameraLink') and the name of the camera description itself. Assuming a the device can handle standard video cameras and a description for a camera named 'MyCCIRCamera' will therefore add 'Standard_MyCCIRCamera' and a unique numerical representation to the properties translation dictionary.