Class SpinnakerSourceSettings
Spinnaker SDK cameras source settings.
Implements
Inherited Members
Namespace: VisioForge.Core.Types.X.Sources
Assembly: VisioForge.Core.dll
Syntax
public class SpinnakerSourceSettings : IVideoCaptureBaseVideoSourceSettings, IVideoMixerSource, IVideoSourceSettings, IMediaBlockSettings
Constructors
SpinnakerSourceSettings(string, Rect, VideoFrameRate, SpinnakerPixelFormat)
Initializes a new instance of the SpinnakerSourceSettings class.
Declaration
public SpinnakerSourceSettings(string deviceName, Rect region, VideoFrameRate frameRate, SpinnakerPixelFormat pixelFormat = SpinnakerPixelFormat.RGB)
Parameters
| Type | Name | Description |
|---|---|---|
| string | deviceName | Name of the device. |
| Rect | region | The region. |
| VideoFrameRate | frameRate | The frame rate. |
| SpinnakerPixelFormat | pixelFormat | The pixel format. |
Properties
ExposureMaximum
Gets or sets the maximum exposure time for the auto exposure algoritm(us) [10 - 29999999].
Declaration
public int ExposureMaximum { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The exposure maximum. |
ExposureMinimum
Gets or sets the the minimum exposure time for the auto exposure algoritm (us) [10 - 29999999].
Declaration
public int ExposureMinimum { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The exposure minimum. |
FrameRate
Gets or sets the frame rate.
Declaration
public VideoFrameRate FrameRate { get; }
Property Value
| Type | Description |
|---|---|
| VideoFrameRate | The frame rate. |
Name
Gets or sets the camera name.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name. |
OffsetX
Gets or sets the X offset.
Declaration
public int OffsetX { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The X offset . |
OffsetY
Gets or sets the Y offset.
Declaration
public int OffsetY { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The Y offset . |
PixelFormat
Gets the pixel format.
Declaration
public SpinnakerPixelFormat PixelFormat { get; }
Property Value
| Type | Description |
|---|---|
| SpinnakerPixelFormat | The pixel format. |
Region
Gets or sets the region.
Declaration
public Rect Region { get; }
Property Value
| Type | Description |
|---|---|
| Rect | The region. |
ShutterType
Gets or sets the type of the shutter.
Declaration
public SpinnakerSourceShutterType ShutterType { get; set; }
Property Value
| Type | Description |
|---|---|
| SpinnakerSourceShutterType | The type of the shutter. |
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
| Type | Description |
|---|---|
| MediaBlock | MediaBlock. |
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents this instance. |