Table of Contents

Class RectVisualizer

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

Provides a type visualizer for rectangle parameters. If the input is a sequence of images, the visualizer will overlay each rectangle on top of the original image.

public class RectVisualizer : IplImageVisualizer
Inheritance
DialogMashupVisualizer
RectVisualizer
Inherited Members

Methods

Load(IServiceProvider)

Loads type visualizer resources using the specified service provider.

public override void Load(IServiceProvider provider)

Parameters

provider IServiceProvider

A service provider object which can be used to obtain visualization, runtime inspection, or other editing services.

Show(object)

Updates the type visualizer to display the specified value object.

public override void Show(object value)

Parameters

value object

The value to visualize.

Unload()

Unloads all type visualizer resources.

public override void Unload()

Visualize(IObservable<IObservable<object>>, IServiceProvider)

Creates an observable sequence used to visualize all notifications emitted by a workflow operator, using this type visualizer and the specified service provider.

public override IObservable<object> Visualize(IObservable<IObservable<object>> source, IServiceProvider provider)

Parameters

source IObservable<IObservable<object>>

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

provider IServiceProvider

A service provider object which can be used to obtain visualization, runtime inspection, or other editing services.

Returns

IObservable<object>

An observable sequence where every notification updates the type visualizer object in the UI thread.