Impact Acquire SDK .NET
|
A base class for camera related settings(Device specific interface layout only). More...
Public Member Functions | |
CameraSettingsBase (Device device) | |
Constructs a new mv.impact.acquire.CameraSettingsBase object. | |
CameraSettingsBase (Device device, String settingName) | |
Constructs a new mv.impact.acquire.CameraSettingsBase object. | |
IEnumerable< T > | getEnumerable< T > () |
Returns an enumerator of a certain type that iterates through the collection. | |
IEnumerator< int > | GetEnumerator () |
Returns an enumerator that iterates through the collection. | |
void | restoreDefault () |
Restores the default for every component of this collection. | |
Public Attributes | |
readonly PropertyI | aoiHeight = new PropertyI() |
An integer property defining the number of lines to capture. | |
readonly PropertyI | aoiStartX = new PropertyI() |
An integer property defining the X-offset for each capture line. | |
readonly PropertyI | aoiStartY = new PropertyI() |
An integer property defining the Y-offset. | |
readonly PropertyI | aoiWidth = new PropertyI() |
An integer property defining the number of pixels to capture per line. | |
readonly PropertyS | basedOn = new PropertyS() |
A string property (read-only) containing the name of the setting this setting is based on. | |
readonly PropertyI | imageRequestTimeout_ms = new PropertyI() |
An integer property defining the maximum time to wait for an image in ms. | |
readonly EnumPropertyI< TImageBufferPixelFormat > | pixelFormat = new EnumPropertyI<TImageBufferPixelFormat>() |
An enumerated integer property defining the pixel format used to transfer the image data into the target systems host memory. | |
Properties | |
IEnumerable< Component > | componentEnumerable [get] |
Returns an enumerator that iterates through the collection. | |
IEnumerable< ComponentList > | componentListEnumerable [get] |
Returns an enumerator that iterates through all the mv.impact.acquire.ComponentList elements in the collection. | |
int | hObj [get] |
Returns a unique identifier for the component collection referenced by this object. | |
A base class for camera related settings(Device specific interface layout only).
This class acts as a base class for camera related settings. It only contains settings that are available for every device!
|
inline |
Constructs a new mv.impact.acquire.CameraSettingsBase object.
[in] | device | A pointer to a mv.impact.acquire.Device object obtained from a mv.impact.acquire.DeviceManager object. |
|
inline |
Constructs a new mv.impact.acquire.CameraSettingsBase object.
[in] | device | A pointer to a mv.impact.acquire.Device object obtained from a mv.impact.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 mv.impact.acquire.FunctionInterface.availableSettings, new settings can be created with the function mv.impact.acquire.FunctionInterface.createSetting |
|
inlineinherited |
Returns an enumerator of a certain type that iterates through the collection.
This interface will allow to e.g. write code like this:
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
inlineinherited |
Returns an enumerator that iterates through the collection.
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
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.
An integer property defining the number of lines to capture.
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.
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
An integer property defining the number of pixels to capture per line.
A string property (read-only) containing the name of the setting this setting is based on.
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 mv.impact.acquire.FunctionInterface.imageRequestReset. Afterwards the capture loop can be restarted.
readonly EnumPropertyI<TImageBufferPixelFormat> pixelFormat = new EnumPropertyI<TImageBufferPixelFormat>() |
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 mv.impact.acquire.TImageBufferPixelFormat.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 mv.impact.acquire.CameraSettingsBase.pixelFormat to mv.impact.acquire.TImageBufferPixelFormat.ibpfYUV422Packed and mv.impact.acquire.ImageDestination.pixelFormat to mv.impact.acquire.TImageBufferPixelFormat.ibpfRGBx888Packed.
Valid values for this property are defined by the enumeration mv.impact.acquire.TImageBufferPixelFormat.
|
getinherited |
Returns an enumerator that iterates through the collection.
This interface will allow to e.g. write code like this:
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
getinherited |
Returns an enumerator that iterates through all the mv.impact.acquire.ComponentList elements in the collection.
This interface will allow to e.g. write code like this:
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
getinherited |
Returns a unique identifier for the component collection referenced by this object.
This handle will always reference an object of type mv.impact.acquire.ComponentList.