Table of Contents

Class IplImageCircleEditor

Namespace
Bonsai.Vision.Design
Assembly
Bonsai.Vision.Design.dll

Provides a user interface for visually editing circular regions on top of the input image sequence.

public class IplImageCircleEditor : DataSourceTypeEditor
Inheritance
IplImageCircleEditor
Derived
Inherited Members

Constructors

IplImageCircleEditor()

Initializes a new instance of the IplImageCircleEditor class using the input image data source.

public IplImageCircleEditor()

IplImageCircleEditor(DataSource)

Initializes a new instance of the IplImageCircleEditor class using the specified image data source.

protected IplImageCircleEditor(DataSourceTypeEditor.DataSource source)

Parameters

source DataSourceTypeEditor.DataSource

Specifies the source of image notifications to the property editor.

Methods

EditValue(ITypeDescriptorContext, IServiceProvider, object)

Edits the specified object's value using the editor style indicated by the GetEditStyle() method.

public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)

Parameters

context ITypeDescriptorContext

An ITypeDescriptorContext that can be used to gain additional context information.

provider IServiceProvider

An IServiceProvider that this editor can use to obtain services.

value object

The object to edit.

Returns

object

The new value of the object. If the value of the object has not changed, this should return the same object it was passed.

GetEditStyle(ITypeDescriptorContext)

Gets the editor style used by the EditValue(IServiceProvider, object) method.

public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context)

Parameters

context ITypeDescriptorContext

An ITypeDescriptorContext that can be used to gain additional context information.

Returns

UITypeEditorEditStyle

A UITypeEditorEditStyle value that indicates the style of editor used by the EditValue(IServiceProvider, object) method. If the UITypeEditor does not support this method, then GetEditStyle() will return None.

GetImageSource(IObservable<IObservable<object>>)

Gets the sequence of images arriving to or from the operator.

protected virtual IObservable<IplImage> GetImageSource(IObservable<IObservable<object>> source)

Parameters

source IObservable<IObservable<object>>

An observable sequence that multicasts notifications from all the active subscriptions to the workflow operator.

Returns

IObservable<IplImage>